mIRC Home    About    Download    Register    News    Help

Print Thread
#209297 09/02/09 12:34 PM
Joined: Feb 2009
Posts: 2
Z
zNigel Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
Z
Joined: Feb 2009
Posts: 2
I was thinking of the /omsg command, and i'd like it to exlude network services such as Q && S etc.
Don't really know what else to write, since my "homenetwork" is quakenet and i don't know the services of other networks.

Anyways, i think it would be better.

zNigel #209298 09/02/09 01:17 PM
Joined: Jul 2006
Posts: 4,146
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,146
Ask a feature that is just related to one server/network could not be added this way since on other network Q and S could be simple users, use a script to do this :

Code:
alias xomsg {
var %msg = $iif($$2 ischan,$$3-,$2-), %chan = $iif($3,$2,$active) 
tokenize 32 $regsubex($str(x,$nick(%chan,0,o)),/x/g,$iif(!$istok(Q S $me,$nick(%chan,\n,o),32),$+($nick(%chan,\n,o),$chr(32))))
msg $* %msg
}
Same syntaxe as /omsg.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard