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

Can I make a script with this?

R3ignlasting

Well-Known Member
Joined
Nov 20, 2008
Messages
1,293
Reaction score
82
Okay, as I usually do I put my scripting problems in opentibia support for some reason of all and for right now I was wondering if I could make a get exp script for 10000 gold.

Here is the script
Code:
function onSay(cid, words, param)
	if 
getplayerexperince(cid) <=
500 then
		if doPlayerRemoveMoney(cid, 10000) == TRUE then
			doPlayerAddExperince(cid, 500)
			doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have gotten 500 Experince!")

And If you think this is a stupid script, well its not its just for testing my scripting skills to see if i get better.

And also if you saw the problem I have with this, please edit it and post the working script here!
 
Back
Top