I don't really understand what you're suggesting. Which bit is like the /timer command? And why would want to use $varname simply because you're writing 'PHP-like commands'?