View Single Post
  #2  
Old 08-03-2010, 07:05 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Code:
sub EVENT_SPAWN {
  quest::set_proximity($x - 5, $x + 5, $y - 5, $y + 5);
}

sub EVENT_ENTER {
  quest::say("Hey, $name just entered my 10 x 10 box.");
}

sub EVENT_EXIT {
  quest::say("Goodbye, $name.");
}
Reply With Quote