Update plugin_exports.c

Added new plugin function to get slot number of the command invoker