Author Topic: Mining Script Help?  (Read 2339 times)

Can you get on topic to the current bug here?
Your on topic current bug is being caused by exactly the same problem as what Truce mentioned.

Ok but this has a syntax error

Code: [Select]
if(%this,goldAmount==-1)
{
%this.goldAmount=4;
}

Ok but this has a syntax error

Code: [Select]
if(%this,goldAmount==-1)
{
%this.goldAmount=4;
}

You have a comma.

Wouldn't it make more sense just to subtract one from %this every time they clicked it instead of checking to see what it is then setting the gold level to that? I don't know but...