mIRC Homepage
Posted By: brad2 Nick script... - 20/05/03 09:51 PM
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!
Posted By: Othello Re: Nick script... - 21/05/03 02:17 AM
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
Posted By: brad2 Re: Nick script... - 21/05/03 03:26 AM
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.
Posted By: Watchdog Re: Nick script... - 21/05/03 03:44 AM
Use some random numbers as a suffix for the alternate nick.
Posted By: KingTomato Re: Nick script... - 21/05/03 04:04 AM
on 1:CONNECT: {
set %myname brad
}

raw 433:*: {
/set %myname $+(%myname,`)
if ($count(%myname, `) >= 5) /nick brad $+ $rand(1,999)
else /nick %myname
}
Posted By: FunChatter Re: Nick script... - 21/05/03 01:00 PM
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 }
Posted By: ScatMan Re: Nick script... - 21/05/03 02:06 PM
that's UNOTIFY not UNNOTIFY
Posted By: FunChatter Re: Nick script... - 21/05/03 06:07 PM
Right... sorry typo... I'm getting old :P
Posted By: brad2 Re: Nick script... - 22/05/03 03:34 PM
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 ```.

???
Posted By: brad2 Re: Nick script... - 24/05/03 11:16 PM
???
© mIRC Discussion Forums