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

Lua Globalevents Script

TaurenLess

New Member
Joined
Jan 2, 2010
Messages
76
Reaction score
1
Location
Brasília / Brasil
Someone creates a script to globalevents that on a certain day, and the time it is mentioned, it is activated. Example: Sunday, 19:00 hours the message in the tibia, the event will start in 3 minutes, then 3 minutes after the message, the event started!
I do not know to DATE with LUA functions.
Thank you! :D
 
globalevents.xml
Lua:
	<globalevent name="Item" time="16:00:00" event="script" value="name.lua"/>
and for send mensage add this line in your script
Lua:
doPlayerSendTextMessage(cid, 22, "New Event:\nEvent in second floor of temple!\nYou have just 10 minutes!")
Example your edit line..
 
@up
yes!
Lua:
 <globalevent name="Item" time="16:00:00" event="script" value="name.lua"/>

or

Lua:
<globalevent name="Item" time="18:00:00" event="script" value="name.lua"/>

etc..
 
Back
Top