Start_ Posted June 14, 2013 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 19 hours ago Share Posted June 14, 2013 (edited) "if" can't check how to fix it? if (countitem(705)>=100 && countitem(711)>=100 && countitem(905)>=100 && countitem(914)>=100 && countitem(916)>=100 && countitem(511)>=100) goto L_Done; mes "[Geffen]"; close; L_Done: delitem 705,100; delitem 711,100; delitem 905,100; delitem 914,100; delitem 916,100; delitem 511,100; mes "[Geffen]"; close; Edited June 14, 2013 by TARTs Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 14, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 14, 2013 if(countitem(705) < 100 || countitem(711) < 100 || countitem(905) < 100 || countitem(914) < 100 || countitem(916) < 100 || countitem(511) < 100) goto L_Done; Quote Link to comment Share on other sites More sharing options...
Start_ Posted June 14, 2013 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 19 hours ago Author Share Posted June 14, 2013 (edited) Whoa I do opposite sign lol, Thanks. Edited June 14, 2013 by TARTs Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 14, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted June 14, 2013 if(countitem(705) < 100 || countitem(711) < 100 || countitem(905) < 100 || countitem(914) < 100 || countitem(916) < 100 || countitem(511) < 100) goto L_Done; LOL....."if the items is not sufficient...then..quest done...??" your mapserver will throw you a fews error for failed to remove "insufficient" items.. Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 14, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 14, 2013 if(countitem(705) < 100 || countitem(711) < 100 || countitem(905) < 100 || countitem(914) < 100 || countitem(916) < 100 || countitem(511) < 100) goto L_Done; LOL....."if the items is not sufficient...then..quest done...??" your mapserver will throw you a fews error for failed to remove "insufficient" items.. I just edited his script. Quote Link to comment Share on other sites More sharing options...
Start_ Posted June 14, 2013 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 19 hours ago Author Share Posted June 14, 2013 (edited) if (countitem(705)>=100 && countitem(711)>=100 && countitem(905)>=100 && countitem(914)>=100 && countitem(949)>=100 && countitem(511)>=100) goto L_Done; I edited to this and it's work now because something wrong on SQL database script:delitem failed bla bla bla Edited June 14, 2013 by TARTs Quote Link to comment Share on other sites More sharing options...
Question
Start_
Link to comment
Share on other sites
5 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.