Im use Fishing Script from
My error Is :
[Error]: Loading NPC file: npc/custom/events/FishingSimulation.txt
script error on npc/custom/events/FishingSimulation.txt line 504
parse_line: expect command, missing function name or calling undeclared function
499 : sleep 1000;
500 : emotion E_OMG,1,getVariable(".charname"+strnpcinfo(3)+"$");
501 : setnpcdisplay(strnpcinfo(3), getVariable(".npcname"+strnpcinfo(3)+"$"),723);
502 : .@gid = monster(.@map$,.@x,.@y,"--ja--",.@mob,1,"",2);
503 : if(is_function("aimode")){
* 504 : 'a'imode(.@gid,"aggro");
505 : }
506 : }else if(.@mode$=="junkitem"){
507 : emotion E_WAH,1,getVariable(".charname"+strnpcinfo(3)+"$");
508 : showscript "I wonder who throw this...",getcharid2(3,getVariable(".charname"+strnpcinfo(3)+"$"));
509 : explode(.@itemlist$,.@idlist$,":");
[Error]:
script error on npc/custom/events/FishingSimulation.txt line 574
parse_line: expect command, missing function name or calling undeclared function
569 : emotion E_LOUD,1;
570 : showscript "I got it!",getcharid2(3,getVariable(".charname"+strnpcinfo(3)+"$"));
571 : specialeffect 6;
572 : soundeffectall "fish_reel03.wav",0;
573 :
* 574 : 'F'ish_Reward_Func();
575 : Fishing_End_Func();
576 :
577 : OnHit:
578 : emotion E_SWT2;
579 : emotion E_SWT2,1;
How Fix that ?