User Commands
Command Types:
- Separator
- Adds a separator to the menu
- Raw
- Sends raw command to the hub (experts only, end it with '|'!)
- Chat
- Sends command as if you were typing it in the chat
- PM
- Sends command as if you sent it by pm
Context
Contexts determine where the command is shown.
- Hub Menu
- Hub tab (at the bottom of the screen) right-click menu
- Chat Menu
- User right-click menu in chat and PM tab menu
- Search Menu
- Search right-click menu
Parameters
- Name
- Name (use '\' to create submenus)
- Command
- Command text (may contain any of the variables listed below)
- Hub
- Hub ip as typed when connecting (empty = all hubs, "op" = hubs
where you're op)
- To
- Private Message recipient
- Only once
- Send only once per user from search frame
Variables
In the parameters, you can use %[xxx]
variables and date/time
specifiers (%Y, %m, ...). The following variables are also
available:
- %[mynick]: your own nick
- %[nick]: the user's nick (user & search context only)
- %[tag]: user tag (user & search context only)
- %[description]: user description (user & search context only)
- %[email]: user email (user && search context only)
- %[share]: user shared bytes (exact) (user && search
context only)
- %[shareshort]: user shared bytes (formatted) (user &&
search context only)
- %[ip]: user ip (if supported by hub)
- %[file]: filename (search context only)
- %[filesize]: file size (search context only)
- %[filesizeshort]: file size, short version including units
(search context only)
- %[line:reason]: opens up a window asking for "reason"
- %[mycid]: your ADC CID
- %[cid]: user's ADC CID