Custom user commands - HiT-Hi-FiT-Hai/hhfh-docs GitHub Wiki

Syntax

$UserCommand <type> <context> <details>|

Arguments

<type>

It defines What is the command?

0 = separator
1 = raw - Most Commands
2 = mainchat - File Related Commands - to prevent sending command more than once in search results
255 = erase all previous commands

<context>

It defines What is the command for?

1 = Hub Command - Hub Settings etc...
2 = User Command - User List - commands with %[nick]
4 = File Command - Search Window
8 = List Command - Filelist Window
3 = 1 + 2 = Hub and User
5 = 1 + 4 = Hub and File
6 = 2 + 4 = User and File
7 = 1 + 2 + 4 = Hub, User and File
9 = 1 + 8 = Hub and List
10 = 2 + 8 = User and List
11 = 1 + 2 + 8 = Hub, User and List
12 = 4 + 8 = File and List
13 = 1 + 4 + 8 = Hub, File and List
14 = 2 + 4 + 8 = User, File and List
15 = 1 + 2 + 4 + 8 = Hub, User, File and List

<details>

Its value differs per <type>

<type> 0 = leave blank
<type> 1 = <title>$<command> or <menu>\<title>$<command> or <menu>\<submenu>\<title>$<command>
<type> 2 = see type 1
<type> 255 = cle

Based on scripts by Mutor located here.

⚠️ **GitHub.com Fallback** ⚠️