View Single Post
  #4  
Old 04-13-2004, 11:47 PM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

It is mainly used for if statements, so you can check the player has a high enough faction before the quest continues:

Code:
sub EVENT_SAY
{
  if(($text =~ /Hail/i) && ($faction >= 3))
    {
      quest::say("Do you think I ave time to talk to people like you?.");
    }

  elsif(($text =~ /Hail/i) && ($faction < 3))
    {
      quest::say("Greetings, $name.");
    }
}
__________________

kRPG Profile
Reply With Quote