rencro, that would be FANTASTIC if you would take the time to code that for our server. I will indeed need some way to turn the daytime buff off and replace with the night buff, but hadn't gotten that far in my own thinking yet.
Code:
sub EVENT_ENTER_ZONE {
if (!defined $qglobals{$zonesn}) {
quest::gmsay("$name has discovered the zone $zoneln.", 335, 1, 0, 0);
quest::setglobal($zonesn, 1, 7, "F");
}
quest::settimer("Zoned", 5);
}
sub EVENT_TIMER {
if ($timer eq "Zoned") {
quest::stoptimer("Zoned");
if ($zonesn=~/Nexus/i && !defined $qglobals{"NexusBind"}) {
quest::selfcast(35);
quest::setglobal("NexusBind", 1, 5, "F");
}
if ($zonetime > 599 && $zonetime < 1900) {
$client->Message(12, "The time is right");
quest::selfcast(992);
} else {
$client->Message(13, "Be very afraid of the dark");
}
}
}