Thread: Quest Problem
View Single Post
  #6  
Old 11-19-2004, 05:25 AM
Kroeg's Avatar
Kroeg
Hill Giant
 
Join Date: Oct 2003
Posts: 241
Default

Aye, just caught that... probably because that's a sort of messy way to write a quest =]

sub EVENT_SAY {
if($text =~/Hail/i){
quest::say("Test"); }

if($text =~/Test/i){
quest::say("Test1"); }

if($text =~/Test1/i){
quest::say("Test2"); }

if($text =~/Test2/i){
quest::say("Test3"); }

if($text =~/Test3/i){
quest::say("Test4");
quest::setguild (12 , 0);
quest::surname (Test);
quest::signal(2093);
quest::signal(2034);
quest::signal(2066);
quest::echo(TestTestTest);} <-- quest::echo(TestTestTest) shouldn't need quotes
}

This is how I'd typically write a quest, so it's easy to tell what is doing what. Smooshing everything in one line has always messed me up. Thanks for correcting me.
Reply With Quote