mIRC Homepage
Posted By: veritas /scid ?? - 22/09/03 08:49 PM
Hiya peepz,
I'm trying to create something that displays server messages into the active window of the server in which they got triggered.

I made something like this:
/scid %tmp.cid echo $colour(notice text) -at [server notice] $1-

Yet, the message still gets displayed into my current active window. Anybody know what I'm doing wrong here?
Posted By: r0ck0 Re: /scid ?? - 22/09/03 08:55 PM
Code:
alias aecho echo $iif($cid == $activecid,-a,-s) $1-


to test it .. in a channel or query window or something
type /scid -at1 aecho test

that will echo to the active window on the active CID and to the status window of the other CID

your echo command with the -a switch will make it echo to the active window no matter if active window is different CID or not.
Posted By: veritas Re: /scid ?? - 22/09/03 09:28 PM
thanks for your quick answer.
but...

Your script doenst do the stuff I want it to.
I want the server messages to be displayed into a window of the server in which they got triggered.
Posted By: r0ck0 Re: /scid ?? - 22/09/03 09:34 PM
Code:
on *:SNOTICE:*:echo $color(notice) $iif($cid == $activecid,-at,-bflst) $+(-,$nick,-) $1-


that will make it echo to active window if the active CID is same as the event CID .. it will echo to status window of event CID if active CID is not same as event CID.
Posted By: veritas Re: /scid ?? - 22/09/03 09:43 PM
r0ck0, you've been a big help!
Thanks smile
Posted By: r0ck0 Re: /scid ?? - 22/09/03 09:47 PM
mp smile
© mIRC Discussion Forums