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

GlobalEvent Auto broardcast

D. Kielb

/home
Joined
Jan 12, 2010
Messages
387
Reaction score
5
Location
nisko
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

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:
we got enough scripts like this posted in this forum
 
And I can't stand when owners have them spamming every 2 minutes 'Visit site for donation's!!!!'
 
And I can't stand when owners have them spamming every 2 minutes 'Visit site for donation's!!!!'

Agreed. But yeah there are tons of these scripts around OTland.
 
Back
Top