viewing paste Unknown #545 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11
if(query_sql "SELECT char_id FROM encodesystem WHERE char_id='"+getcharid(0)+"' "){
mes "pret";
close; 
} else { mes "hehe";
    query_sql "SELECT first_login FROM encodesystem WHERE char_id='"+getcharid(0)+"' ", .@first$;
    if(.@first$ == "Y")
    {
    getitem 12900,2; //battle manual
    getitem 12902,5; //bubble gum
    query_sql "UPDATE encodesystem SET first_login='N' WHERE char_id='"+getcharid(0)+"'";}
    } else {
Viewed 863 times, submitted by winzzzzz.