Thank you all for your help.

I'm sure Froggie that your script will run fine, I didn't test it yet, because with Matti's solution my scripts run well enough right now:

On Text

on *:TEXT:!Test:#doctor_mandarb: {
if ($nick == doctor_mandarb) {
; Whatever the command is doing
}
}

On Whisper

on $*:PARSELINE:in:*WHISPER*!test*:{
var %nick $msgtags(display-name).key
if (%nick == doctor_mandarb) {
; Whatever the command is doing
}
}

Since it's only 1 extra line to grab the nick (when it's a whisper command), I don't need to rewrite a lot and can keep my scripts more or less how they are.

Not that I'm going to change to much, but a few of those bot reactions did spam to much on my channel.

Thanks again to Wims for rcvd: $parseline !!! That one does come in handy too, when looking for certain other things within the string.

Again much thanks to all for the quick answers. That did save me some time, and now I can use the weekend to focus on the scripts and commands themself.

Greetings,
Mandarb