Id: 2833; Nick: Jqson; Timestamp: 2007-12-16 18:20:07; 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
 elseif %cmd == remuser {
    if (!$ial($2)) { 
      notice $nick $2 is not in ial
      return 
    }
    var %lvl = $iif($readini(stamper.ini,setup,$address($nick,0)),$v1,0) , %lvl2 = $iif($readini(stamper.ini,setup,$address($2,0)),$v1,0)
    var %lvl3 = $iif($readini(stamper.ini,$chan,$address($nick, 0)),$v1,0) , %lvl4 = $iif($readini(stamper.ini,$chan,$address($2,0)),$v1,0)
    if (%lvl < 4) || (%lvl3 < 4) { 
      notice $nick you are not authorized to use this command 
      return
    }
    if (%lvl2) || (%lvl4) {
      notice $nick $+(',$2,') wasn't found 
      return 
    }
    if (%lvl4 > %lvl) && (!%lvl2) {
      notice $nick You can't remove someone with a higher level than yours 
      return 
    }
    if (%lvl4 < %lvl) || (%lvl2) {
      remini stamper.ini $chan $address($2,0)
      notice $nick $+(',$2,') has been removed
    }
  }
 
Options: New, Download,
, mIRC Parser;
Copyright © 2006 by Zyberdog - Some rights reserved. (Browse/Disclaimer/Stats/About)
Nothing to see here.