This will have to work:
if ($nick(#,$nick,~)) {
Check if the user mode prefix of the owners is indeed a ~, and if it is, you can place it as shown in my example.