I'm trying to write a FARR plugin using FScript. Other plugins I've seen have used aliases to trigger the action of the plugin itself, but I'm having issues wrapping my head around what these plugins are actually doing. The documentation isn't telling me very much about how to interpret that, unfortunately.
For instance, in my plugin, the user can type in 'pinfo explore'. The only result my plugin returns for that is "Search for $$1". Upon pressing enter, the plugin should run a query using the specified parameter. I can't even figure out how to make my plugin accept a parameter, let alone trigger anything with it! Any help, please?