mIRC Home    About    Download    Register    News    Help

Print Thread
#83026 15/05/04 05:15 AM
B
bogger1044
bogger1044
B
any one have a bot that that moderate a channel

#83027 15/05/04 06:16 AM
Joined: Jan 2004
Posts: 129
A
Vogon poet
Offline
Vogon poet
A
Joined: Jan 2004
Posts: 129
Put this in the bot's remote

on *:text:!moderate on:#: {
opchk
/mode $chan +m
/msg $chan Moderate for # enabled
}

Put the next line in Aliases to prevent using this command by others then Ops

opchk { if ($me !isop $active) {
echo -a Sorry, You're not a Ops
halt
}
}


simple and working.

Last edited by AaronL; 15/05/04 06:23 AM.
#83028 15/05/04 06:46 AM
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
I guess you mean:

opchk { if ($nick !isop $active) {
.msg $nick Sorry, You're not a Op in $chan.
halt
}
}

#83029 15/05/04 08:25 AM
Joined: Jan 2004
Posts: 129
A
Vogon poet
Offline
Vogon poet
A
Joined: Jan 2004
Posts: 129
eh. yep. you're right.


Link Copied to Clipboard