arzzzae Posted January 26, 2013 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 83 Reputation: 8 Joined: 12/27/11 Last Seen: March 7, 2018 Share Posted January 26, 2013 Hello guys, I just wan't to know whats the script command to check the base level and job level of the player? For example, I wan't to create an event which requires them to reach the max level of 99/70 and an npc script will pop out of the blue? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Stolao Posted January 26, 2013 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: April 9 Share Posted January 26, 2013 (edited) if(BaseLevel >= 99 && JobLevel >= 70){ < script > } or if(BaseLevel < 99 || JobLevel < 70){ mes "Sorry your to low of a level"; close; } All this can be found in your ro/Doc/script_commands.txt Edited January 26, 2013 by Stolao Quote Link to comment Share on other sites More sharing options...
arzzzae Posted January 26, 2013 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 83 Reputation: 8 Joined: 12/27/11 Last Seen: March 7, 2018 Author Share Posted January 26, 2013 (edited) Thanks for your fast reply! I'm really interested in learning scripting! Edit: Also, what kind of function is this? OnPC? Edited January 26, 2013 by arzzzae Quote Link to comment Share on other sites More sharing options...
Stolao Posted January 26, 2013 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: April 9 Share Posted January 26, 2013 This is just a comparison of the characters BaseLevel and JobLevel (which are constant variables, pre-defined by server),you have to do the rest of the script or post a request of what you want in request section 1 Quote Link to comment Share on other sites More sharing options...
Question
arzzzae
Hello guys, I just wan't to know whats the script command to check the base level and job level of the player?
For example, I wan't to create an event which requires them to reach the max level of 99/70 and an npc script will pop out of the blue?
Thanks in advance!
Link to comment
Share on other sites
3 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.