This is for Blue Server. Relay Server has the same expression, but removed, here.

N        In Lacewing Blue Server, this expression returns the number of seconds since the currently selected client had their connection approval message sent, rounded down.


The expression returns -1 when there is no client selected, and before the approval message is sent.

The connection time is set when the approve response is sent to approve the connection, at step 4 of the Lacewing connection handshake.

So in the Connection > On connect request event for that client, this expression will only be valid if connect request handling mode is set to an auto-approve mode.

If connect request handling mode is set to wait for Fusion and not denied, it will still be -1 as the approval message isn't sent until the event finishes.


You can pass the returned number of seconds to the Seconds to HMS object to convert it to hours, minutes and seconds, or do the math yourself with Fusion's mod and divide operators:

  1. Read hours from Floor(totalSeconds / 3600)
  2. Change totalSeconds to totalSeconds mod 3600
  3. Read minutes from Floor(totalSeconds / 60)
  4. Read seconds from totalSeconds mod 60