Hyoru Posted November 20, 2014 Posted November 20, 2014 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. Quote
HD Scripts Posted November 21, 2014 Posted November 21, 2014 if(#CASHPOINTS >= 1){ warp "map",x,y; end; } else { mes "you can't have Cashpoints."; close; } 1 Quote
Winz Posted November 21, 2014 Posted November 21, 2014 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) Quote
Emistry Posted November 22, 2014 Posted November 22, 2014 @Winz lol...ur method is still end up using the end at the very last line. if not mistaken, if the warper ever have a bugged warp location, they will still stuck at there no matter you use end or close2 Quote
Question
Hyoru
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.