Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,155,181,5 script Sample#char 757,{
- mes "Input Char Name.";
- input .@Name$,4,23;
- if( query_sql( "SELECT `account_id` FROM `char` WHERE `name` = '"+escape_sql(.@Name$)+"' LIMIT 1",.@AID ) ){
- if( query_sql( "SELECT `name` FROM `char` WHERE `account_id`='"+.@AID+"'",.@Name$ ) )
- for( set .@i,0; .@i < getarraysize( .@Name$ ); set .@i,.@i + 1 )
- mes "["+( .@i + 1 )+".] "+.@Name$[.@i];
- }else{
- mes "Character not found.";
- }
- close;
- }
Advertisement
Add Comment
Please, Sign In to add comment