mIRC Home    About    Download    Register    News    Help

Print Thread
#13478 27/02/03 11:40 PM
Joined: Feb 2003
Posts: 21
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Feb 2003
Posts: 21
I reconnect when I am disconnected from my server(isp), which means I have to wait for my nick to time out, then the timer to change my nick back.
I was wondering if anyone new how to make a script, or if it was possible, so that when my main nick has quit, my nick is changed straight away, kind like:
When
MrMagooba = Quit
/nick MrMagooba
Loop howerver long (1000??).
(I don't know how to make scripts for mIRC yet)
But that relies on the quit for mrmagooba beign recognised.
So if it isn't, is there a way to add a bit of code to the Quit message that would either change my nick back as soon as it has quit (ping timeout or whatever) or to set a state or something that the loop will pick up and issue the command in mIRC to change my nick.

Thanks for any help

#13479 28/02/03 05:01 AM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
Well all i could come up with was this

on *1:Quit:#Channel Name Here: if ($nick == MrMagooba) | /nick MrMagooba
}

But if you have channel services you may have to add more commands to identify to them or do it manually however works for you.

This worked for me so I hope this helps

#13480 28/02/03 07:15 AM
Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
Channel is used in a quit event

on *:quit: if $nick == MrMagooba { nick MrMagooba }

#13481 28/02/03 07:19 AM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
If it works im not picky about it LOL

#13482 28/02/03 07:32 AM
Joined: Dec 2002
Posts: 843
P
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 843
You already sorta asked that question here and I sorta answered it! Slightly differently but it should still work, it's going to give you the same result. smile


Never compare yourself to others - they're more screwed up than you think.
#13483 28/02/03 02:35 PM
Joined: Feb 2003
Posts: 21
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Feb 2003
Posts: 21
Sorry for the double post, I posted it here, then realised it would be better placed in the other

Thanks for your help, time for testing smile


Link Copied to Clipboard