EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Quests (https://www.eqemulator.org/forums/forumdisplay.php?f=624)
-   -   Is something wrong with this? (https://www.eqemulator.org/forums/showthread.php?t=9564)

09-26-2003 08:06 PM

Is something wrong with this?
 
EVENT_SAY{
if($1- =~ "Hail"){
SAY("Hi $name this is the swimming pool. Did you already master [swimming]?")
}
if($1- =~ "swimming"){
SAY("Just tell me and ill make you [master swimming] instantly!")
}
if($1- =~ "master swimming"){
SAY("You have now mastered swimming!")
setskill 50("252")}
}
/*END of FILE Zone:cshome ID:7301 -- Swim_instructor */



there something wrong with the setskill 50("252")} command I want the person to master swimming so how do I do this?

Scorpious2k 09-27-2003 12:08 AM

setskill("50","252")

09-27-2003 04:01 AM

-------

09-27-2003 04:22 AM

======

Scorpious2k 09-27-2003 06:38 AM

You're right. I checked the tutorial on our web site and the source. It isn't a command.

<thinking> maybe I should add it...

or you could just use addskill

09-28-2003 02:44 PM

you were right heres the correct way of doing it...



EVENT_SAY{
if($1- =~ "Hail"){
SAY("Hi $name this is the swimming pool. Did you already master [swimming]?")
}
if($1- =~ "swimming"){
SAY("Just tell me and ill make you [master swimming] instantly!")
}
if($1- =~ "master swimming"){
SAY("You have now mastered swimming")
addskill("50","252")}
}
/*END of FILE Zone:cshome ID:7301 -- Swim_instructor */

10-05-2003 01:30 AM

again i want to be smart :shock:


All times are GMT -4. The time now is 07:45 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.