You should probably use:
if ($class eq "Shaman") {
In perl == is for numeric comparison so you are comparing a string to list of chars. In most cases it will work just because of what perl is doing behind the scenes, but your results may be inconsistent.
As for your zoning thing, it may be that you are trying to summon too many items at once, but I don't know that for sure. That may be causing it do something funny in the client. You could try to separate your armor stuff into categories so that you have to hail a couple of times to get all of it. Might be worth a try.
|