Originally Posted By: Drai
Oh, is there a way I can apply it to the hostmask?
You can use mirc's auto-voice list dialog to store hostmasks, and then use this little code:
Code:
on @*:JOIN:#: {
  if ($avoice($fulladdress)) { mode $chan -v $nick }
}
In other words, you borrow mirc's auto-voice feature in conjunction with devoicing users.

To do that, go to mirc address book -> control tab -> see a drop-down box -> slide it down to "voice" -> don't tick the enable box or random dely op/voice -> click add -> and you put all the hostmasks there and then ok to save in nick!user@host format.

After you've done that, every time a user joins in, the script I've shown you above will check if the hostmask in the auto-voice dialog matches, and if it does, it'll devoice that user when he or she joins.