I'm trying to create a code for an NPC to tell me the name of the user with the most #MVP points generated so far, I'm using a points system called #HEROPOINT which goes to an SQL table called acc_reg_num with the following values account_id, key , index and value, what I need is that from that table I take the user (account_id) with the most points (value) and as a result the NPC tells me the NAME OF THE CHAR with the most points and the amount of points I generated to mention it as champion of the event... maybe someone can help me with this issue since I don't understand how to bind the SQL to an NPC
Question
Kawacito
I'm trying to create a code for an NPC to tell me the name of the user with the most #MVP points generated so far, I'm using a points system called #HEROPOINT which goes to an SQL table called acc_reg_num with the following values account_id, key , index and value, what I need is that from that table I take the user (account_id) with the most points (value) and as a result the NPC tells me the NAME OF THE CHAR with the most points and the amount of points I generated to mention it as champion of the event... maybe someone can help me with this issue since I don't understand how to bind the SQL to an NPC
Link to comment
Share on other sites
12 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.