Hello i would like to know how to ignore the GM Name from this script.. i mean that, if your gm level is above 40 you will not be put on the online list.
Here's the script :
query_sql "SELECT `account_id` FROM `char` WHERE `online` = 1 ORDER BY `name` DESC LIMIT 128", .@account_id;
set .@self,getcharid(3);
//mes "x. Name ( Base/Job ) - Class [Map]";
for( set .@i,0; .@i < getarraysize( .@account_id ); set .@i,.@i+1 )
if( attachrid( .@account_id[ .@i ] ) ) {
set .@name$,rid2name( .@account_id[ .@i ] );
set .@base,BaseLevel;
set .@jobl,JobLevel;
set .@jname$,jobname( Class );
set .@map$,strcharinfo(3);
attachrid( .@self );
mes ""+( .@i+1 ) +". ^777777"+.@name$ +" ^FF0000("+ .@base +"/"+ .@jobl +")^000000 - ^777777"+ .@jname$ +" ^0000ff["+
.@map$ +"]^000000";
}
close;
Question
caspa
BUMP?
BUMP!
Edited by caspaLink to comment
Share on other sites
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.