Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
only run a certain task within a certain time
Forums
Active Threads
Search
Who's Online
Help
Print Thread
only run a certain task within a certain time
#
132568
11/10/05
10:07 PM
L
latumus
latumus
L
i want to have a script only run a task if the even that triggers it is between 20:00 and 09:00
anyone have any suggestions?
Copy Link to Clipboard
Re: only run a certain task within a certain time
#
132569
11/10/05
10:11 PM
Joined:
Sep 2005
Posts: 2,630
H
hixxy
Hoopy frood
hixxy
Hoopy frood
H
Joined:
Sep 2005
Posts: 2,630
Code:
if ($time(HHnn) isnum 900-2000) { dostuff }
Copy Link to Clipboard
Re: only run a certain task within a certain time
#
132570
12/10/05
11:32 AM
D
DaveC
DaveC
D
if ($time(HHnnss) !isnum 090001-195959) { dostuff }
PS : leading 0 on 9:00:01 was just because the HHnnss is that format its not needed
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage