Ok, I created a script which is supposed to make one NPC be capable of leveling and setting skills, but it doesn't work. Could someone please tell me what's wrong? I saved this file in c:\eqemu\Binary\quests\Arena\7166.qst. 7166 is the ID of the NPC in arena which is supposed to level and set skills. Are the if and say lines supposed to be seperate? Are the brachets correct?
EVENT_SAY {
if ($1- =~ "Hail") {
say("Greetings $name! Would you like me to [level] you or set your [skills]?") }
if ($1- =~ "level") {
say("Congratulations on level 65!") }
level($userid,65) }
if ($1- =~ "skills") { say("I have set your skills to 252 - enjoy!") }
addskill(0, 252) }
addskill(1, 252) }
addskill(2, 252) }
addskill(3, 252) }
addskill(4, 252) }
addskill(5, 252) }
addskill(6, 252) }
addskill(7, 252) }
addskill(8, 252) }
addskill(9, 252) }
addskill(10, 252) }
addskill(11, 252) }
addskill(12, 252) }
addskill(13, 252) }
addskill(14, 252) }
addskill(15, 252) }
addskill(16, 252) }
addskill(17, 252) }
addskill(18, 252) }
addskill(19, 252) }
addskill(20, 252) }
addskill(21, 252) }
addskill(22, 252) }
addskill(23, 252) }
addskill(24, 252) }
addskill(25, 252) }
addskill(26, 252) }
addskill(27, 252) }
addskill(28, 252) }
addskill(29, 252) }
addskill(30, 252) }
addskill(31, 252) }
addskill(32, 252) }
addskill(33, 252) }
addskill(34, 252) }
addskill(35, 252) }
addskill(36, 252) }
addskill(37, 252) }
addskill(38, 252) }
addskill(39, 252) }
addskill(40, 252) }
addskill(41, 252) }
addskill(42, 252) }
addskill(43, 252) }
addskill(44, 252) }
addskill(45, 252) }
addskill(46, 252) }
addskill(47, 252) }
addskill(48, 252) }
addskill(49, 252) }
addskill(50, 252) }
addskill(51, 252) }
addskill(52, 252) }
addskill(53, 252) }
addskill(54, 252) }
addskill(55, 252) }
addskill(56, 252) }
addskill(57, 252) }
addskill(58, 252) }
addskill(59, 252) }
addskill(60, 252) }
addskill(61, 252) }
addskill(62, 252) }
addskill(63, 252) }
addskill(64, 252) }
addskill(65, 252) }
addskill(66, 252) }
addskill(67, 252) }
addskill(68, 252) }
addskill(69, 252) }
addskill(70, 252) }
addskill(71, 252) }
addskill(72, 252) }
addskill(73, 252) }
}
|