Jump to content
  • 0

Last Warp function ~> Several last warps ?


Auryn

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  147
  • Reputation:   1
  • Joined:  01/26/12
  • Last Seen:  

Hi, everyone knows the laswarp function in a warper npc script :

menu "Last Map",lastwarp;

lastwarp:

next;

if(lastmap$=="") {

mes "[^5533FFAgent de téléporation^000000]";

mes "Aucune dernière destination mémorisée."; close; }

warp lastmap$,lastx,lasty;

end;

But what about saving several last map destinations, and showing it up in a "Last Maps" menu ?

I think there can be several possibilities, but i feel to newbie to find it out.

So could some of you show some examples on how to do it, which commands to use ? It would be really nice and insctructive.

Thanks in advance.

Edited by Auryn
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   152
  • Joined:  02/21/12
  • Last Seen:  

You could save your informations in arrays

and output them in dynamic menu.

Edited by tr0n
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...