You can make the shortcuts window visible by either clicking the "Shortcuts" buttons in your main tool-bar (usually at the top of the screen) or by typing "/show shortcut" in the chat window.
It should be a window with several already predefined buttons. You an create a new shortcut (or change an existing one) by right-clicking one of the buttons. That should get you a window where you can define the shortcut. First always give the shortcut a name there or it won't be saved if you close that window. In the "Enter command(s)" box you can type all the commands that should get executed by this shortcut. Put each command in a new line there. Example:
/advisor on
/advisor list
This would turn on the advisor mode and print out all open help requests.
For a description of all commands check the in-game help. Of course you can put commands that send text as chat as well (For example with the /say, /me or /auction commands)
With the "set" button at the top-right you can assign a key to this shortcut.
Now to what is not possible:
- You can't exchange the positions of shortcuts...so a good planning of shortcut groups might be good idea.
- The commands won't wait for the previous command to finish..means, you can't put two /cast commands in one shortcuts. It will only result in the first /cast command being executed and the second giving an error because your char is already casting a spell.
- There are only 200 different shortcuts...so you will run out of shortcuts pretty quickly. Might need to remove unused ones often again.
Last but no least..the shortcuts are defined in the <ps-config-directory>/options/shortcutcommands.xml file. In case of longer shortcuts it might be nice to edit that file directly with a text editor.
Edit: Actually I think all this should be described in the in-game help as well. At least I wrote a description for that in my version, not sure if it was included. The images I made of the process are for sure missing in the offical help though.