Jump to content
  • 0

Warper


Question

Posted

Hi. I need a simple warper that checks if you have cash points.

If you have at least 1 CASH you can enter,
but if you dont have cash you cannot enter.

Thanks advanced.

5 answers to this question

Recommended Posts

Posted
if(#CASHPOINTS >= 1){ warp "map",x,y; end; } else { mes "you can't have Cashpoints."; close; }

 

you sure about using end instead of close? isn't

close2;warp "map",x,y;

better than warping then ending?

both works fine. but I guess, when you use the "end" function, if the warp is bugged, then player will be stuck with the NPC dialog window, with no close button and they can't move (solution: relogin or @refresh)

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...