and you really shouldn't be using [putquick], use [puthelp] instead; that will decrease the chance your bot to be disconnected because of exceeding SendQ
Instead of if {(([lsearch -exact [string tolower $onjoin_chans] [string tolower $chan]] != -1) I'd go for a 'string match -nocase'. Either consult the manual or Search the forum.
Once the game is over, the king and the pawn go back in the same box.
what's stopping you from adding it yourself?? you stated that you spent an hour scripting, so you must be able to help yourself with that
and there isn't an issue with speed here (it doesn't matter whether your targeted ads reach theit destination 3 or 5 or 7 seconds after being sent), there is a potential issue with exceeding server output quota
come on, you managed to come up with a much more complicated if construct; all you've got do is to add that simple check in the beginning of each pub trigger proc