Jump to content

Latest Modified Folder


Hyflex
 Share

Recommended Posts

I fixed both errors

For the XGLog Error I had to add the following into the top of the function

$XGLogfile = FileOpen("XG Bot Logfile.txt", 1)

For the other Error I had to put the following inside the while loop

$MorningNotification = StringRegExpReplace(_DateAdd("n", -1 * $NotificationTime, @YEAR & "/" & @MON & "/" & @MDAY & " " & $MorningTime), ".*(\d\d:\d\d:\d\d)", "$1")
$EveningNotification = StringRegExpReplace(_DateAdd("n", -1 * $NotificationTime, @YEAR & "/" & @MON & "/" & @MDAY & " " & $EveningTime), ".*(\d\d:\d\d:\d\d)", "$1")

$XGDate = @MDAY & "/" & @MON & "/" & StringRight(@YEAR, 2) & " - " & @HOUR & ":" & @MIN & " - "
$ExportDate = @MDAY - 1 & "/" & @MON & "/" & StringRight(@YEAR, 2)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...