mIRC Home    About    Download    Register    News    Help

Print Thread
Help on this .. #78465 08/04/04 08:01 AM
Joined: Jan 2003
Posts: 48
O
oSaYaP Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jan 2003
Posts: 48
Is it possible to make a code that at specific time desactivate or activate another code ?
an: //unload -rs script1.mrc at 5:00am and activate the code at 5:00pm
thanks smile


-= Porque pese a todo Dios .. an te tengo f =-
Re: Help on this .. #78466 08/04/04 09:39 AM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
On *:start:{
activateRemote
}

alias activateRemote {
reload -rs script.mrc
.timerREMOTE 5:00 1 60 deactivateRemote
}

alias deactivateRemote {
unload -rs script.mrc
.timerREMOTE 17:00 1 60 activateRemote
}

Re: Help on this .. #78467 09/04/04 01:05 AM
Joined: Nov 2003
Posts: 67
C
Canario Offline
Babel fish
Offline
Babel fish
C
Joined: Nov 2003
Posts: 67
you probe this with groups? :P


irc.universochat.net
#escripting
Re: Help on this .. #78468 09/04/04 05:58 AM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Works with groups too:

On *:start: activateRemote

alias activateRemote {
.enable #code
.timerREMOTE 5:00 1 60 deactivateRemote
}
alias deactivateRemote {
.disable #code
.timerREMOTE 17:00 1 60 activateRemote
}

#code off
...
...
#code end