Id: 2567; Nick: Jqson; Timestamp: 2007-12-10 14:17:15; Pasted as: mIRC
Description: n/a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  elseif %cmd == setlevel {
    if ($3 < $readini(bot.ini, $chan , $address($nick,1)))(!$readini(bot.ini, $chan , $address($2,1))) && ($readini(bot.ini, userlist, $address($nick, 1)) == 5) || ($readini(bot.ini, $chan , $address($nick, 1)) >= 4) {     
      notice $nick Added $2 to userlist with level: $3
      writeini bot.ini $chan $address($2,1) $3
    }
    elseif (!$readini(bot.ini, $chan , $address($2,1))) {
      notice $nick The user already exists. ( $+ $address($nick,1) $+ ) Please use *access <nick> <level>
    }
    elseif ($3 < $readini(bot.ini, $chan , $address($nick,1))) {
      notice $nick Denied. You can not set another user a higher level than you.
    }
    elseif ($2 !ison $chan) {
      notice $nick info: $2 was not found on $chan
    }
    elseif (!$readini(bot.ini, userlist, $address($nick, 1)) == 5) || (!$readini(bot.ini, $chan , $address($nick), 1) >= 4) {
      notice $nick Access denied.
    }
  }
}
 
Options: New, Download,
, mIRC Parser;
Copyright © 2006 by Zyberdog - Some rights reserved. (Browse/Disclaimer/Stats/About)
Nothing to see here.