Hyoru Posted November 20, 2014 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 122 Reputation: 11 Joined: 01/30/12 Last Seen: 4 hours ago Share 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 Link to comment Share on other sites More sharing options...
HD Scripts Posted November 21, 2014 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 184 Reputation: 15 Joined: 06/10/12 Last Seen: Sunday at 10:55 PM Share Posted November 21, 2014 if(#CASHPOINTS >= 1){ warp "map",x,y; end; } else { mes "you can't have Cashpoints."; close; } 1 Quote Link to comment Share on other sites More sharing options...
Hyoru Posted November 21, 2014 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 122 Reputation: 11 Joined: 01/30/12 Last Seen: 4 hours ago Author Share Posted November 21, 2014 Thank you! Quote Link to comment Share on other sites More sharing options...
Winz Posted November 21, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted November 22, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
Winz Posted November 23, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted November 23, 2014 @emistry umm, where? Quote Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.