Oh, is there a way I can apply it to the hostmask?
Like was set, you can't devoice a hostmask directly. However, you can simply check if a voiced nick matches a certain hostmask and if it does, devoice it.
if ($address($vnick,2) == *@host)
See /help $mask for different hostmask types.