View Single Post
  #1  
Old 04-19-2019, 03:44 PM
t0neg0d
Sarnak
 
Join Date: Oct 2014
Posts: 31
Default $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)
Reply With Quote