All pastes #809058 Raw Edit

Untitled

public text v1 · immutable
·published 2007-12-08 05:25 UTC
rendered paste body
on *:TEXT:*:#novus: {
  if ( !math isin $1- ) {  
  notice $nick Welcome to IRC Brain Age©! Say !Addition, !Subtraction, !Multi, or !Division for the respective math problem. !Random for a random problem. }
  if ( !addition isin $1- ) {
    set %randadd1 $rand(1,1000)
    set %randadd2 $rand(1,1000)
}
    notice $nick What is %randadd1 + %randadd2 $+ ?
    if ( $calc(%randadd1 + %randadd2) isin $1- ) {
      notice $nick Correct! Try again!
    }
}

This is just the beginning. I plan on making more for the other options :p