badchan system please - 01/05/20 06:53 PM
Looking to reduce strain on operserv with forbid channels and have a script running on my bot where i can add / remove / view channels via dialogue (preferable) or via command and when #services announces a user joining a matching channel it will os kick channel user reason and then message #op channel that user was removed from said channel.
if possible.. i would like ops in the named #ops channel to be able to !add #channel , !view badchan, !del badchan also.
Update..... with thanks for some hints from some friends i have cobbled together the following
it is echoing correctly and no errors..
now.. the next part is beyond me.. which is my original question.. I just have got a working part for now.
if possible.. i would like ops in the named #ops channel to be able to !add #channel , !view badchan, !del badchan also.
Update..... with thanks for some hints from some friends i have cobbled together the following
Code
on ^*:text:*:#: { if (($network == xx) && ($chan == #services) && ($nick == ChanServ)) { if (*join #* iswm $1-) { echo -s $gettok($2,1,33) - $4 ;os kick $5 $2 derp var %ty = #chan1 #chan2 #chan3 if ($4 isin %ty) echo -s this would now os kick $gettok($2,1,33) from $4 } } }
it is echoing correctly and no errors..
now.. the next part is beyond me.. which is my original question.. I just have got a working part for now.