Project

General

Profile

Scon » History » Revision 3

Revision 2 (Per Amundsen, 02/15/2014 04:04 AM) → Revision 3/6 (Per Amundsen, 08/10/2015 09:05 AM)

_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 N'th 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* 

 -a = Perform the command on all connection id's. 
 -r = Resets the connection to the original id. 
 -s = TODO 
 -tN = limits the command to being performed only on servers with a certain connection status, where N is an "OR'd":https://en.wikipedia.org/wiki/Bitwise_operation#OR or'd value of 1 = server connected, 2 = not connected, 4 = connecting, 8 = not connecting. 

 *Parameters* 

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