Me Hotur Not Posted June 12, 2007 Report Share Posted June 12, 2007 Sorry to be a pain How would I do this. I have several punishments on my channel for disruptive members such as mutes. I want to do the following. If <nick> enters #chan -v them, and if someone +v them, i want my bot to -v them and say in the whole channel, <nick> has been muted temporarily from a recieved abuse report. Do not Voice them! Link to comment Share on other sites More sharing options...
Jonny1 Posted June 13, 2007 Report Share Posted June 13, 2007 Sorry to be a pain How would I do this. I have several punishments on my channel for disruptive members such as mutes. I want to do the following. If <nick> enters #chan -v them, and if someone +v them, i want my bot to -v them and say in the whole channel, <nick> has been muted temporarily from a recieved abuse report. Do not Voice them! been a while since I made any scripts and not tested but this should work: on *:join:#: { if ($nick != $me) { if ($nick isvoice $chan) { mode $chan -v $nick } } } on *:voice:#: { if ($nick == $me) { halt } mode $chan -v $nick msg $chan $nick has been muted temporarily from a received abuse report. Do not Voice them! } someone please correct me if Im wrong. Link to comment Share on other sites More sharing options...
Guest X-Fusion Posted June 13, 2007 Report Share Posted June 13, 2007 From now on, post similiar requests under the topic you posted earlier. TY. Link to comment Share on other sites More sharing options...
Entox|cated Posted July 15, 2007 Report Share Posted July 15, 2007 it's not wrong, but no need for:- " if ($nick != $me) { " on *!@:JOIN:#:{ if ($nick isvoice #) { .raw mode # -v $nick } } on *!@:VOICE:#:{ .raw mode # -v $nick msg # $nick has been muted, please contact $mnick for more information. } putting the !@ is like having on *:JOIN:#:{ if ($mnick isop #) && ($nick != $mnick) { } } hope this helps Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now