Jump to content
  • 0
Sign in to follow this  
mangkepwengs

Requesting Trader

Question

5 answers to this question

Recommended Posts

  • 0

something like this ?

 

/* receives @price (total cost) and @points (the secondary input field for cash windows) */OnPayFunds:    dispbottom "Hi: price="+@price+" and points="+@points;    if( countitem(Orange_Potion) < @points || countitem(Red_Potion) < @price-@points )        end;    delitem Orange_Potion,@points;    delitem Red_Potion,@price-@points;    purchaseok();    end;}
Edited by Max

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.