PewN Posted July 14, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.05 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share Posted July 14, 2012 Hi everyone can anybody help me even the items is not there and i already have the other's but he delete the the item that i already have. what is the problem here? sorry for bad english mes "^FF00001,000x Phantasm Coins"; mes "1,000x Phantasm Tickets"; mes "500x Dark runes"; mes "500x Bloody runes"; mes "2x Black Dyestuff^000000"; next; if(countitem(7511)<500 && countitem(7539)<1000 && countitem(7227)<1000 && countitem(7563)<500 && countitem(983)<2) goto L_notenuf; delitem 7511,500; delitem 7539,1000; delitem 7227,1000; delitem 7563,1000; delitem 983,2; set mastery,1; getitem 21517,1; mes "[Job Mastery]"; mes "Congratulation!"; close; Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 14, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1130 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 14, 2012 It's ||, not &&. Quote Link to comment Share on other sites More sharing options...
PewN Posted July 14, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.05 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share Posted July 14, 2012 (edited) if((countitem(7511)<500) || (countitem(7539)<1000) || (countitem(7227)<1000) || (countitem(7563)<500) || (countitem(7036)<2)){ close; } else { delitem 7511,500; delitem 7539,1000; delitem 7227,1000; delitem 7563,1000; delitem 7036,2; set mastery,1; getitem 21515,1; mes "[Job Mastery]"; mes "Congratulation!"; close; awtz. my problem now is when i have all the items. the npc delete the 7511,7539,7227 but the 7563 and 7036 is still remain Edited July 14, 2012 by bVersatile Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 14, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1130 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 14, 2012 Why'd you put brackets...? You're missing one at the end, but you don't need them at all (or the 'else'). Quote Link to comment Share on other sites More sharing options...
PewN Posted July 14, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.05 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share Posted July 14, 2012 (edited) awtz. my problem now is when i have all the items. the npc delete the 7511,7539,7227 but the 7563 and 7036 is still remain if(countitem(7511)<500 || countitem(7539)<1000 || countitem(7227)<1000 || countitem(7563)<500 || countitem(7036)<2) goto L_notenuf; delitem 7511,500; delitem 7539,1000; delitem 7227,1000; delitem 7563,1000; delitem 7036,2; set mastery,1; getitem 21515,1; mes "[Job Mastery]"; mes "Congratulation!"; close; my new code. doesn't work bump! THX EUPHY PROBLEM SOLVED ! Edited July 14, 2012 by bVersatile Quote Link to comment Share on other sites More sharing options...
Question
PewN
Hi everyone can anybody help me
even the items is not there and i already have the other's but he delete the the item that i already have. what is the problem here?
sorry for bad english
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.