• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Action] Execute every hour

Ataro

Member
Joined
Oct 28, 2010
Messages
689
Reaction score
20
Location
Netherlands
Hello, im new with scripting
I need some points i dont know how to make:
Its a normal action script that needs to execute every hour
Also need open+close message, not sure if its right :O(i need to to close after 900seconds)

Code:
local config = {
        timeToRemove = 900, -- seconds
	messageopen = "The has opened!",
	messageclose = "The closed!"
		}

So i need: Executing every 1 hour(and What function i use? Function On???), and need a approve if this is possible(messageopen/messageclose)
 
Please post the whole script so I can look at it. Need to figure out which purpose you want it for. A globalevent is a script you can easily execute every hour automatic, while an action script will be triggered after an action (onUse) for an example.

You can make an action script trigger every hour (after it has been used) by using addEvent easily.
 
Back
Top