<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Scid</id>
	<title>Scid - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Scid"/>
	<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=Scid&amp;action=history"/>
	<updated>2026-06-04T10:17:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=Scid&amp;diff=4456&amp;oldid=prev</id>
		<title>Doomie at 17:27, 17 December 2005</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=Scid&amp;diff=4456&amp;oldid=prev"/>
		<updated>2005-12-17T17:27:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Changes the active connection for a script to connection id N, where N is a $cid value.&lt;br /&gt;
 /scid &amp;lt;-rsatM | N&amp;gt; [command]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039; that all commands after the /scid command will be performed on the new connection id.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Explanation of the switches (-a and -tM can only be used if you specify a command):&lt;br /&gt;
{| style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:10%&amp;quot; | &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Switch&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; || Style=&amp;quot;width:90%&amp;quot; | &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Meaning&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| r      || resets the connection id to the original id for that script.&lt;br /&gt;
|-&lt;br /&gt;
| a     || performs the command on all connection ids.&lt;br /&gt;
|-&lt;br /&gt;
| tM      || limits the command to being performed only on servers with a certain connection status, where M is an or&amp;#039;d value of 1 = server connected, 2 = not connected, 4 = connecting, 8 = not connecting. The command is only performed if M matches the connect status of the connection id.&lt;br /&gt;
|-&lt;br /&gt;
| s      || makes any called commands or identifiers show their results.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039; that if you use a command that contains $identifiers, and you want the identifiers to be evaluated in the target connection, you must pass them as $!identifier to prevent them from being evaluated first in the current connection.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
 scid 1 [[echo]] -s My nick is $!me&lt;br /&gt;
This would echo your nick from the connection with the cid 1 in the status window of this connection .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 scid 1 echo -s My nick is $me&lt;br /&gt;
This example would echo the nick of the currently active connection in the status window of connection with the cid 1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 scid -a echo -a This is $!network&lt;br /&gt;
This would echo all your networks in your active window. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Multi-server]]&lt;/div&gt;</summary>
		<author><name>Doomie</name></author>
	</entry>
</feed>