mIRC Home    About    Download    Register    News    Help

Print Thread
#48203 09/09/03 10:35 AM
Joined: Jan 2003
Posts: 14
B
Pikka bird
OP Offline
Pikka bird
B
Joined: Jan 2003
Posts: 14
I am not really sure if this should be classified as a bug, but I noticed while I was using
the /scon -a commands that it doesn't always execute on all connections.
Since my 4th of 6 connections was disconnected, when I did /scon -a quit <message>
it all stopped on connection 4 since that gave the error * /quit: not connected to server.
A little annoying since it says it's going to execute on all connection IDs crazy


Sincerely,
babyorphan, #Lobby @ geekIRC
-------
bOS2 - IRC client
version; 1.07
#48204 09/09/03 11:07 AM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
/scon -at1 ...


Code:
//if ( khaled isgod ) echo yes | else echo no
#48205 09/09/03 01:12 PM
Joined: Jan 2003
Posts: 14
B
Pikka bird
OP Offline
Pikka bird
B
Joined: Jan 2003
Posts: 14
I guess I should have written that I know about -tM too, but that -a should
as far as it's written; (quote: "The -a switch performs the command on all connection ids.")
execute the command on all the connection ids.
I know I'm being picky, but oh well..


Sincerely,
babyorphan, #Lobby @ geekIRC
-------
bOS2 - IRC client
version; 1.07
#48206 10/09/03 01:15 AM
Joined: Sep 2003
Posts: 149
S
Vogon poet
Offline
Vogon poet
S
Joined: Sep 2003
Posts: 149
Try /scid -a it has always worked for me.


mIRC 6.21 - Win XP Pro (SP2) - 2.4 Ghz - 1 GB Mem
irc.x-tab.org
#48207 10/09/03 05:33 AM
Joined: Sep 2003
Posts: 149
S
Vogon poet
Offline
Vogon poet
S
Joined: Sep 2003
Posts: 149
I take that back, I just recently experenced this bug in one of my own scripts. I have made an alias to get around this.

Code:
 
alias ascon {
  set %x 1
  while (%x &lt;= $scon(0)) {
    if ($scon(%x).status == connected) {
      scon %x amsg [color:green]&lt;your text here&gt; [/color] 
    }
    else { scon %x echo -s 9&gt;12 Not Connected 9::12 Skipping Connection 9&lt; } 
    inc %x  
  }
}
 


mIRC 6.21 - Win XP Pro (SP2) - 2.4 Ghz - 1 GB Mem
irc.x-tab.org
#48208 11/09/03 10:54 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
You don't need all that. As theRat said, you can just use
Code:
/scon -a[color:red]t1[/color] amsg [color:green]&lt;your text here&gt;[/color]


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com

Link Copied to Clipboard