mIRC Home    About    Download    Register    News    Help

Print Thread
#170092 03/02/07 01:17 AM
Joined: Jan 2007
Posts: 18
K
Pikka bird
OP Offline
Pikka bird
K
Joined: Jan 2007
Posts: 18
It is possible to do: a script to auto check every (x) time if the (x) nick is register (if it is, or is token by other user no reply in channel,status,etc) if not register, token by other user, to auto execute the /nick newnick

Thank a lot

kitsaras #170093 03/02/07 02:12 AM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
This may be what you are after:

Code:
on *:connect: {
  .timerNickCheck 0 30 NickCheck
}

alias NickCheck {
  var %NickCheck = NICK_YOU_WANT
  if ($me != %NickCheck) {
    nick %NickCheck
  }
}

on *:nick: {
  if ($nick == $me) {
    .timerNickCheck off
  }
}

RAW 433:*: halt


Every 30 seconds, that will try to regain the nick that you chose. Just replace NICK_YOU_WANT with the nick you want to always use. You won't see any messages or errors with this script. It will just change your nick after you connect when it is able to. Note that it will stop trying if you use the /nick command.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard