Inc (MPI)

From Tapestries MUCK
Jump to navigationJump to search

inc

{inc:var}
{inc:var,val}

Increments the value of the given variable by one, returning the result.

If a value argument is given, then it will add that value to the variable, instead of the value 1.