PythOn you can use
for channel owner only:
if ($nick isin #) {
OR
for bot owner
if ($nick == yournick) {
hope this helps