*/
Made by TGK
\*
menu * {
-
Rejoin when Disconnect
.$iif(%msn.rjwd == on,$style(2)) Turn On : %msn.rjwd = on
.$iif(%msn.rjwd != on,$style(2)) Turn Off : unset %msn.rjwd
}
alias msn.arecon {
if (!$sock(msn.look.main)) || (!$sock(msn.look.comm)) msn.lookcon
elseif (!$gettok(%msn.gochans,1,32)) .timerrecon1 off
else msn $gettok(%msn.gochans,1,32)
}
on me:*:JOIN:#: {
if (%msn.rjwd == on) && (%msn.gochans) {
%msn.gochans = $remove(%msn.gochans,$right($chan,-2))
if ($remove(%msn.gochans,$chr(32)) == $null) unset %msn.gochans
 else msn $iif(G_* iswm $gettok(%msn.gochans,1,32),-c $gettok(%msn.gochans,1,32),$gettok(%msn.gochans,1,32))
}
}
on *:START: unset %msn.gochans
on *:DISCONNECT: {
if (%msn.rjwd == on) {
var %l = 1
while ($scon(%l)) {
scid $ifmatch
if ($scid($ifmatch).status == connected) { break | return }
else var %x = %x $right($chan(1),-2)
scid -r | inc %l
}
%msn.gochans = %x | msn.arecon | .timerrecon1 20 10 msn.arecon
}
}
Thats for Vincula .. if thats not what you use, you can use that as a rough guide for the aliases you need, and some other things. Hope it helps. 