brunoshp Posted October 28, 2019 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
0 luizragna Posted October 29, 2019 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
0 Balfear Posted October 29, 2019 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
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?
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.