mIRC Homepage
Posted By: Gar What would I use... - 18/10/03 01:11 AM
if I wanted a script to say

Why the nick change?

when ever a person changed their nick?
Posted By: Syperus Re: What would I use... - 18/10/03 01:16 AM
on *:nick: { msg $chan Why the nick change? }

Thats just a very basic one. You can use $nick for the origional nick and $newnick for the nick the person changes to

/help on Nick
Posted By: Gar Re: What would I use... - 18/10/03 01:31 AM
okay when I tried that, I got in the status window:

* Your nick is now Gararion
-
-> *Why* the nick change?
-
Why No such nick/channel

Why is that? I didn't want it to message the persons status window, wanted to message the person in the channel it hapened. Can it work for multiple channels?
Posted By: _D3m0n_ Re: What would I use... - 18/10/03 01:32 AM
simple ..... $chan isnt available in nick events .. use $comchan
Posted By: Syperus Re: What would I use... - 18/10/03 01:36 AM
oops sorry, didn't know you couldn't use $chan on nick events. I guess i should go back thru and read thru the help file again
Posted By: _D3m0n_ Re: What would I use... - 18/10/03 01:52 AM
Code:
on *:nick: {
  var %n = 1
  while ($comchan($newnick,%n)) {
    msg $comchan($newnick,%n) hey $newnick what was wrong with $nick???
    inc %n
  }
}


something like that should do the trick
Posted By: Othello Re: What would I use... - 18/10/03 04:42 AM
I would suggest to make the MSG COMCHAN to NOTICE NICK
I ban more people of posting useless information into my channel when a discussion is going on. By posing it in a notice. Then the msg is sent to the intended person then anoying a channel. Its find if you only stay in your channel. But what about the times you are not in your channel? grin
Posted By: sabotage Re: What would I use... - 18/10/03 08:02 AM
Many many users change nick when they go away or when they change moods like this:

sabotage
saboAway
sabo|sad

Would you bother everyone that changes nick? grin
Posted By: Gar Re: What would I use... - 18/10/03 09:04 PM
you guys spoil all my fun frown lol
Posted By: _D3m0n_ Re: What would I use... - 18/10/03 11:05 PM
true but i figured i wasnt going to worry about his chat channel personal problems to infact fix someone elses code. so i didnt really worry about it.
© mIRC Discussion Forums