viewing paste match char and guild master id | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10
 
 
prontera,155,181,5      script  Sample  757,{
.@guild_id = getcharid(2);
query_sql( "SELECT `char_id` FROM `guild` WHERE `guild_id` = "+.@guild_id,.@master );
mes "Your Char ID : "+getcharid(0);
mes "Guild Master ID : "+.@master;
mes "Both are ^FF0000"+( ( getcharid(0) == .@master )?"SAME":"DIFFERENT" )+"^000000 ID";
}
Viewed 662 times, submitted by Emistry.