Log - Use of uninitialized value...
I edited most of my quest to do globals the right way, and now I'm getting a new error, just wondering how I can fix it.
Quote:
Code:
if ($qglobals{qviclevel} == 15 && $ulevel == 70) { Quote:
Code:
if ($itemcount{99711} == 1) { Any insight how to fix the errors from showing up would be appreciated. |
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) { Code:
if (plugin::check_handin(\%itemcount, 99711 => 1)) { |
Thanks much !!!
|
All times are GMT -4. The time now is 09:22 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.