nworbetan
Member
I just added this recently:
It works, and I'm happy with it, but now this happens:
The world peace declaration was actually me hitting the escape key.
If the solution to this ends up being moving that alias into a script, that'll be fine by me, but the infinite error messages looked like something someone might want to know about.
Code:
[COLOR=olive]> alias coffee[/COLOR]
[B]coffee [/B]=> ash item icps = $item[coffee pixie stick]; if (available_amount(icps) * 10 + available_amount($item[game grid ticket]) < 40) cli_execute("skeeball " + (4 - available_amount(icps))); if (available_amount(icps) < 4) retrieve_item(4, icps); retrieve_item(1, $item[mojo filter]); use(3, icps); use(1, $item[mojo filter]); use(1, icps);
It works, and I'm happy with it, but now this happens:
Code:
[COLOR=olive]> inv coffee pixie stick[/COLOR]
[COLOR=red]Invalid operand [40) cli_execute("skeeball " + (4 - available_amount(icps)))] on right side of operator[/COLOR]
[COLOR=red]Invalid operand [40) cli_execute("skeeball " + (4 - available_amount(icps)))] on right side of operator[/COLOR]
[COLOR=red]Invalid operand [40) cli_execute("skeeball " + (4 - available_amount(icps)))] on right side of operator[/COLOR]
[COLOR=red]Invalid operand [40) cli_execute("skeeball " + (4 - available_amount(icps)))] on right side of operator[/COLOR]
[COLOR=red]Invalid operand [40) cli_execute("skeeball " + (4 - available_amount(icps)))] on right side of operator[/COLOR]
[COLOR=red]Invalid operand [40) cli_execute("skeeball " + (4 - available_amount(icps)))] on right side of operator[/COLOR]
[COLOR=red]Invalid operand [40) cli_execute("skeeball " + (4 - available_amount(icps)))] on right side of operator[/COLOR]
[COLOR=red]Invalid operand [40) cli_execute("skeeball " + (4 - available_amount(icps)))] on right side of operator[/COLOR]
[COLOR=red]Invalid operand [40) cli_execute("skeeball " + (4 - available_amount(icps)))] on right side of operator[/COLOR]
[COLOR=red]Invalid operand [40) cli_execute("skeeball " + (4 - available_amount(icps)))] on right side of operator[/COLOR]
[COLOR=red]Invalid operand [40) cli_execute("skeeball " + (4 - available_amount(icps)))] on right side of operator[/COLOR]
[COLOR=red]Invalid operand [40) cli_execute("skeeball " + (4 - available_amount(icps)))] on right side of operator[/COLOR]
[COLOR=red]KoLmafia declares world peace.[/COLOR]
The world peace declaration was actually me hitting the escape key.
If the solution to this ends up being moving that alias into a script, that'll be fine by me, but the infinite error messages looked like something someone might want to know about.