mIRC Home    About    Download    Register    News    Help

Print Thread
#86965 15/06/04 01:31 PM
Joined: Jun 2004
Posts: 1
M
Mostly harmless
OP Offline
Mostly harmless
M
Joined: Jun 2004
Posts: 1
Well, i want to private message to my bot
./msg kzmaps-bot ban "nick" "reason" "time" and
./msg kzmaps-bot "kick" "nick" "reason"
and the bot to do this operations...

time in minutes
my chan is #kzmaps
any help plz?

#86966 15/06/04 05:00 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Code:
on [color:red]*[/color]:TEXT:*:?: {
 if ($1 == ban) { ban -u $+ $4 [color:blue]#[/color] $2 }
 elseif ($1 == kick) { kick [color:blue]#[/color] $2 $3- }
}
This should work. Just replace the * for the userlevel you have on the bot; and # for the channel you want.

There is no reason when you set a ban (just in kicks).

Hope this helps!
Zyzzy smile

Last edited by Zyzzyx26; 15/06/04 05:02 PM.

"All we are saying is give peace a chance" -- John Lennon

Link Copied to Clipboard