Jump to content
  • 0

custom item with @warp


teknical

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  11/13/15
  • Last Seen:  

Hi, I want to implement a consumable item that allow players to use of the @warp command where they input what dungeon they want to warp to. Thanks

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


// item_db.txt

............... ,{ input .@map$; if ( getmapusers( .@map$ ) != -1 ) warp .@map$,0,0; end; },{ },{ }

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  11/13/15
  • Last Seen:  

Thanks I will test. Also will this work with rathena?

Edited by teknical
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

Anything Emistry post will work.

Yes, it should work. But if you have that kind of item it's basically the same as have @warp command enabled lmao.

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Anything Emistry post will work.

Yes, it should work. But if you have that kind of item it's basically the same as have @warp command enabled lmao.

Unless said item is a cash/event shop item

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...