Jump to content
  • 0

Kafra Mall Support


SlashGeeGee

Question


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Hello rA :)

can someone edit my script to go back to menu after the mall information, because it's error.

here's the script btw :)


market,92,119,5 script Mall Employee 117,{
set .@n$,"[ ^336699Mall Employee^000000 ]";
mes .@n$;
mes "Welcome to the";
mes "Mall of Ragnarok~";
mes "My Services are";
mes "always here to support";
mes "you. So how can I be";
mes "of service today?";
next;
menu "Use Storage",storage,"Mall Information",mallinfo,"Warp Me To Main Town",maintown,"Cancel",cancel;

mallinfo:
mes .@n$;
mes "This is the mall created for your needs.";
mes "The Upper Left corner is for Armors & Headgears.","The Upper Right corner is for Utilities","The Bottom part is 

for weapons";
next;
mes .@n$;
mes "So what service can I offer you ?";
goto menu;


  storage:
mes .@n$;
mes "I will now open your storage for you!";
close2;
openstorage;
end;

  maintown:
mes .@n$;
mes "Warping you now to the Main Town";
close2;
warp "malaya",232,222;
end;

  cancel:
mes .@n$;
mes "Okay Good Luck Shopping !";
close;
}

Thanks in Advance !

SlashGeeGee

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

goto menu;

You can't use menu as a label because it's a keyword. Use something like L_Menu if you want to avoid problems.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

goto menu;

You can't use menu as a label because it's a keyword. Use something like L_Menu if you want to avoid problems.

Fast ! Thanks Euphy it solved my problem . :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...