napalm` commented on a Page, /calc  -  Sep 24, 2008

This is untested, am typing it up at work.

alias calc {
  if (!$0) return
  elseif ($isid) return $calc($1-)
  else echo $color(info) -at * [/calc] $1- = $calc($1-)
}

Upon finally testing the above code I shortened it to one line.

alias calc if ($0) echo $color(info) -at * [/calc] $1- = $calc($1-)
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.