napa182 commented on a Page, Anti Bad Words Kick  -  Jan 05, 2009

hmm maybe add so it will only work on channels you want it to.

Maybe instead of useing this

dialog -m BwordKick BwordKick

you can use this so you wont get an error

dialog $iif($dialog(BwordKick),-v,-md) BwordKick BwordKick

also if you have no txt file named badwords.txt it will give an error when you open the dialog

so you may want to add a check if the file is there so instead of

loadbuf -ro BwordKick 1 badwords.txt

you can do

if ($file(badwords.txt)) { loadbuf -ro BwordKick 1 badwords.txt }

but keep up the coding 4/10

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.