On Nick event problem - 20/11/05 05:24 AM
i made this,
on *:nick:{
if ($newnick == MyNick) { unload -rs $mircdirRemotes\IsLndBot1.mrc | unload -rs $mircdirRemotes\IsLndBot2.mrc | unload -rs $mircdirRemotes\IsLndBot3.mrc | unload -rs $mircdirRemotes\IsLndBot4.mrc | unload -rs $mircdirRemotes\IsLndBot5.mrc }
if ($newnick == MyBotNick) { load -rs $mircdirRemotes\IsLndBot1.mrc | load -rs $mircdirRemotes\IsLndBot2.mrc | load -rs $mircdirremotes\IsLndBot3.mrc | load -rs $mircdirremotes\IsLndBot4.mrc | load -rs $mircdirremotes\IsLndBot5.mrc }
{ else notice $newnick 4I see you change from 11.:11.:12 $nick :11.:11. 4to 11.:11.:12 $newnick :11.:11. }
}
it works fine with me but when i try to change my nick to different nick other than those other two it gives me the else line too notice $newnick 4I see you change from 11.:11.:12 $nick :11.:11. 4to 11.:11.:12 $newnick :11.:11.
how can i make that line triggered only for others but not for me and those other two nick i put in there?
on *:nick:{
if ($newnick == MyNick) { unload -rs $mircdirRemotes\IsLndBot1.mrc | unload -rs $mircdirRemotes\IsLndBot2.mrc | unload -rs $mircdirRemotes\IsLndBot3.mrc | unload -rs $mircdirRemotes\IsLndBot4.mrc | unload -rs $mircdirRemotes\IsLndBot5.mrc }
if ($newnick == MyBotNick) { load -rs $mircdirRemotes\IsLndBot1.mrc | load -rs $mircdirRemotes\IsLndBot2.mrc | load -rs $mircdirremotes\IsLndBot3.mrc | load -rs $mircdirremotes\IsLndBot4.mrc | load -rs $mircdirremotes\IsLndBot5.mrc }
{ else notice $newnick 4I see you change from 11.:11.:12 $nick :11.:11. 4to 11.:11.:12 $newnick :11.:11. }
}
it works fine with me but when i try to change my nick to different nick other than those other two it gives me the else line too notice $newnick 4I see you change from 11.:11.:12 $nick :11.:11. 4to 11.:11.:12 $newnick :11.:11.
how can i make that line triggered only for others but not for me and those other two nick i put in there?