set $bans_count 0 foreach bans [banlist $chan] { # can use -nocase option below if you wish case to be irrelevant if {[string equal -- [lindex [split $bans] 5] [lindex [split $text] 0]]} { set $bans_count [expr $bans_count + 1] } } if {$bans_count > 0} { puthelp "NOTICE $nick :Handle \002[lind...
Forgot about the + in $mode. So that's fixed. And I'm fully aware that MODE only sends 1 mode through which is why I used pushmode. pushmode <channel> <mode> [arg] Description: sends out a channel mode change (ex: pushmode #lame +o goober) through the bot's queuing system. All the mode changes will ...
A simple and dynamic form of this script would be: Use ".chanset #channel remove-modes mir" to make the bot remove +mir after <so many> seconds. setudef str remove-modes bind MODE -|- "% +*" check:mode proc check:mode {nickname hostname handle channel mode target} { if {[set remm...
That's because eggdrops rejoin their own channels the moment it notices it has parted. setudef flag mycycle bind time - "00 * * * *" my:cycle bind time - "15 * * * *" my:cycle bind time - "30 * * * *" my:cycle bind time - "45 * * * *" my:cycle proc my:cycle {m...