Looks like you just copy pasted the whaling script itself.
You could put this down to one line.
player setVariable["itemwhale",(player getVariable "itemwhale") + 1];
Which would add one whale every time it is run.
Looks like you just copy pasted the whaling script itself.
You could put this down to one line.
player setVariable["itemwhale",(player getVariable "itemwhale") + 1];
Which would add one whale every time it is run.