/expr

Usage:

/EXPR expression


Evaluates expression and prints its value. This is a shorthand for "/eval /echo -- $$[expression]".

Example:

command: /set x=4
command: /expr x * 2
output: 8

See: expressions


Back to index
Back to tf home page
Copyright © 1995 - 1999 Ken Keys