Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-22-2004, 12:08 PM
Guest
 
Posts: n/a
Default Code

Code:
EVENT_SAY { 
if ($1-=~ "Hail") { say("Hello $name . Would you like a few buffs? wW got [Sow] a [Regen] and a [Hp] [Haste] [DS] [Mana] [Str] [STA] [AGI] [DEX] [CHA] [LEV] buff ATM. Oh would you like a [Bind]Do yea need a [Heal]?."); }
if ($1-=~ "Sow") { say("Sow it is.");
castspell($userid,278); }
if ($1-=~ "Regen") { say("A regen it is.");
castspell($userid,145); }
if ($1-=~ "Hp") { say("So you want Hp ok here we go.");
castspell($userid,423); }
if ($1-=~ "Haste") { say("So you want to hit fast do yea?.");
castspell($userid,172); }
if ($1-=~ "Mana") { say("Some mental help is on the way.");
castspell($userid,174); }
if ($1-=~ "Str") { say("Ok now go bodybuild man.");
castspell($userid,429); }
if ($1-=~ "Bind") { say("Welcome staying for awile?.");
castspell($userid,2049); }
if ($1-=~ "Heal") { say("Heres some healing power.");
castspell($userid,13); }
if ($1-=~ "DS") { say("OWW don't want to touch you?.");
castspell($userid,432); }
if ($1-=~ "STA") { say("Now go for a Run!?.");
castspell($userid,279); }
if ($1-=~ "CHA") { say("Now dosen't everyone like you??.");
castspell($userid,155); }
if ($1-=~ "DEX") { say("Now you could hit an apple off my head?.");
castspell($userid,157); }
if ($1-=~ "AGI") { say("Hit hit hit?.");
castspell($userid,148); }
if ($1-=~ "LEV") { say("Fly.");
castspell($userid,457); }
}

If there is anything wrong with this can you fix it? so i can learn from my mistakes
Reply With Quote
  #2  
Old 01-22-2004, 01:38 PM
Cyril Gray
Fire Beetle
 
Join Date: Jan 2004
Posts: 4
Default

I'm not much of a Perl quest script coder yet, but I would look at this thread:

http://www.eqemulator.net/forums/viewtopic.php?t=12020

Specificallly, the section on Lurker_005's "work in progress" default.pl.
__________________
- Cyril Gray
Reply With Quote
  #3  
Old 01-22-2004, 02:14 PM
Guest
 
Posts: n/a
Default

Well thank you that was SOOOO much help i read that i am just double checking
Reply With Quote
  #4  
Old 01-22-2004, 04:35 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

The above example is NOT in perl quest format. Which is fine if your not running perl :o

Anyhow, it looks pretty good for a qst format file.
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #5  
Old 01-23-2004, 09:04 AM
Guest
 
Posts: n/a
Default

ALright thanks
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 01:43 PM.


 

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