I have been using this script on and off for awhile. I tried using it today and got this error message:
> call scripts\dancer.ash
Expected ), found = (dancer.ash, line 9)
Since I know nothing about .ash I don't know what is wrong.
Here is the code:
I am currently using mafia version 7772
Any help would be appreciated.
Thanks
> call scripts\dancer.ash
Expected ), found = (dancer.ash, line 9)
Since I know nothing about .ash I don't know what is wrong.
Here is the code:
Code:
void main(int advs) {
if(advs>0) advs=advs-my_adventures();
cli_execute("conditions clear;");
while(my_adventures()+advs>0) {
if(item_amount($item[dance card])=0) cli_execute("conditions add dance card; adv "+advs+" ballroom;");
if(my_adventures()+advs>3 && item_amount($item[dance card])>0) cli_execute("use 1 dance card; adv 4 ballroom;");
else {
if(advs<0) cli_execute("adv "+advs+" ballroom;");
}
}
cli_execute("conditions clear;");
}
I am currently using mafia version 7772
Any help would be appreciated.
Thanks