lengchaileo Posted November 2, 2013 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 65 Reputation: 0 Joined: 04/12/12 Last Seen: March 4, 2020 Share 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 Link to comment Share on other sites More sharing options...
Whathell Posted November 3, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 116 Reputation: 4 Joined: 01/11/12 Last Seen: April 16, 2023 Share 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 Link to comment Share on other sites More sharing options...
lengchaileo Posted November 3, 2013 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 65 Reputation: 0 Joined: 04/12/12 Last Seen: March 4, 2020 Author Share Posted November 3, 2013 thanks for ur script, it have a little bit bug but i will fix it up.. Quote Link to comment Share on other sites More sharing options...
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
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.