|
|
Joined: Feb 2003
Posts: 21
Ameglian cow
|
OP
Ameglian cow
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
|
|
|
|
Joined: Dec 2002
Posts: 204
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 204 |
you might wanna look at on DISCONNECT for this. Something like the code below should work....note....this code is not tested:
on *:DISCONNECT:{
nick the_nick_you_wanna_change_to
}
just change the_nick_you_wanna_change_to to whatever nick it is ya want it to change to when ya get disconnected.
keek: Scots - intr.v. keeked, keekĀ·ing, keeks To peek; peep.
|
|
|
|
Joined: Feb 2003
Posts: 21
Ameglian cow
|
OP
Ameglian cow
Joined: Feb 2003
Posts: 21 |
what do I do with that? Do I put it in a file (? filename.mrc ?) and load it and see if it works?
(I'm not talking about a manual disconnect btw, when I leave the computer, it disconnects and reconnects itself and it rejoins the channels)
|
|
|
|
Joined: Dec 2002
Posts: 204
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 204 |
put it in your remotes. press and hold the ctrl key and punch the r button , this will bring up the mirc editor to your remotes file. when that is open put the code i gave you in, and press OK.
then the next time you get disconnected...NOT quit/exit, but disconnected....your nick will change to whatever y ou put in the code
keek: Scots - intr.v. keeked, keekĀ·ing, keeks To peek; peep.
|
|
|
|
Joined: Dec 2002
Posts: 1,237
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,237 |
First of all no need to post the same question in different places. Second of all my reply is in the other forum. If it works for ya great. Just so that you know...
|
|
|
|
Joined: Feb 2003
Posts: 21
Ameglian cow
|
OP
Ameglian cow
Joined: Feb 2003
Posts: 21 |
Yea, sorry, I put it in the mIRC Help topic and realised I should really have been here, spose I could have deleted/edited it. Thanks for your help - time to test
|
|
|
|
Joined: Dec 2002
Posts: 1,237
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,237 |
|
|
|
|
Joined: Feb 2003
Posts: 21
Ameglian cow
|
OP
Ameglian cow
Joined: Feb 2003
Posts: 21 |
Just a quickie: going by the fact that to do something on the quit occurance, you type something like on *:quit: { blah blah } would I be right in thing that to do something when I get voice, a bit of code like on *:voice: if $nick == MrMagooba { blah blah }
Thanks for any pointers.
|
|
|
|
Joined: Feb 2003
Posts: 21
Ameglian cow
|
OP
Ameglian cow
Joined: Feb 2003
Posts: 21 |
Don't worry about that, I have made it myself, simple! on *:voice:#channelname:{ what to do } any better way of doing it?
|
|
|
|
Joined: Dec 2002
Posts: 1,237
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,237 |
Well what exactly are you trying to accomplish with the "on voice"?
|
|
|
|
Joined: Feb 2003
Posts: 21
Ameglian cow
|
OP
Ameglian cow
Joined: Feb 2003
Posts: 21 |
An addon to get me op's doesn't seem to be working, so this is to get myself op'd straight away { msg Arsebra OP MrMagooba } I suppose I could ad a bit like if $nick == MrMagooba {} but dunno if I will, what you think?
What I will as though, is: How do I select the nick that has been voiced, not the nick that is doing the voicing?
Last edited by mrmagooba; 01/03/03 03:16 AM.
|
|
|
|
Joined: Dec 2002
Posts: 332
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 332 |
|
|
|
|
Joined: Feb 2003
Posts: 21
Ameglian cow
|
OP
Ameglian cow
Joined: Feb 2003
Posts: 21 |
I found that out after looking at the mIRC FAQ, and it works. Thanks anyways.
|
|
|
|
|
|