mIRC Homepage
Posted By: crazy0ne auto unban abd rejoin - 18/12/05 11:06 PM
on *:text:*-o Crazy0ne*:#:{ /msg chanserv op #}
on *:DEOP:#:if ($me isin $1-){ /msg chanserv op $chan}
on *:KICK:#:if ($me isin $1-) { /msg chanserv unban #channel | /timer1 1 3 /j #channel }

it works fine on deop, but when i am kickbanned it doesnt seem to want to unban me then rejoin, please help.

Thanks,
Crazy0ne
Posted By: RusselB Re: auto unban abd rejoin - 18/12/05 11:10 PM
You're using the wrong event. Remove the ON TEXT event and use ON BAN instead

/help ON BAN
Posted By: crazy0ne Re: auto unban abd rejoin - 18/12/05 11:13 PM
on *:BAN:#:if ($me isin $1-) { /msg chanserv unban #channel | /timer1 1 3 /j #channel }

so something like that?
Posted By: RusselB Re: auto unban abd rejoin - 18/12/05 11:22 PM
Code:
on *:ban:#:{
 if ($bnick == $me) || ($banmask iswm $address($me,5)) {
 /msg chanserv unban #channel
 timer 1 3 /j #channel
 }
}
  

Posted By: crazy0ne Re: auto unban abd rejoin - 18/12/05 11:41 PM
hmm still aint working frown
Posted By: Confuzzled Re: auto unban abd rejoin - 19/12/05 12:17 AM
aren't you suppose to have

/msg chanserv unban #channel

as

Code:
on *:ban:#: if ($bnick == $me) { [color:red]/msg chanserv unban #channel me/all/mask[/color] | /timer1 1 3 /j #channel }
?
Posted By: RusselB Re: auto unban abd rejoin - 19/12/05 12:18 AM
Try the edited code. If it still doesn't work, ensure that you have the unban command for chanserv formatted correctly.
© mIRC Discussion Forums