mIRC Home    About    Download    Register    News    Help

Print Thread
#101420 24/10/04 04:47 AM
Joined: Sep 2004
Posts: 59
M
MrDoom Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Sep 2004
Posts: 59
hey guys i would like to know if it is possible to write a script that will display a remote script at timed intevals? this is the working remote script that i have.would like it to display every 15 mins if possible.?thanks in advance for any help you guys can provide.

on *1:text:!relax:#my channel name here:{
if ($nick isop $chan) {
msg $chan 4THE LADIES DO NOT NEED TO BE DIRECTED SIT BACK AND RELAX AND BE LUCKY TO SEE WHAT YOU SEE,THEY WILL DO WHAT THEY WANT!DO NOT REQUEST OR DIRECT!

}
}

#101421 24/10/04 04:59 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
on *:text:!relax:#my channel here:{ .timer 0 900 msg #channel 4THE LADIES DO NOT NEED TO BE DIRECTED SIT BACK AND RELAX AND BE LUCKY TO SEE WHAT YOU SEE,THEY WILL DO WHAT THEY WANT!DO NOT REQUEST OR DIRECT! }


New username: hixxy
#101422 24/10/04 05:07 AM
Joined: Sep 2004
Posts: 59
M
MrDoom Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Sep 2004
Posts: 59
and will that make it pop up every 15mins? how do you choose the interval?thanks

#101423 24/10/04 05:28 AM
Joined: Sep 2004
Posts: 59
M
MrDoom Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Sep 2004
Posts: 59
itryed that and it never popped up at all,is there something else i have to do to enable a timer?

#101424 24/10/04 08:52 AM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
You won't see the timer be set because it uses .timer, which prevents the message that the timer has been set being displayed.

Also note, this the timer triggers when someone types !relax. It will not trigger if YOU type it, as you cannot trigger an ON TEXT event yourself. Also make sure that the code is in a new file in Remote, ALT+R > File > New.

Regards,


Mentality/Chris
#101425 24/10/04 10:22 PM
Joined: Sep 2004
Posts: 59
M
MrDoom Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Sep 2004
Posts: 59
ok so i gues i was just not understood in what i was asking.i will try and explain it better for you guys:

what i would like to do is have my bot post this message in my channel every 15mins until monday evening .

on *:text:!*:#my channel name here: {
if ($nick isop $chan) {
if ($$1 == !) { msg $chan
}
elseif ($$1 == !) { msg $chan
}
elseif ($$1 == !allcam) { msg $chan 12ON TUESDAY OCTOBER 26th (my channel name here) WILL BE HAVING A CAM ONLY NIGHT,EVERYONE WHO ENTERS MUST HAVE A NON-PASSWORDED CAM ON,IF YOU DO NOT HAVE A CAM ON YOU WILL BE REMOVED FROM THE ROOM.THIS HAS BEEN A PUBLIC SERVICE MESSAGE!

}
.
.
}


like i said i need that message to be on a timer so it will pop up every 15minutes,without anyone triggering it.i have no idea at all how to set up or start a timer so unfortunetly i will need all info involved to get it to work,and where to place the script once it is on a timer,do i have to move it from my remote section?i am still very new at this but i am starting to get the hang of it..i love this site.so far it has helped me alot,thanks in advance.if anyone needs any more info to be able to help me just ask i will post whatever you need,thanks




Link Copied to Clipboard