I trying to make my own alias for /quit, how ever i got a small problem, this is how the code looks like:
Code:
quit {
  if ($1) { 
    .!quit $1-
  }
  else {
    .!quit Time wasted: $duration($online)
  }
}

and it would use /quit $1- if a value for $1 is given, how ever it return my nick when i use it, how come it dosent grab the value from $1- ? it woking ok if i dont give a value for $1 , then it quit with Time wasted: $duration($online) , i use ! so it wouldent be any alias that made it return my nick instead of $1-, ideas?