Ok, so you can try this. You might just consider the 15 gold as a donation if they are not wizard or they turn in the wrong item... That's what they get for trying to buck the system!!
Code:
sub EVENT_ITEM {
if (plugin::check_handin(\%itemcount, 1079 => 1) && ($gold==15)) {
if($class eq "Wizard") {
quest::exp(15);
quest::summonitem(15036);
quest::summonitem(15377);
quest::summonitem(15378);
quest::summonitem(15230);
quest::summonitem(15376);
}
else {
quest::say("You are no Wizard, and I know a Wizard when I see one!");
quest::summonitem(1079);
}
}
else {
quest::say("I have no use for this, $name.");
plugin::return_items(\%itemcount);
}
}