mIRC Home    About    Download    Register    News    Help

Print Thread
#55657 18/10/03 01:11 AM
Joined: Sep 2003
Posts: 122
Gar Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2003
Posts: 122
if I wanted a script to say

Why the nick change?

when ever a person changed their nick?

#55658 18/10/03 01:16 AM
Joined: Feb 2003
Posts: 31
S
Ameglian cow
Offline
Ameglian cow
S
Joined: Feb 2003
Posts: 31
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

#55659 18/10/03 01:31 AM
Joined: Sep 2003
Posts: 122
Gar Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2003
Posts: 122
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?

#55660 18/10/03 01:32 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
simple ..... $chan isnt available in nick events .. use $comchan


D3m0nnet.com
#55661 18/10/03 01:36 AM
Joined: Feb 2003
Posts: 31
S
Ameglian cow
Offline
Ameglian cow
S
Joined: Feb 2003
Posts: 31
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

#55662 18/10/03 01:52 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
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


D3m0nnet.com
#55663 18/10/03 04:42 AM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
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




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
#55664 18/10/03 08:02 AM
Joined: Oct 2003
Posts: 9
S
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
S
Joined: Oct 2003
Posts: 9
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


You Make Me Sick I Make Music
#55665 18/10/03 09:04 PM
Joined: Sep 2003
Posts: 122
Gar Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2003
Posts: 122
you guys spoil all my fun frown lol

#55666 18/10/03 11:05 PM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
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.


D3m0nnet.com

Link Copied to Clipboard