mIRC Home    About    Download    Register    News    Help

Print Thread
#3379 24/12/02 07:43 PM
Joined: Dec 2002
Posts: 174
P
Vogon poet
OP Offline
Vogon poet
P
Joined: Dec 2002
Posts: 174
thats an alias and it wont work
its supposed to check every 60 seconds to see if the nick is Ms_7-11 and if it isnt change it back to Ms_7-11
can anyone figure out what the deal is?

/time-check-nick {
if ($me == Ms_7-11) goto one
else goto two
blushne
timer1 0 60 goto fc3
halt
:two
nick Ms_7-11 | /nickserv identify %password
goto one
halt
:fc3
if ($me != Ms_7-11) goto two
halt
}

#3380 24/12/02 08:17 PM
Joined: Dec 2002
Posts: 164
M
Vogon poet
Offline
Vogon poet
M
Joined: Dec 2002
Posts: 164
Instead using a timer, use /NOTIFY and the ON UNOTIFY event:


Code:
ON 1:START: { 
  notify on
  notify Ms_7-11
}
ON 1:UNOTIFY: { 
  IF ($me != Ms_7-11) { nick Ms_7-11 }
}  


DALnet: #HelpDesk, #mIRC, #MISHScript - Undernet: #mIRC, #mIRC-Scripts
#3381 25/12/02 12:09 AM
Joined: Dec 2002
Posts: 10
M
Pikka bird
Offline
Pikka bird
M
Joined: Dec 2002
Posts: 10
Code:
 on *:start:{ .timercheck 0 60 if ($me != Ms_7-11) { nick Ms_7-11 } } 
 


--------------

~ Malevolyn - Script Guru
Current Projects:
BadCRC IRC 2002-2003
concepts

Link Copied to Clipboard