A very good friend of mine wrote this script for me, so all credit goes to him! This is not a revenge script but much more useful. The purpose of this script is to check every 10 seconds if a ban against you has been lifted on a particular channel. Once the ban has been lifted, all timers halt, and you will be auto joined to said channel. This is most useful if you're AFK and can't manually rejoin a channel after being (accidentially) kick/banned.
raw 474:*: {
if ( !$timer($2) ) {
;echo -e * Will attempt to rejoin $2 in 10s...
.timerunban [ $+ [ $2 ] ] 1 10 sf.join $2
}
else {
;echo -e * Still banned from $2 $+ , retrying in 10s... ("/timer [ $+ [ $2 ] ]" off to stop)
haltdef
}
}
alias sf.join {
;echo -ase * Attempting to rejoin $1 (banned...)
join $1
}