By the way, you can ignore the first 3 lines in the On Text trigger.
Well, you could have done it as:
on 1:Text:!calc *:*: {
if ((!$isOnExceptionList($chan)) && (!$flood) && (!$evilreply)) {
msg # Calc: $2- = $calc($2-)
}I'm looking for a way to take the $2-, and have it find every mathematical operator, change it to the appropriate identifier (deleting all instances of the $ character before doing creating the identifiers)
Sounds like you should be able to use $regsubex and $replace for this operation.