Z e r o Posted March 28, 2016 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
0 Ninja Posted March 28, 2016 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
0 Poring King Posted March 28, 2016 Posted March 28, 2016 use set Once,1; if (once == 1 ) L_Sorry L_sorry: mes " Test" end; Quote
0 Z e r o Posted March 29, 2016 Author 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
0 Alayne Posted March 29, 2016 Posted March 29, 2016 Yes, these values are saved in database. It won't reset after reloading. Quote
0 Poring King Posted March 31, 2016 Posted March 31, 2016 even you reload the server or use @reloadscript . it's save like a freebies NPC once per account Quote
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.
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.