Lua → VBScript SwxWare v13.10
This function returns the current script users' logged in status.
if (IsLoggedIn() == true) then -- do something else -- do something else end
or if being used directly within a GSE property dialog, e.g. in an Evaluate block to directly evaluate the logged in status and place it the block exits:
This function returns a boolean value.
This function can be called at any time within the call routing script.
The current login state will be requested making use of the Server Script API function PBXUser.IsLoggedIn().
By Tom Wellige