mIRC Home    About    Download    Register    News    Help

Print Thread
change nickname #179058 17/06/07 03:24 PM
Joined: May 2005
Posts: 54
M
Mlupu Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: May 2005
Posts: 54
i have this code made by Cris, and it not works very well:
Code:
on ^&*:NICK:{  
  haltdef
  echo $color(nick) $comchan($newnick,1) $timestamp * $nick isi schimba nick-ul in $newnick
}

The result of this code apper in STATUS. Why ?
I want to apper in $comchan . And it don't works.
Can you help me ?


/server IRC.RomaniaIRC.ORG
Re: change nickname [Re: Mlupu] #179059 17/06/07 03:29 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
on ^&*:NICK:{  
  haltdef
  var %x = 1
  while (%x <= $comchan($newnick,0)) {
    echo $color(nick) $comchan($newnick,%x) $timestamp * $nick isi schimba nick-ul in $newnick
    inc %x
  }
}

Re: change nickname [Re: SladeKraven] #179061 17/06/07 03:35 PM
Joined: May 2005
Posts: 54
M
Mlupu Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: May 2005
Posts: 54
Tanks Slade smile


/server IRC.RomaniaIRC.ORG