on 400:Text:*addop*:#: { if ($1 == %c $+ addop) { if ($2 == $null) { .msg $nick Command incomplete. Syntax: %c $+ addop | halt } if ($2 !== $null) { if ($2 == $me) { .msg $nick I will not add myself. | halt } if ($readini(ini\oper.ini, $2, Level) !== $null) { .msg $nick User already exists in my userlist at $readini(ini\oper.ini, $2, Level) $+ . | halt } if ($comchan($2,0) == 0) { .msg $nick $2 is not on any of my channels. To add a user you must bring him to a channel were I am too. | halt } else { writeini -n ini\oper.ini $2 Level Operator writeini -n ini\oper.ini $2 Num 100 writeini -n ini\oper.ini $2 Hostmask $address($2,2) write ini\oplines.txt $2 .guser 100 $2 2 .msg $nick Added $2 to my userlist at level 100 (Operator). .msg $2 You are now a HelpOp on DropYourNet. .msg $2 You must set a password to login when the bot doesn't recognize your host. To set this type /msg $me setpass . } } } }