View Single Post
  #9  
Old 04-02-2008, 02:40 AM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

2 Things that will make it work using the If statements.

1st, use different items for each handin. Using the SAME item each time for each level seems to confuse the program. If there is a way to clear the items after handing them in and setting the new setglobal, before the next if statememt, then it may work.

To make it properly return the items if they are not correct, add a return;.

Code:
else
 {
    plugin::return_items(\%itemcount);
    return;
 }
__________________
Random Segments of Code....
Reply With Quote