Bug - Fixed Issue setting mood from CLI

lazy_fire

New member
I'm trying to set a mood using the 'trigger' cli command and it doesn't work correctly when there is a comma in the action field. Everything after the comma ends up being cut off.

The command:
Code:
trigger lose_effect, Buy! Sell! Buy! Sell!, ashq if(item_amount($item[Uncle Greenspan's Bathroom Finance Guide]) > 0 && floor(my_adventures()/100) > 0) use(1,$item[Uncle Greenspan's Bathroom Finance Guide]);

returns:
Code:
Set mood trigger: When I run low on Buy! Sell! Buy! Sell!, ashq if(item_amount($item[Uncle Greenspan's Bathroom Finance Guide]) > 0 && floor(my_adventures()/100) > 0) use(1

Typing this directly into the Mood Setup tab would work fine, but I'm trying to set this through a script.
 
Top