hi. i have a small script, a few lines of code that automatically kick clones and guest nicks as soon as they join my channel. i was wonderin if someone could help me convert it to a tcl so i can load it onto my eggy. thanks
In eggdrop, we use the 'bind' command instead of 'on'. Check tcl-commands.doc for different bind types -- you need the 'join' bind.
Next, the 'maskhost' command will give you a mask in the form *!ident@*.domain.com.
Then get the channel list with 'chanlist' and cycle through it, getting each host with 'getchanhost' and matching it with 'string match'. You can use 'isop', 'ishalfop', and 'isvoice' to check if the matched nicks have those flags.