Lbtg
Advanced OT User
- Joined
- Nov 22, 2008
- Messages
- 2,398
- Reaction score
- 165
Hello i wanna ask for someone to edit this script so it spawns A Monster on xxx/yyy/z ? 
script:
thanks in advance
script:
PHP:
local createpos = {x=987,y=994,z=5}
local topos = {x=997,y=997,z=7}
local msg = "Raid Boss tp is closed! It will open again in 2 hours!"
local timetoclose = 120 -- in second
local function remove()
local tp = getTileItemById(createpos,1387).uid
if tp ~= 0 then
doRemoveItem(tp)
doBroadcastMessage(msg)
end
end
function onThink(interval)
doCreateTeleport(1387, topos, createpos)
doBroadcastMessage("Raid boss event TP is now open!\nCatch the teleport within "..timetoclose.." seconds quickly! Located in Temple Top Floor,")
addEvent(remove,timetoclose*1000)
return true
end
thanks in advance