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

Making potions(vials) dissapear after using it.

TriamerA

The Mystic One.
Joined
Nov 16, 2008
Messages
1,257
Reaction score
18
Location
Poland
Hiho, since empty Vials are not needed, and people are throwing them on the ground after use I've decided to make them dissapear.
Could someone tell me how to do that? Using vial-> getting what you want-> vial dissapear ...
Rep++
 
why u wanna have
Code:
doRemoveItem(item.uid)
        return TRUE
end

why you dont let them sell them more gps XD
 
OK check this out
do you think this is possible, after you use the last potion in the backpack the backpack disappears?
can this work?

Probably by counting the number of them in your backpack after use.

Anyway this is bugged as far as I've tried it. When you use the potion from the ground or monster corpse, it won't be removed, meaning it will last for ever.
 
Back
Top