I tried that and it gave me an infinite loop. Could you take a look at my script and tell me where to apply and what?
new_1-3,100,120,3 script Fishing Spot 857,15,15,{
mes "[Yourself]";
mes "Maybe I should go fishing.";
switch(select("yes:no")) {
case 1:
close2;
goto OnAction;
end;
case 2:
mes "ok bye failure";
close;
}
OnAction:
[b]specialeffect 54; [/b]//I want this to loop for 10 secs while the progress bar charges up
progressbar "^000000",10;
set fishingz, rand(7);
if (fishingz == 0) goto gotfish;
if (fishingz == 1) goto gotfish;
if (fishingz == 2) goto gotfish;
if (fishingz == 3) goto gotfish;
if (fishingz == 4) goto gotfish;
if (fishingz == 5) goto gotfish;
if (fishingz == 6) goto gotfish;
close;
OnTouch:
showevent 2,0;
end;
specialeffect2 14 ;
getitem 579,1;
close;
}