i make this code try it , also have more ways to script better this script but i make this and tested and work perfect!

Code:
alias dj {
  if ($network !== MYNETWORK) .halt
  .var %m = $me
  .var %chans = #chans1,#chans2
  if (*DJ^* iswm %m) { 
    .nick $remove(%m,DJ^)
    if (*DJ^* !iswm $newnick) { .part %chans }
    .halt
  }
  else { 
    .nick DJ^ $+ $me
    if ($newnick !ison %chans) { .join %chans }
  }
}

Last edited by westor; 23/02/09 06:00 AM.

Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-