PDA

View Full Version : Missed IF statement?



pierate
12-02-2007, 04:01 PM
I'm trying to write a script to adventure in the ballroom and use any dance cards it finds, except it doesn't use the dance cards.

Can anyone tell me why this doesn't catch that I have the cards and use them?

macman104
12-02-2007, 04:24 PM
It doesn't use the dance cards at all? Right now, I see that it won't use dance cards unless it has more than one. I think you want to say if item_amount($item[dance card]) > 0

pierate
12-02-2007, 04:29 PM
Thank you, I can't believe I never thought of that.