View Single Post
  #2  
Old 01-08-2010, 12:43 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

You are missing brackets:

Code:
sub EVENT_SAY {
        if ($text =~/Hail/i)
        {
                quest::say ("Well Hello there $name would you like to (travel) to Blackburrow Or learn about the (quest) for Blackburrow?");
        }
        elsif ($text =~/travel/i)
        {
                quest::say ("$name ,Have fun on your jorney");
                quest::movepc(17,38.9,-156.9,-4.4);
        }
        if ($text=~/quest/i) {
                quest::say("Greetings, $name I have a [process]");
        }
}

sub EVENT_ITEM  {
        if (plugin::check_handin(\%itemcount, 16905 => 1, 16857 => 1, 10035 => 1))
        {
                quest::emote("removes a item from his pocket.");
                quest::say("This is yours. Care for it well!");
                quest::summonitem(10051); #ruby crown
        }
}
Reply With Quote