You should be using the iswm comparator, rather than the isin comparator for the comparisons that use wildcards.
If you want to reference the literal character * in those locations, then you have to change your match method, so that mIRC knows you want the literal character, rather than using it as a wildcharacter, whihc is mIRC's default.
For the literal comparison, change *hi*ohm* to $+($chr(42),hi,$chr(42),ohm,$chr(42))