prontera,155,181,5 script Sample 757,{
.@guild_id = getcharid(2);
if( !.@guild_id ){
mes "You dont have guild.";
}else if( getguildmasterid() != getcharid(0) ){
mes "You are not guild master.";
}else{
query_sql( "SELECT `guild_lv`,`connect_member` FROM `guild` WHERE `guild_id` = "+.@guild_id,.@guild_lv,.@online );
if( .@guild_lv < 50 ){
mes "Your guild must be Level 50.";
}else if( .@online < 10 ){
mes "Must have minimum of 10 online member.";
}else{
mes "All your guild member will be warped here.";
close2;
warpguild "prontera",155,181,.@guild_id;
end;
}
}
close;
}