• 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!

Stone Remove 1 in 3 H

Teddy

SweStream.se
Joined
Oct 2, 2008
Messages
3,797
Reaction score
10
Location
Sweden 172
can some make a script that will remove a stone like 10 min every 3 h then after 10 min it will come back and wait 3h then it will be removed 10 min.. and same think after that and so on:)
 
Okay not sure if this works but ok

in globalevents/scripts/timer add:
Code:
function onTimer()
 local s = getStorage(1)
 if os.time() > s then
 doCreateItem({x=1105, y=1062, z=7}, StoneID)
 else
 return false
 end
 addEvent(startEvent, config.timeToStartEvent * 10 * 60)
 doRemoveItem(getTileItemById({x=1105, y=1062, z=7}, StoneID).uid)
end

Globalevent/Globalevents.xml add:
HTML:
<globalevent name="Stone" time="12:00, 15:00, 18:00, 21:00, 00:00, 03:00, 06:00, 09:00" event="script" value="stone.lua"/>

you might wanna try this:D
 
Back
Top