View Single Post
  #2  
Old 08-02-2009, 10:03 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

The first one is most likely telling you it is not defined. Before $qglobals, check if defined before checking value.
Code:
if (defined($qglobals{qviclevel}) && $qglobals{qviclevel} == 15 &&  $ulevel == 70)  {
For the second one, it is better to use the plugin.
Code:
if (plugin::check_handin(\%itemcount, 99711 => 1)) {
Reply With Quote