Hello good night, I would like a script that puts the lv 10 account as soon as the person logs in for the first time and gets kicked to update.
Anyone who already has a lv 10 account doesn't need to do anything obvious.
I tried but was unsuccessful, could you help me?
Quote
- script acclv10 -1,{
OnPCLoginEvent:
if(#japegou != 1){
mes "Bem-vindo ao Oasis!";
mes "Vou te desconectar apenas para atualizar sua conta.";
close2;
query_sql "UPDATE `login` SET `level`='10', WHERE `account_id` = '"+ getcharid(3) +"'";
set #japegou,1;
atcommand "@kick "+strcharinfo(0);
end;
}else{
end;
}
}
Question
Xuranha
Hello good night, I would like a script that puts the lv 10 account as soon as the person logs in for the first time and gets kicked to update.
Anyone who already has a lv 10 account doesn't need to do anything obvious.
I tried but was unsuccessful, could you help me?
english
Link 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.