Is it possible to call a single raw event?

Let me explain what I want to know smile

When you whois someone the server returns all OR some of these RAW 301, 307, 310, 311, 312, 313, 317, 318, 319.

RAW 317 is the idle and signon time.

I am interested in a way to make the server send me only the idle time when I give a command.

Can this be done without changing the whois output?
I want to have the mirc standard whois answer, but if I use a command like "/idle nick", i need mirc to give me only this:
raw 317:*: { echo -d $2 - idle for: $duration($3) }