Code: Select all
proc remove:bans {} {
foreach bans [chanbans #channel] {
pushmode "#channel" "-b" "[lindex $bans 0]"
}
timer 20 remove:bans
}
if {![regexp remove:bans [timers]]} {
timer 20 remove:bans
}
![Razz :P](./images/smilies/icon_razz.gif)
Code: Select all
proc remove:bans {} {
foreach bans [chanbans #channel] {
pushmode "#channel" "-b" "[lindex $bans 0]"
}
timer 20 remove:bans
}
if {![regexp remove:bans [timers]]} {
timer 20 remove:bans
}
Code: Select all
bind join - * join:mainnick
proc join:mainnick {nick host hand chan} {
if {[string equal -nocase "MAINNICK" "$nick"]} {
putserv "privmsg $nick :ARG1 ARG2"
}
}
Code: Select all
set host "[split ~xxmcx@egghelp.org @]"
set userident "[lindex $host 0]"
set userhost "[lindex $host 1]"