mIRC Home    About    Download    Register    News    Help

Print Thread
Nick script... #25264 20/05/03 09:51 PM
Joined: Feb 2003
Posts: 48
B
brad2 Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Feb 2003
Posts: 48
I need help. Trying to make a script for nick on Undernet..since there is no NickServ there...

When I join, I need a script that will change my name to Brad. And if Brad is not available, change it to Brad`. And if that is not available, change it to Brad``., etc.

I sort of figured it out, but the way I did it, it just kept changing my name...like if Brad was available, it would change it to Brad, but then it would change it to Brad`, then to Brad``.

HELP ME!

Re: Nick script... #25265 21/05/03 02:17 AM
Joined: Dec 2002
Posts: 417
O
Othello Offline
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
Why don't you just set up your mian nick for Brad and your alterative nick to Brad``if one is in use then mirc will change it to the alterative nick. You can do this in mirc Options\Connect




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
Re: Nick script... #25266 21/05/03 03:26 AM
Joined: Feb 2003
Posts: 48
B
brad2 Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Feb 2003
Posts: 48
Well, I have different nicks on different servers for one thing...

I just don't like having a whole bunch of `s at the end of my nick, so i try for few as possible...

A lot of the time, Brad is taken, and Brad` is taken, and sometimes Brad` is taken.

Re: Nick script... #25267 21/05/03 03:44 AM
Joined: Dec 2002
Posts: 2,985
Watchdog Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Use some random numbers as a suffix for the alternate nick.

Re: Nick script... #25268 21/05/03 04:04 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
on 1:CONNECT: {
set %myname brad
}

raw 433:*: {
/set %myname $+(%myname,`)
if ($count(%myname, `) >= 5) /nick brad $+ $rand(1,999)
else /nick %myname
}


-KingTomato
Re: Nick script... #25269 21/05/03 01:00 PM
Joined: Dec 2002
Posts: 339
F
FunChatter Offline
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339
What you could also do to make your scripty better is to add an on unnotify event... and have the nick Brad in notify and when it goes offline you get it smile
would go something like this...

on *:UNNOTIFY:{ if ($nick == Brad) && ($me != Brad) { /Nick Brad }

Re: Nick script... #25270 21/05/03 02:06 PM
Joined: May 2003
Posts: 730
S
ScatMan Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
that's UNOTIFY not UNNOTIFY

Re: Nick script... #25271 21/05/03 06:07 PM
Joined: Dec 2002
Posts: 339
F
FunChatter Offline
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339
Right... sorry typo... I'm getting old :P

Re: Nick script... #25272 22/05/03 03:34 PM
Joined: Feb 2003
Posts: 48
B
brad2 Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Feb 2003
Posts: 48
on 1:CONNECT: {
set %myname brad
}

raw 433:*: {
/set %myname $+(%myname,`)
if ($count(%myname, `) >= 5) /nick brad $+ $rand(1,999)
else /nick %myname
}


With that, it changes my nick to just `, or ``, or ```.

???

Re: Nick script... #25273 24/05/03 11:16 PM
Joined: Feb 2003
Posts: 48
B
brad2 Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Feb 2003
Posts: 48
???