Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias onfreenode {
- /slowjoin ##prolog
- ...
- }
- on *:DISCONNECT: {
- /set %nextdelay 10
- echo -a Disconnected from $network on $asctime(dddd mmmm $+(ddoo,$chr(44), yyyy)) at $asctime(hh:mmtt) $+ . Server disconnect reason: $1-
- }
- alias rejoin_favs {
- var %rejoin.network = $iif($1,$1,$network)
- var %a = 1, %b = $ini(mirc.ini,chanfolder,0)
- while %a <= %b {
- var %channel = $readini(mirc.ini,chanfolder,$ini(mirc.ini,chanfolder,%a))
- var %network = $noqt($gettok(%channel,$iif(%aj isnum,-2,-1),44))
- var %channel = $noqt($gettok(%channel,1,44))
- if %network == %rejoin.network && %channel !ischan {
- .timer -m 1 $calc(500 * %a) join %channel
- }
- inc %a
- }
- }
- alias slowjoin {
- echo -a joining $1 in %nextdelay seconds
- inc %nextdelay
- /timer 1 %nextdelay /join $1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement