Re: NEWBIE: Shop Question. [Try Again]

From: David Blocher (dblocher@prolog.net)
Date: 06/02/96


At 09:56 PM 6/3/96 +1000, you wrote:
>Hi all,
<snip>
>are already those nice numbers down the side. Has anyone changed the shop
>code so that you can just type, buy 15, which will buy the 15th item in the
>list? If so could you give me an idea of how I should go about doing the
>same? 
>
>Thanks in advance
>
>Fionn
>
>
>PS. I'm using version 3 pl11, with version 3 shop files.
>
>PPS. Sorry for spamming the list with this 3 times, but for some reason
>the first 2 attemps cut the bottom half of the message off. I hope it
>works this time. :)
>
This is not really meant as a flame but type help buy in your mud.
Its kinda easy to buy the exact item you want if you know how.
5080H 100M 967V > help buy
BUY
If you'd like to purchase an item from a shop and have the money, you can
buy
it.  Items can be bought by name, or by their number in the shop listing,
and can be bought in quantity.
 
Examples:
 
> buy sword        (buy the first sword on the list)
> buy            (buy the third item on the list)
> buy 4.sword      (buy the fourth sword on the list)
> buy 10 bread     (buy 10 pieces of bread)
> buy 10         (buy 10 of the second item on the list)
 
See also: SHOPS SELL LIST VALUE
-Vain



This archive was generated by hypermail 2b30 : 12/18/00 PST