drop (<inventory item>) [<amount>]

This section is created for developers and non-developers who think that he/she has a good (and realistic) idea that might contribute to the OpenKore community.

Moderator: Moderators

Message
Author
Shadow7
Human
Human
Posts: 25
Joined: 03 Dec 2009, 12:30
Noob?: No

drop (<inventory item>) [<amount>]

#1 Post by Shadow7 »

The problem:
I want to be able to drop items via item name instead of the item number in my training ground macro.
With the current: drop (<inventory item list>) [<amount>] I would still have to somehow get the item number.
With the proposed drop (<inventory item>) [<amount>] I would just have to know the item name.

For example in macros.txt :
do drop Tattered Novice Ninja Suit
instead of
eval <code for getting item number here,then varStack{i} = item number>
do drop $i

How the OK community could benefit from the feature:
My example, dropping training ground is a very common sight; now even the average joe can drop novice equipment using the doCommand.


Sidenote: Possible bug? When my macro was running and I used "do drop Novice Potion" it didn't display Novice Potions but it didn't drop them either. I relogged the bot and Novice Potions were displayed in its inventory. Will try to replicate.

Version:
*** OpenKore what-will-become-2.0.7 (SVN Version) - Custom Ragnarok Online client ***