How do i use time in skript? (Temporary timed whitelist)

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Status
Not open for further replies.

AidenKing

New Member
Feb 5, 2022
5
0
1
Server Version: Paper-406 (MC:1.17.1)
Skript Version: 2.6 Addons: skDragon v0.17.5 skRayFall v1.9.26 SkQuery v4.1.4

I want to have a timed whitelist skript for my server for multiple reasons please dont question it
if someone could help me that would be nice im also new to this forum thingy.

Code:
every 2 minutes:
(tab)set {TIME} to IRL EST TIMEZONE

#

every 5 minutes:
(tab)if {TIME} is 10:31PM-more:
(tab)(tab)execute console command "stop"

#

on start:
(tab)if {TIME} is 2-30PM-10:30PM:
(tab)(tab)cancel trigger
(tab)if else:
(tab)(tab)wait 3 seconds
(tab)execute console command "stop"
 
#

#I also want a command that can is not linked to {TIME}
#And lets you disable/enable shutdown if your op

#

If {TIME} is 6:30PM:
(Tab)execute console command “restart”

#

please do not question it please help me if you can
[doublepost=1646201645,1645394357][/doublepost]i found %now% but idk how to use it and i still think i need help
 
Status
Not open for further replies.