All pastes #608748 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-07-08 14:01 UTC
rendered paste body
on *:TEXT:@calc*:#: { 
  if ($2- == $null) { 
    msg $chan You needed a calculator to figure that out? 
  } 
  else { 
    msg $chan  $+ $2- = $bytes($calc($replace($2-,x,*,k,000,m,00000,pi,$pi)),bd) $+ .
  } 
} 
on *:TEXT:!sqrt*:#: { 
  if ($2 == $null) { 
    notice $nick  You needed a calculator to figure that out? 
  } 
  else { 
    notice $nick The square root of $2- is $sqrt($2-) $+ .
  }
}
on *:TEXT:!calc*:#: { 
  if ($2- == $null) { 
    notice $nick You needed a calculator to figure that out? 
  } 
  else { 
    notice $nick  $+ $2- = $bytes($calc($replace($2-,x,*,k,000,m,00000,pi,$pi)),bd) $+ .
  } 
} 
on *:TEXT:@sqrt*:#: { 
  if ($2 == $null) { 
    msg $chan  You needed a calculator to figure that out? 
  } 
  else { 
    msg $chan The square root of $2- is $sqrt($2-) $+ .
  }
}