In my script I want to check if the first character of a parameter is the command prefix.
You can configure the command prefix under "other" in settings. It must be saved as some variable right?
I can define my own and then use %commandprefix but I'd rather use the one mIRC also uses.
My alias is like this:
alias np {
me now playing: $dde(mPlug,format,"%s")
if ($1 != $null) {
if ($left($1, 1) == VARIABLE) {
$1-
}
else {
say $1-
}
}
}
Can anyone help me with this?