Hiho!
The script is designed to advertise "someone" in your ots for a small reward ;] or other type of thing.The script draws from a number of messages.
First data/globalevents/globalevents.xml
Second /data/globalevents/scripts/ create broadcast.lua
Repp+
Sorry for my bad english
The script is designed to advertise "someone" in your ots for a small reward ;] or other type of thing.The script draws from a number of messages.
First data/globalevents/globalevents.xml
Code:
<globalevent name="reklama" interval="300" event="script" value="broadcast.lua"/>
Second /data/globalevents/scripts/ create broadcast.lua
Code:
local text = {
[1] = "text",
[2] = "text",
}
function onThink(interval, lastExecution)
doBroadcastMessage("Your text: "..text[math.random(1,2)])
return TRUE
end
Repp+
Sorry for my bad english
Last edited: