An extension to this, owners are always the same $nick as the #channel name on twitch. Example (nillens and #nillens) So for my own script where I use userlevels I have a check for
and from an ini file.
But what I believe Majeye was looking for was a simple if statement like:
if ($nick != username) return
and I suggest you read the help files regarding these matters.
/help if then else
/help $nick
etc