There is no reason to use regex in this case at all.

A direct replacement:
Code:

if (($istok(panic trollman118,$nick,32)) && ($1 == *botadmin)) {




This is how I would do this in my code:

Code:

; Separate alias:
alias -l botadmins return panic trollman118

; In existing code:
if (($istok($botadmins,$nick,32)) && ($1 == *botadmin)) {



This method allows you to manage the botadmins by changing the space-delimited list in one location only. I usually put that /botadmins alias at the very top of my code so it is easy to locate.

-genius_at_work