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

Need script for level doll

Status
Not open for further replies.

Spankarn

New Member
Joined
Jul 1, 2010
Messages
101
Reaction score
1
hihio!
I'm searching a Level doll script so when i click on a doll i get a special ammount of lvls..

thanks!:)
 
Put this in:
Code:
 data/actions/scripts/leveldoll.lua

And in the actions.xml add:
Code:
<action itemid="idoftheitem" script="leveldoll.lua"/>
 
Put this in:
Code:
 data/actions/scripts/leveldoll.lua

And in the actions.xml add:
Code:
<action itemid="idoftheitem" script="leveldoll.lua"/>
Thanks!
but i just get error....
Code:
[04/05/2013 13:55:25] [Error - LuaScriptInterface::loadFile] data/actions/scripts/leveldoll.lua:15: 'end' expected (to close 'function' at line 8) near '<eof>'
[04/05/2013 13:55:25] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/leveldoll.lua)
[04/05/2013 13:55:25] data/actions/scripts/leveldoll.lua:15: 'end' expected (to close 'function' at line 8) near '<eof>

- - - Updated - - -

Fixed!
 
Depense on which server you use, if you are not sure about such things, you can also look at the other action lines with itemid, then just add the id you are using for the script and the lua file name.
By looking at your other threads I guess you use something like 0.3, so that would be like this.
XML:
<action itemid="2110" event="script" value="other/script.lua"/>
It's working now!:)
Thanks:)
 
Status
Not open for further replies.
Back
Top