EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Bugs (https://www.eqemulator.org/forums/forumdisplay.php?f=622)
-   -   Feature request: $wp (https://www.eqemulator.org/forums/showthread.php?t=12822)

Shadow-Wolf 04-03-2004 05:20 PM

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.

dark_one 04-05-2004 09:27 AM

np
 
np ("thanks for reading")


All times are GMT -4. The time now is 07:49 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.