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

Level chest and skill scroll rep+++ REQUEST!

Dramix

New Member
Joined
Jun 26, 2009
Messages
289
Reaction score
1
Hello Otlanders!, I've searched and have not found them scripts i was looking for, that scripts i need is a script that when you use a scroll you will get distance / sword / magic / etc ( 1 scroll each skill ), and then a chest, when you open a chest you will get 50 levels, REP++ for anyone who helps me!
 
Chest:
tfs/data/actions/scripts/quests/chest.lua
PHP:
local lvl = 50 
function onUse(cid, item, frompos, item2, topos)
	if item.uid == 50029 then
		if getPlayerStorageValue(cid,50029) == -1 then
            doPlayerSendTextMessage(cid,22,"You recieved 50 Level !")
			doPlayerAddLevel(cid, lvl)
			setPlayerStorageValue(cid,50029,1)
		else
			doPlayerSendTextMessage(cid,25,"This experience chest is empty. You've already done this quest!")
		end
	end
	return TRUE
end
tfs/data/actions/actions.xml
PHP:
	<action uniqueid="50029" event="script" value="quests/chest.lua"/>
Skill scroll:
Please visit this: http://otland.net/f16/skill-scroll-71740/#post735724
:$
 
Last edited:
Back
Top