Hi,
I need script for the world board that will showing players on Server Log channel current world changes like Fury Gate etc after clicking on the world board. I tried to do it on my way (code below) , but result is like this
Result (Server Log)
I need script for the world board that will showing players on Server Log channel current world changes like Fury Gate etc after clicking on the world board. I tried to do it on my way (code below) , but result is like this
Lua:
local strings = {
[1] = {storage = FuryGates, string = "A fiery fury gate has opened near one of the major cities somewhere in Tibia."}, -- Fury Gates
[2] = {storage = 100, string = "A fiery fury gate has opened near one of the major cities somewhere in Tibia."}, -- Fury Gates
}
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
for i = 0, #strings do
local t = strings[i]
if Game.getStorageValue(t.storage)
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, strings.string)
end
end
return true
end
Result (Server Log)
Code:
13:11
13:11