viewing paste 1 char per gm account | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13
-   script  gm_restrict -1,{
OnPCLoginEvent:
if( getgmlevel() ){
    query_sql( "SELECT COUNT(`char_id`) FROM `char` WHERE `account_id` = "+getcharid(3),.@count );
    if( .@count > 1 ){
        mes "All GM account can only have 1 Character.";
        mes "Please delete all your other characters.";
        sleep2 3500;
        atcommand "@kick "+strcharinfo(0);
    }
}
end;
}
Viewed 1270 times, submitted by Emistry.