mIRC Home    About    Download    Register    News    Help

Print Thread
#215718 03/10/09 04:00 AM
Joined: Mar 2008
Posts: 31
M
maSeeha Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Mar 2008
Posts: 31
[b]Hello All Great Scripters..

I have a Problem i have a AUTO PROTECTION BOT at Chatspace.

I want a Script like if a user who is added in bot at 250 Level give Command !am Nickname then My Bot automatically perform a coomand /services mem #chanel add Nick
same if we give command !ram nickname then my bot automatically perform a command /services mem #chanel del nickname

and if we give command !kline NIck/IP then bot automatically perform command /kline Nick/IP

Waiting for reply. :S

Maseeha
[/b]

maSeeha #215720 03/10/09 05:00 AM
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156

DJ_Sol #215726 03/10/09 11:07 AM
Joined: Mar 2008
Posts: 31
M
maSeeha Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Mar 2008
Posts: 31
i think u didnt get my point

let me tell u. in miRc there is User List. by where we can manually give levels to users. so i wana do this that if nick is added on Level 500 like 500:maseeha

then if it gives comman !kline 255.255.255.* then Bot automatically Perform command /kline 255.255.255.*
and if that user types !addsop maseeha then it automatically perform /services aop #cr add maseeha

its my point and ur provided script is not working . let me give you an example here


if ($1 == !kick) && (($nick isop #) || ($level($address($nick,9)) >= 100) || ($nick isvoice #)) && (($2 !isop #) && ($2 !isvoice #) && ($level($2) < 250)) {
kick # $2 12Reason:4 $3- 12Issued By:4 $nick  }
if ($1 == !unban) && (($nick isop #) || ($level($address($nick,9)) >= 100) || ($nick isvoice #)) && (($2 !isop #) && ($2 !isvoice #) && ($level($2) < 250)) {
mode # -b $2 }


Link Copied to Clipboard