All pastes #803547 Raw Edit

Something

public text v1 · immutable
·published 2007-12-02 10:05 UTC
rendered paste body
on *:text:!addquestion*:*: {
  if ($address($nick,2) == $address($me,2) || $nick == Supamagier || $nick == cnb6 || $nick == airforceowns) {
    if ($gettok($2-,6,124) != $null) {
      if (($chr(32) $+ $chr(124) !isin $1-) && ($chr(124) $+ $chr(32) !isin $1-)) {
        if ($gettok($2-,6,124) >= 4) { notice $nick 3Max 3 points per question! | halt }
        write trivia.txt $2-
        notice $nick 12 $2- 3added! 
        echo -s $gettok($2-,6,124)
      }
      else {
        notice $nick 3 Please don't use spaces when seperating two different things.
      }
    }
    else {
      notice $nick 3You should seperate everything with |, so 14question|hint13, and you 6cant give more than 3 points3 for a question.
      notice $nick 3In this order: 14Category12|14Question12|14Hint112|14Hint212|14Answer12|14Points
    }
  }
  else {
    notice $nick 3You Can't do this.
  }
}