RS - get current plugin command

Thanks menno, a general stats module for plugins - would also be very useful !

Keith