How could you reop yourself if you were just deopped??

For the rejoin if banned situation, just add this to your remotes (it's a simple lil script I wrote):

Code:
 on *:BAN:#:{ if ($bnick == $me) { .timerbanned $+ $chan 1 5 rejoin2 $chan } }
alias rejoin2 { if (($nick($1,0) != $null || 0) || ($2 == off))  { .timerrejoin2 $+ $1 off | halt } | else { .timerrejoin2 $+ $1 0 20 rejoin2 $1 } | join $$1 } 


type this in any window (if you've been banned already and want to turn it on):

/rejoin2 #TheChannel

Note: This will make you try to auto-rejoin a channel 5 seconds after being banned (it assumes that you've been kicked as well within a 5 second time-period), and then will try to rejoin the channel every 20 seconds till it is successful. smile If you are banned, and then kicked 6 or more seconds later, it will not try to rejoin the channel. If this happens, just type "/rejoin2 #thechannel" to activate it

To stop trying to rejoin a channel type: /rejoin2 #thechannel off


- Wherever you go there you are.[color:lightgreen]