hipDCCs Plugin

OverView

This plugin provides a variety of DCC-related functions.

Okay, so that's basically a foolish lie, there is no hipDCCs plugin. But I think there will be soon. For now, there's one command related to DCCs, and while it actually lives in the hipScriptLib2 plugin for now, this seems like the right place to document it.

/dccprotocol command
/dccprotocolq command

/dccprotocol
/dccprotocol [push] [ text | binary | macbinary ]
/dccprotocol pop

This command displays or changes the current DCC send protocol. Without any arguments, it shows the current protocol, otherwise it changes the protocol and displays what the new protocol is. If you use the command name "/dccprotocolq" it changes the protocol without displaying anything ('q' for "quiet").

When changing the DCC protocol, you can optionally use the word "push" before the new protcol. This causes HipScript to remember the current protocol and switch to the new protocol you set. You can then later use "pop" to restore the prior protocol. This is useful mainly in complex aliases you create. For example, say there's an application you find youself sending to Mac users a lot to fix some problem and you want to create an alias to send it easily. You might set the alias up like this:

/alias sendfix /dccprotocolq push macbinary\n/dcc send $selecteduser MacHD:Files:Q3Fixer\n/dccprotocolq pop

You should always ensure that you have a "pop" for every "push" you've done. HipScript will remember any number of "push" changes, but if you forget to pop back to the prior saved protocol you'll be wasting memory.

You can abbreviate binary to bin and macbinary to mac when changing protocols.