Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
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.
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)