Fix my script please?

hippymon

Member
I have made this script... copy and paste from everyone else, and it does not work, I do not know how to properly fix it, so is there anyone out there they can fix it for me? or help me fix it?
 

Attachments

  • spiceloop.ash
    17.2 KB · Views: 54

holatuwol

Developer
What is it not doing? I notice it uses 'send' to request a philanthropic buff, an action which has been disallowed in later releases of KoLmafia.
 
First thing I notice is that the following function has no ending } before the next function declaration.

Code:
void trader()
{
  item Bounty;
  boolean trap;
  trap = false;
  if ( bounty_hunter_wants( $item[hippopotamus skin]))
    {
    Bounty = $item[hippopotamus skin];
    trap = true;
    }
  if ( bounty_hunter_wants( $item[penguin skin]))
    {
    Bounty = $item[penguin skin];
    trap = true;
    }
//if ( bounty_hunter_wants( $item[yak skin]))
//{
//Bounty = $item[yak skin];
//trap = true;
//}

Next I notice:

put_shop( 0, 0, $item[]);
has no item name in the []

Inside void main:
drinkStuff(); function not found
eatChowMein(); function not found
checkEffects(); function not found
 
Top