I want to edit the default alias for /quit, and i tested to use:
alias quit {
if (!$1) { qquit no quit message }
else { qquit $1- }
}
alias qquit { !quit $1- }
I also tested to just use:
alias quit {
if (!$1) { .quit no quit message }
else { .quit $1- }
}
But no luck, the thing i want to do is to ether send a default message if $1 == $null, or if $1 != $null send the message send by the users, how can i do this ?