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.
|