Project

General

Profile

Actions

Scon » History » Revision 5

« Previous | Revision 5/6 (diff) | Next »
Per Amundsen, 02/16/2023 03:12 PM


Added in 1.9.0

/scon [-arstN] <N> [command]

Changes the active connection for a script to connection id N, where N is the Nth connection.
All commands after the /scon command will be performed on the new connection id.
If you specify the command parameter, the connection id is set only for that command.

Switches

Switch Description
-a Perform the command on all connection id's.
-r Resets the connection to the original id.
-s makes any called commands or identifiers show their results.
-tN limits the command to being performed only on servers with a certain connection status, where N is an OR'd value of 1 = server connected, 2 = not connected, 4 = connecting, 8 = not connecting.

Parameters

Parameter Description
<N> The Nth connection id.
[command] Command to execute on the connection.

Updated by Per Amundsen almost 2 years ago · 5 revisions

Also available in: PDF HTML TXT