Project

General

Profile

Scid » History » Version 5

Per Amundsen, 02/23/2023 07:34 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*/scid [-arstN] <N> [command]*
4
5
Changes the active connection for a script to connection id N, where N is a $cid value.
6
All commands after the /scid command will be performed on the new connection id.
7
If you specify the command parameter, the connection id is set only for that command.
8
9 5 Per Amundsen
_See also [[/scon]], [[$scon]], [[$scid]]._
10
11 1 Per Amundsen
*Switches*
12
13 4 Per Amundsen
table(ktable).
14
|*Switch*|*Description*|
15
| -a | Perform the command on all connection id's. |
16
| -r | Resets the connection to the original id. |
17
| -s | makes any called commands or identifiers show their results. |
18
| -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. |
19 1 Per Amundsen
20
*Parameters*
21
22 4 Per Amundsen
table(ktable).
23
|*Parameter*|*Description*|
24
| <N> | The connection id. |
25
| [command] | Command to execute on the connection. |