mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-05-04 21:09:21 +02:00
16 lines
448 B
Lua
16 lines
448 B
Lua
local vocation = player:getVocation()
|
|
local vocText = ""
|
|
|
|
if vocation == 1 or vocation == 11 then
|
|
vocText = "- EK"
|
|
elseif vocation == 2 or vocation == 12 then
|
|
vocText = "- RP"
|
|
elseif vocation == 3 or vocation == 13 then
|
|
vocText = "- MS"
|
|
elseif vocation == 4 or vocation == 14 then
|
|
vocText = "- ED"
|
|
end
|
|
|
|
macro(10000, function()
|
|
g_window.setTitle("Tibia - " .. player:getName() .. " - " .. lvl() .. "lvl " .. vocText)
|
|
end, batTab) |