caspa Posted June 10, 2013 Group: Members Topic Count: 194 Topics Per Day: 0.04 Content Count: 499 Reputation: 3 Joined: 03/11/12 Last Seen: September 18, 2023 Share Posted June 10, 2013 (edited) can i request an npc that when you talk to it. it'll list all the player in your guild. and if no one is in your guild it'll say. "you don't have guild members"or if you don't have a guild it'll say"you don't have a guild"anyway, after it lists all your guild members it gives you the option of warping to where they are.after you select the guild member you wan't to see.if the character is offline it the npc say he is offline otherwise if hes online you warp to his location. ohh.. and it'll also tell you if your guild member is currently on another of their characters (in the same account of course) Edited June 10, 2013 by caspa Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 10, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted June 10, 2013 prontera,155,181,5 script Sample 757,{ .@guild_id = getcharid(2); if( !.@guild_id ){ mes "You dont have guild."; }else{ query_sql( "SELECT `account_id`,`char_id`,`online`,`name` FROM `guild_member` WHERE `guild_id`='"+.@guild_id+"'",.@aid,.@cid,.@online,.@name$ ); mes "Select a guild member."; .@i = select( implode( .@name$,":" ) ) - 1; if( !.@online[.@i] ){ if( isloggedin( .@aid[.@i] ) ){ mes "He online with other characters.."; }else{ mes "He is offline."; } }else{ if( select( "Warp to him","Cancel" ) == 1 ){ getmapxy( .@map$,.@x,.@y,0,.@name$[.@i] ); warp .@map$,.@x,.@y; } } } close; } Quote Link to comment Share on other sites More sharing options...
Question
caspa
can i request an npc that when you talk to it. it'll list all the player in your guild. and if no one is in your guild it'll say.
"you don't have guild members"
or if you don't have a guild it'll say
"you don't have a guild"
anyway, after it lists all your guild members it gives you the option of warping to where they are.
after you select the guild member you wan't to see.
if the character is offline it the npc say he is offline otherwise if hes online you warp to his location.
ohh.. and it'll also tell you if your guild member is currently on another of their characters (in the same account of course)
Edited by caspaLink 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.