Id: 2820; Nick: Jqson; Timestamp: 2007-12-16 10:16:38; 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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
elseif %cmd == setlevel {
    if ($readini(stamper.ini, setup, $address($nick, 0)) >= 4) || ($readini(stamper.ini, $chan , $address($nick, 0)) >= 4) {
      if ($2 != $null) {      
        if ($2 ison $chan) {
          if ($3 != $null) {
            if (!$readini(stamper.ini, $chan , $address($2, 0))) {
              notice $nick adding...
              if ($readini(stamper.ini, setup, $address($nick, 0))) || ($3 < $readini(stamper.ini, $chan , $address($nick, 0))) {
                writeini stamper.ini $chan $address($2, 0) $3
                notice $nick successfully added $2 in my database with level $3
              }
              else { 
                notice $nick you are not able to give a higher level than yours to other users.
              }
            }
            else { 
              notice $nick $2 was already found in my database. please use *access <nick> <level>
            }
          }
          else {
            notice $nick error: no level given.
          }
        }
        else {
          notice $nick $2 was not found.
        }
      }
      else {
        notice $nick error: no name given.
      }
    }
    else {
      notice $nick you are not authorized to use this command.
    }
  }
 
Options: New, Download,
, mIRC Parser;
Copyright © 2006 by Zyberdog - Some rights reserved. (Browse/Disclaimer/Stats/About)
Nothing to see here.