brunoshp Posted October 28, 2019 Group: Members Topic Count: 64 Topics Per Day: 0.01 Content Count: 180 Reputation: 7 Joined: 12/19/12 Last Seen: November 21, 2024 Share Posted October 28, 2019 Is it possible to check ip for each party member? im searching and study hot to do this, but i dont got sucess. someone can help? Quote Link to comment Share on other sites More sharing options...
0 luizragna Posted October 29, 2019 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 107 Reputation: 28 Joined: 02/12/14 Last Seen: January 9, 2023 Share Posted October 29, 2019 Try this a simple example: prontera,151,187,4 script TesterIP 88,{ getpartymember getcharid(1),2; .@count = $@partymembercount; query_sql "SELECT `last_ip` FROM `login` WHERE `account_id` = "+$@partymemberaid[0], .@ip1$; query_sql "SELECT `last_ip` FROM `login` WHERE `account_id` = "+$@partymemberaid[1], .@ip2$; query_sql "SELECT `last_ip` FROM `login` WHERE `account_id` = "+$@partymemberaid[2], .@ip3$; //After executing the code above,IPs of respective members are stored in .@ip1$, .@ip2$ and .@ip3$ //Showing them: mes .@ip1$; mes .@ip2$; mes .@ip3$; close; } 1 Quote Link to comment Share on other sites More sharing options...
0 Balfear Posted October 29, 2019 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 256 Reputation: 245 Joined: 07/24/13 Last Seen: March 24 Share Posted October 29, 2019 (edited) getpartymember getcharid(1),0; .@count = $@partymembercount; copyarray .@name$[0], $@partymembername$[0], $@partymembercount; // list the party member name - ip for (.@i = 0; .@i < .@count; .@i++) mes .@name$[.@i]+" - ^0000FF" + getcharip(.@name$[.@i]) + "^000000"; close; Edited October 29, 2019 by Balfear 1 1 Quote Link to comment Share on other sites More sharing options...
Question
brunoshp
Is it possible to check ip for each party member? im searching and study hot to do this, but i dont got sucess. someone can help?
Link to comment
Share on other sites
2 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.