EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   $zonehour, $zonemin equiv in Lua? (https://www.eqemulator.org/forums/showthread.php?t=42406)

t0neg0d 04-19-2019 03:44 PM

$zonehour, $zonemin equiv in Lua?
 
Actually... is there a anywhere to see the equivalent of Perl exported variables in Lua?

Reference:
$zonehour is 0-23 representing the hour of the day.
$zonemin represents the current minute within that hour.

In Lua, this would be?

EDIT: There is a function for setting the time (I assume) eq.set_time(int hour, int min);
But nothing for getting the current time (that I can find)


All times are GMT -4. The time now is 11:14 AM.

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