Z e r o Posted March 28, 2016 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 97 Reputation: 0 Joined: 02/11/13 Last Seen: September 14, 2017 Share Posted March 28, 2016 Npc that will check if you are 99/70 and will then give you your reward. ( I can write a script for this ) the problem is how to make it once per character. Quote Link to comment Share on other sites More sharing options...
0 Ninja Posted March 28, 2016 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Share Posted March 28, 2016 (edited) set a character variable and check it. if (NotEverReachedMaxLevelSinceForever){ set NotEverReachedMaxLevelSinceForever, 0; } else { mes "You have already reached the max level"; close; } Edited March 28, 2016 by Ninja Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted March 28, 2016 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted March 28, 2016 use set Once,1; if (once == 1 ) L_Sorry L_sorry: mes " Test" end; Quote Link to comment Share on other sites More sharing options...
0 Z e r o Posted March 29, 2016 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 97 Reputation: 0 Joined: 02/11/13 Last Seen: September 14, 2017 Author Share Posted March 29, 2016 use set Once,1; if (once == 1 ) L_Sorry L_sorry: mes " Test" end; I'll try this thanks. BTW does these variables stays what they are after I set them? even after a scipt reload? or basic server restart? set a character variable and check it. if (NotEverReachedMaxLevelSinceForever){ set NotEverReachedMaxLevelSinceForever, 0; } else { mes "You have already reached the max level"; close; } I'll try this thanks. BTW does these variables stays what they are after I set them? even after a scipt reload? or basic server restart? Quote Link to comment Share on other sites More sharing options...
0 Alayne Posted March 29, 2016 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 342 Reputation: 170 Joined: 02/25/12 Last Seen: January 24, 2022 Share Posted March 29, 2016 Yes, these values are saved in database. It won't reset after reloading. Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted March 31, 2016 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted March 31, 2016 even you reload the server or use @reloadscript . it's save like a freebies NPC once per account Quote Link to comment Share on other sites More sharing options...
Question
Z e r o
Npc that will check if you are 99/70 and will then give you your reward. ( I can write a script for this ) the problem is how to make it once per character.
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.