• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Script to make Teleport messages

Uekdyr

New Member
Joined
Jun 16, 2014
Messages
2
Reaction score
0
Hello everyone! I'm searching for a script that make teleports to type a message, such as "Quests" and "Hunts".

As in this picture. Teleporter says "Bosses" and stuff.

asdasdasdsdaasdassdasdsdaasdasdsdasddasasdasd.jpg


Really thankful for any answers!
 
I use this script:

data/globalevents/globalevents.xml

Code:
    <globalevent name="effect" interval="2000" script="efektynapisy.lua"/>


And create new file in data/globalecents/scripts/efektynapisy.lua

Code:
 local pozycje = {
{pos = {x=441, y=499, z=8}, tekst = "Trening"},
{pos = {x=568, y=641, z=8}, tekst = "Wyjscie"},
{pos = {x=203, y=1340, z=7}, tekst = "Wyjscie"},


}
        function onThink(interval, lastExecution)
            local kolor = TEXTCOLOR_RED
            for i=1, #pozycje do
                doSendMagicEffect(pozycje[i].pos,31)
                doSendMagicEffect(pozycje[i].pos,39)
                doSendMagicEffect(pozycje[i].pos,1)
                doSendAnimatedText(pozycje[i].pos,pozycje[i].tekst,kolor)
            end
            return true
            end
 

Similar threads

Back
Top