If the userid@ changes, then you want that part to be the wildcard. In $address(string,N), the N masks are shown in /help $mask

You probably want 2 or 4, depending on whether there needs to be a wildcard in the hostname too. If neither of them work, you may need a little bit of code to tweak the mibbit addresses into the wildmask you want.