this is what I have:
Code:
ON *:TEXT:!calc*:#roflmao:{ 
    if ($3 == -) {
      Set %num $2 - $4
      timer1 1 2 msg # %num
      halt
    }
    if ($3 == +) { 
      Set %num $2 + $4
      timer1 1 2 msg # %num
      halt
    }
    if ($3 == *) { 
      Set %num $2 * $4
      timer1 1 2 msg # %num
      halt
    }
    if ($3 == /) { 
      Set %num $2 / $4
      timer1 1 2 msg # %num
      halt
    }
    if ($3 == of) { 
      Set %num $2 ? $4
      timer1 1 2 msg # %num
      halt
    }
}

how can I set this to accept percentage?
like: !calc 13% of 1025