PewN Posted July 14, 2012 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
PewN Posted July 14, 2012 Author 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
Euphy Posted July 14, 2012 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
PewN Posted July 14, 2012 Author 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
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
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.