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

Lua Scripts Needed!

Oldschool'er

Tibia since 1998'
Joined
Dec 14, 2010
Messages
2,198
Reaction score
149
Location
United States
Needing script's for highscore book in-game showing name,level,vocation

also lookign for script for a Vocation Doll for example /Vocation "Druid

also looking for script for a staff list in-game

if you got any of them please post here or email me!!
 
Highscore Book

data/talkactions/scripts/hslevelbook.lua

LUA:
function onSay(cid, words, param)
	return doShowTextDialog(cid, 1950, getHighscoreString(SKILL__LEVEL))
end



data/talkactions/talkactions.xml


XML:
<talkaction words="!highscores" event="script" value="hslevelbook.lua"/>
 
Code:
	<talkaction words="!rank" script="ranks.lua"/>
Code:
local ranks = {

['fist'] = {0},

['club'] = {1},
['sword'] = {2},
['axe'] = {3},
['distance'] = {4},
['shield'] = {5},
['fish'] = {6},
['magic'] = {7},
['level'] = {8},

}


function onSay(cid, words, param)

local msg = string.lower(param)
if ranks[msg] ~= nil then
str = getHighscoreString((ranks[msg][1]))
else
str = getHighscoreString((8))
end
doShowTextDialog(cid,6500, str)
return TRUE

end
 
Back
Top