To my knowledge, the only way to do this, would be to send a message that the server recognizes once a second. Note: This will also delay anything else that you may be trying to do on IRC.
Realistically it's not worth the trouble, and, on some networks, artificially altering your network idle time can get you killed or banned.