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

Problem with Rune and onEquip

Deaven

New Member
Joined
Jun 1, 2009
Messages
55
Reaction score
2
Hello.
I have a small problem with the runes, and scripted movements.

Runes:
After using the fleece does not stop there. In the config I have everything set well in spells.xml also, and in items.xml not noticed the error.

script:
I wrote a simple script:
Code:
 local text = "test"

 onEquip function (cid, item, slot)
 doPlayerAddExperience (cid, 10000)
 doPlayerPopupFYI (cid, text)
 end
And I gave in movements such line:
Code:
 <movevent type="Equip" itemid="2466" slot="armor" event="script" value="items.lua"/>

Although set in the Armor slot, I can not put teog itemu when I wear it, the script works, but I write that I put item in the wrong place ...

For Help +
 
Back
Top