Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-2005, 05:09 AM
sylverwolf
Sarnak
 
Join Date: May 2005
Posts: 54
Default small perl coding problem

geez. i must be asking one question per day. i feel like such a noob and all the help i got so far is much appreciated. this place rocks I stared at this for almost half an hour comparing to other .pl's trying to see if i missed a bracket somewhere but counted even. When I hail the npc, she responds appropriately but when i use the key words "wish to go", nothing happens. (3182 is the spellID for ring of knowledge) I also tried sefcast with no results. If anyone can take a glance at this and just point out what i did wrong, i can take it from there. Thx

Quote:
#Diarra Windrunner in qeynos2

sub EVENT_SAY {
if($text =~ /Hail/i) {
quest::say("Greetings. I am an acolyte of the seer of knowledge. We were sent to Norrath to provide transportation to this world. If you [wish to go], just tell me and I will use the seer's powers to transport you. Anytime you wish to return, just seek out the seer and she will send you back.");
}
if($text =~ /wish to go/i) {
quest::castspell($userid,3182); }
}
Reply With Quote
  #2  
Old 06-23-2005, 07:12 AM
kadrith
Fire Beetle
 
Join Date: Jun 2005
Posts: 3
Default

This worked for me; I didn't have a Diarra Windrunner so I simply ran it on one of the NQey merchants.

Code:
sub EVENT_SAY
{
	if($text=~/Hail/i)
	{
		quest::say("Greetings. I am an acolyte of the seer of knowledge. We were 

sent to Norrath to provide transportation to this world. If you [wish to go], just tell me 

and I will use the seer's powers to transport you. Anytime you wish to return, just seek 

out the seer and she will send you back");
	}
	if($text=~/wish to go/i)
	{
		quest::selfcast(3182);
	}
}
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:14 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3