mIRC Homepage
Posted By: xyz Mute option? - 09/03/04 06:29 PM
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
Posted By: tidy_trax Re: Mute option? - 09/03/04 06:41 PM
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- }
}
Posted By: xyz Re: Mute option? - 09/03/04 06:57 PM
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
Posted By: TonyTheTiger Re: Mute option? - 09/03/04 07:00 PM
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 }
}
Posted By: xyz Re: Mute option? - 09/03/04 07:06 PM
Thanks a lot for your help guys, it works fine grin
Posted By: Online Re: Mute option? - 09/03/04 09:14 PM
For the sake of shortness (and performance), this one will do the job too:
  • On ^*:text:*:#chatzone,#park,#mirc_rainbow:haltdef
laugh
Posted By: xyz Re: Mute option? - 09/03/04 09:42 PM
Hehe, thanks one more time for the answers smirk
© mIRC Discussion Forums