I've never seen a calc script that doesn't reset the idle time, as all of them have to send a message to the server to display the results of the requested calculation.
The simplest calc script I've seen is
on *:text:!calc*:#:{
.msg $chan Calculation of $$2- is $calc($replace($$2-,x,*))
}