Originally Posted By: Riamus2

Keep in mind with !calc that it will mostly only do basic calculations. Also, someone can verify if that is safe how I have it set up. I removed $ and | which should prevent any improper use of the command, but there may be other things that should be considered with such a command that I'm not thinking of.


$calc($$2-) would be completely safe; the only potentially undesirable behaviour that could occur is evaluation of variables.


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde