mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2007
Posts: 91
S
spermis Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Feb 2007
Posts: 91
Hello.
I cant think a way to make a way, that will prevent peoples from using commands. I need that they can use the text command only from 16:00 till 22:00, how to do that?

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Code:
if ($time(HH) >= 16) && ($time(HH) < 22)

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Code:
if ($time(HH) isnum 16-21) <do stuff>

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Silly hixxy. ;P I thought about doing that an hour or so after I posted, but couldn't be bothered to change my post since I figured he wouldn't see it anymore. wink


Link Copied to Clipboard