lengchaileo Posted November 2, 2013 Posted November 2, 2013 when character lvl < 10 give item A when character lvl between 11 - 20 give item B and delete item A Thanks for reading Quote
Whathell Posted November 3, 2013 Posted November 3, 2013 new_1-3,100,52,4 hadghadf 729,{ if (BaseLevel < 11 || rcvitem = 0){ getitem 501,1; //item A set rcvitem,1; end; } if (BaseLevel > 10 || rcvitem2 = 0){ getitem 502,1; //item B delitem 501,1; //delete item A set rcvitem2,1; end; } mes "[NPC]"; mes "You have received the items available for your level"; close; } try this one, I can't check it so just tell me the errors you'll get. added a check so players can't abuse the item you are giving them (talking to npc many times) edit to your preference. Quote
lengchaileo Posted November 3, 2013 Author Posted November 3, 2013 thanks for ur script, it have a little bit bug but i will fix it up.. Quote
Question
lengchaileo
when character lvl < 10 give item A
when character lvl between 11 - 20 give item B and delete item A
Thanks for reading
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.