Download Game! Currently 75 players and visitors. Last logged in:RahakasNeyAzagothXaarov

BatMUD Forums > Ideas-wanted > Re: Purses

 
 
#1
01 Mar 2003 15:42
 
 
Could someone code purses so that I could see how many coins total there are?
Like: It contains contains 52 coins: 10 mithril, 10 batium, 32 anipium.
++ S.E.

 
 
 
Saldas
250d, 2h, 50m, 36s old
Level:
45
 
 
#2
01 Mar 2003 15:42
 
 
Saldas wrote:
Could someone code purses so that I could see how many coins total there are?
Like: It contains contains 52 coins: 10 mithril, 10 batium, 32 anipium.
++ S.E.

/def -i -mregexp \
-t'^It contains ([0-9]+) anipium, ([0-9]+) batium, ([0-9]+) mithril and
([0-9]+) platinum' purse_look =\
/eval /set purse_coins=$[%P1*50+%P2*100+%P3*500+%P4*10]%;/eval /echo
$[%P1+%P2+%P3+%P4] coins worth: $[purse_coins] gp.

++ß¹

---
:wq!
++B¹

 
 
 
Thiamin
1y, 287d, 6h, 56m, 10s old
Level:
78