viewing paste Build Info | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
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;
}
Viewed 617 times, submitted by rosfus.