Amellia sizilia sembiring Posted October 9, 2015 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 108 Reputation: 4 Joined: 01/04/12 Last Seen: August 30, 2016 Share Posted October 9, 2015 Hi, i have so many thing i want to implement with database. what the syntax to query with npc?ex. npc query to database. SELECT `accountid` FROM `login` if exist execute this if no execute that. thiss my idea about npc so far. prontera,150,150,4 script announcer 501,{ $mes = query('SELECT `accountid` FROM `login` WHERE=2;');; if($mes != null){ npctalk $mes; } } Quote Link to comment Share on other sites More sharing options...
Ninja Posted October 9, 2015 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 October 9, 2015 (edited) query_sql https://rathena.org/wiki/query_sql Edited October 9, 2015 by jezznar Quote Link to comment Share on other sites More sharing options...
Question
Amellia sizilia sembiring
Hi, i have so many thing i want to implement with database. what the syntax to query with npc?
ex. npc query to database. SELECT `accountid` FROM `login` if exist execute this if no execute that.
thiss my idea about npc so far.
Link to comment
Share on other sites
1 answer 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.