mIRC Home    About    Download    Register    News    Help

Print Thread
#74626 09/03/04 06:29 PM
Joined: Feb 2004
Posts: 19
X
xyz Offline OP
Pikka bird
OP Offline
Pikka bird
X
Joined: Feb 2004
Posts: 19
Hello,
just thought that maybe I should ask this here. Is there a way to set some channel *mute* so that client doesn't output the text on the channel window?

Thanks, peace crazy

#74627 09/03/04 06:41 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
alias mute { set %mute %mute $$1 }
alias unmute { set %mute $remove(%mute,$$1) }
on ^*:text:*:#:{
if $findtok(%mute,#,1,32) { haltdef }
else { echo # < $+ $nick $+ > $1- }
}


New username: hixxy
#74628 09/03/04 06:57 PM
Joined: Feb 2004
Posts: 19
X
xyz Offline OP
Pikka bird
OP Offline
Pikka bird
X
Joined: Feb 2004
Posts: 19
Thanks a lot dude, seems to work fine on the channel I wanted smile though it seems to echo everything twice on those chans I don't want to be muted confused

#74629 09/03/04 07:00 PM
Joined: Feb 2004
Posts: 124
T
Vogon poet
Offline
Vogon poet
T
Joined: Feb 2004
Posts: 124
that's because it doesn't need the else

alias mute { set %mute %mute $$1 }
alias unmute { set %mute $remove(%mute,$$1) }
on ^*:text:*:#: {
if $findtok(%mute,#,1,32) { haltdef }
}

#74630 09/03/04 07:06 PM
Joined: Feb 2004
Posts: 19
X
xyz Offline OP
Pikka bird
OP Offline
Pikka bird
X
Joined: Feb 2004
Posts: 19
Thanks a lot for your help guys, it works fine grin

#74631 09/03/04 09:14 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
For the sake of shortness (and performance), this one will do the job too:
  • On ^*:text:*:#chatzone,#park,#mirc_rainbow:haltdef
laugh

#74632 09/03/04 09:42 PM
Joined: Feb 2004
Posts: 19
X
xyz Offline OP
Pikka bird
OP Offline
Pikka bird
X
Joined: Feb 2004
Posts: 19
Hehe, thanks one more time for the answers smirk


Link Copied to Clipboard