quest::settime
quest::settime
Explaination: Changes the time in the zone changing the sky and lighting depending on the time set.
Full Command: quest::settime(hour,minutes)
Hour = The hour of the day in a 24 hour schedule (1:00pm = 13:00)
Minutes = The Minutes into the hour set before it.
Example:
# After hailing the NPC the time is set to five after midnight.
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::settime(0,5);
}
}
|