End of Day MallSelling Problem

Sputnik1

Member
Currently I am using a basic script to do some mallselling and autoselling of items after a day of farming the castle.

Code:
mallsell -1 love song of smoldering passion
mallsell -1 love song of disturbing obsession
mallsell -1 love song of vague ambiguity
mallsell -1 love song of naughty innuendo
mallsell -1 love song of sugary cuteness
mallsell -1 scratch 'n' sniff dragon sticker
mallsell -1 scratch 'n' sniff wrestler sticker
mallsell -1 scratch 'n' sniff rock band sticker
mallsell -1 scratch 'n' sniff UPC sticker
mallsell -1 scratch 'n' sniff apple sticker
mallsell -1 scratch 'n' sniff unicorn sticker
#mallsell -1 a little sump'm sump'm	
#mallsell -1 calle de miel
#mallsell -1 ducha de oro
#mallsell -1 fuzzbump
#mallsell -1 horizontal tango
#mallsell -1 ocean motion
#mallsell -1 perpendicular hula
#mallsell -1 pink pony
#mallsell -1 rockin' wagon
#mallsell -1 roll in the hay
#mallsell -1 slap and tickle
#mallsell -1 slip 'n' slide
undercut

but currently i am running into problems with this because the days when I only have one of the item in my inventory after mp burning, mafia says something like this

[-1 scratch 'n' sniff] has no matches.

This is why the boozes listed are commented out currently cuz you can only summon 3 of them a day.

Is there any way to make the script ignore the items that I currently only have 1 of in my inventory, which I though the -1 did, and mallsell the others without stopping the script?

Any help would be appreciated!
 

Bale

Minion
In CLI, I'd do this:

Code:
if love song of smoldering passion > 1; mallsell -1 love song of smoldering passion

Of course I'd always use ASH instead, but I'm pretty sure that my CLI would work.
 

Sputnik1

Member
works like a charm, shouldve been able to do that myself, need to relate the logic more often, though usually im just afraid that something is gonna screw up
 
Top