What does <type> do?

 The <type> content means in short terms. Raw

$UserCommand 1 <context> <title>$<raw>|
 This number tells the client it sends a raw command.
 A raw command should always end with a pipe,
or else it will be discarded.
$UserCommand 2 <context> <title>$<raw>|
 This number is exactly the same as above, 
 except that the command only should be used once per %[nick].
 This is to prevent you from kicking more then one user 
 at the time. So this is only good in the fillist and search window.
        

What does <context> do?

 The contexts content tells the client where to put the command.
 In Userlist, hubtab, search window or the filelist window.
$UserCommand <type> <context> <title>$<raw>|
• 1 = Hubtab - This is good for !topic,+rules that dosen´t need a nick argument.
• 2 = Userlist - This can be used for all commands.
• 4 = Search window
• 8 = Filelist window -Note- In order for this to work,
      you need DC ++ 0.669 or newer. • Combine the contexts
 You can combine the contexts, so you get the command everywhere.
 Then you just count the numbers together like this. 1 + 2 = 3
 Userlist and Search window. 2 + 4 = 6
 Hubtab, Userlist, Search window. 1 + 2 + 4 = 7