View Single Post
  #1  
Old 04-03-2004, 05:20 PM
Shadow-Wolf
Dragon
 
Join Date: Oct 2003
Posts: 511
Default Feature request: $wp

ok im setting up a begger in kelethin(base off of WTF comics and when he gets to one of his waypoints he begs for loot,plats,or help. The problem is i dont want him saying the same thing every time he gets to a waypoint, so i was wondering if a new variable $wp could be added that equals the waypoint number hes stepping on. to show you what i mean and how it could be used here is an example:
sub EVENT_SAY
{
if ($text=~/Hail/i)
{
quest::say("Hail $name, Do you have any spare loot?");
}
}

sub EVENT_WAYPOINT
{
if ($wp == 1)
{
quest::say("Hello sir, Do you have any spare loot?");
}
}

If a variable like this exists please tell me so because i cant seem to find anything like it. Thanks for reading.
Reply With Quote