Little help please :)
Any ideas why the following will not work?
Wrapping the statements in double (( )) I get the hail text but no items, Using single ( ) I get no response at all... and I am at my wits end right now with this. Code:
########(1.0 Rewarder) |
check for missing ;
I allready see one missing after quest::say("Sorry young $class, I am afraid you are too young still, please return to me when you are level 46.") and yes double () around insides of ifs and elses if (($text=~/Hail/i) && ($ulevel <=46)) |
Try this
Code:
|
Forgot to mention. sub EVENT_ITEM is only needed when someone if giving an item to the NPC.
|
Grrr, ok, I corrected the "((" issues and added the missing ;'s and would only get the text but no item, maybe that is what the deal was.
Your script worked perfectly! And I thank you for the help. New to perl but I am trying to learn :) Thanks guys! |
Out of curiousity, why do you not check $class to determine the item to summon as opposed to $text? If I am a rogue and I say "berserker" I get the berserker epic? Why would you do that? There are some circumstances where this might be appropriate, but for the most part I would think you'd want to give an appropriate epic to the appropriate class based on the class.
|
Quote:
Quote:
|
Hehe, yes, no other way to get epics for the bot army :)
|
And what benefits do the bots get from them? Do weapons on bots proc? I know that you can't use the clickies on bot items, so other than maybe special procs, such as the Ranger epic that procs a slow, what is there to gain from giving them the epic? "It looks cool" is an acceptable answer, like I said I'm just curious. Some folks come up with some really cool ideas for customization and I often am curious as to what purpose they want to do this or that. For the most part there are MUCH better weapons than the epics so I never even considered giving my bots epics.
|
Quote:
|
Quote:
|
Yeah, like Illusion: Troll!
*shudder* - Shendare |
Quote:
|
Just to have another option, some of the epic 1 procs are nice in the 40's early 50's, yes there are some better things around but again, its an option and I like to have options available which is why I love the Emu so :)
Even if me or another gets bored and wants a epic'd bot army, hey, it's possible :) Now to work out epic 1.5 and 2.0, I want them to be a bit harder than a hand out but not quite as involved as release... Thanks again for the help guys. |
Quote:
|
All times are GMT -4. The time now is 05:23 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.