Sup people.
I'm trying to create a npc that will update the emails and I don't know what is wrong...
Here is the script.
prontera,156,145,4 script Test NPC::test 589,{set.@accountid,getcharid(3);
mes "Do you want to register your email to receive our news?";
menu "Let's go!",-,"Nah, I'm okay.",L_No;next;
mes "Type your email.";
input (.@email,5,39);
query_sql ("UPDATE `login` SET `email` VALUE "+.@email" WHERE `account_id` LIKE "+.@accountid+"");next;
mes "Muito bem seu e-mail foi cadastrado/atualizado!";
close;
L_No:
mes "Tudo bem."
close;}
Question
LordJasz
Sup people.
I'm trying to create a npc that will update the emails and I don't know what is wrong...
Here is the script.
Is anything right at least? Lol
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.