Just by coincidence, that expression is in a script example found in this thread here :
http://www.eqemulator.org/forums/sho...d.php?p=199896
I have no idea if it's relevant to this issue. Just digging.
Quote:
Originally Posted by trevius
Here is a fairly simple example of using these 2 plugins together:
Code:
sub EVENT_ITEM_CLICK {
if (!$client->EntityVariableExists(15) || plugin::GetTimeLeft($client->GetEntityVariable(15), "S") == 0)
{
# Do your spell script here
# ...
# Then set the new end time for the recast delay here
my $EndTime = plugin::GetEndTime("S5");
$client->SetEntityVariable(15, $EndTime);
}
else
{
$client->Message(13, "Spell recast time not yet met.");
}
}
Basically, in this example, you are just using these plugins to create and enforce a recast delay within an item click script, which otherwise would not have a simple way to set a recast delay on.
|