Class Specific Items
So am trying to write a basic little quest that gives an item based on the players class. Havent been able to find much info regarding it but this is what Im currently using. It doesnt summon anything it just says item 0 doesnt exist for some reason.
Code:
sub EVENT_SAY { |
$rewards{$class}
if you want to find simple mistakes like this just open a command prompt in the folder that has the perl script and just type... perl -cw scriptname.pl This will show any errors as well as give warns like... how you are using a variable that is undefined because of a typo |
Thanks Nate. Couldnt remember how to do that so I appreciate the tip as well! Cant believe I completely missed that lol
|
All times are GMT -4. The time now is 04:18 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.