Good night. I would like to know where I set the variable for the first time for my npc give the item only 10 times.
I made it this far .. but now I was lost.
prontera,152,167,4 script [Tickets VIP] 63,{
if(#ticket >= 10) {
mes "^ FF0000 Enjoy our free VIP week! ^ 000000";
close;
}
mes "^ FF0000Welcome to the HonorBR ^ 000000 Server";
mes "===========================";
mes "I'll give you one";
mes "^0000FF Ticket de VIP^000000 (id: 35250).";
getitem 35250,1;
set #ticket, #ticket +1;
next;
mes "We hope you enjoy our";
mes "free VIP week. Any questions are just";
mes "ask there in our Discord!";
close;
}
Sorry for the simplicity of my npc .. I'm still learning.
Question
Tassadar
Good night. I would like to know where I set the variable for the first time for my npc give the item only 10 times.
I made it this far .. but now I was lost.
Sorry for the simplicity of my npc .. I'm still learning.
Thank you for your attention.
Link to comment
Share on other sites
4 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.