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

[HELP] Wall Remover (remove walls using a rune)

ryonaa

New Member
Joined
Feb 28, 2010
Messages
24
Reaction score
0
it became impossible for me (because I did it)
but I think its posible
wtf??? lol
I hope your answers:p
 
Last edited:
Code:
local wallid = 1480

function onUse(cid, item, fromPosition, itemEx, toPosition)

     if itemEx.itemid == wallid then
	doRemoveItem(itemEx.uid,1)
        doRemoveItem(item.uid,1)
end
return true
end
Just a quick toss together, set this script above as whatevername.lua in your actions/scripts folder. Do not forget to change the XXXX to the item id of the wall.
Code:
<action itemid="XXXX" event="script" value="whatevername.lua"/>
The above code here goes into your actions.xml file anywhere below
<?xml version="1.0" encoding="UTF-8"?>
<actions>
Then just be sure to change the XXXX to the rune id you want to use and change the whatevername.lua to the name of the file you pick.

Have not tested, but should do the trick.

Edit: If you want to keep the rune without it losing a charge, then remove this line from the script. doRemoveItem(item.uid,1)
 
Last edited:
Back
Top