usercommands question

Releases and bugs in here...
yakko
Posts: 258
Joined: 2003-01-27 06:04

usercommands question

Post by yakko » 2004-06-16 04:03

I was just in a Yhub based hub and their user commands had sub-menus. Is it possible to do this with DCH++?

BSOD2600
Forum Moderator
Posts: 503
Joined: 2003-01-27 23:47
Location: USA

Post by BSOD2600 » 2004-06-16 04:54

Yes.

SimpleLog and Opcom already create their own submenus. If you want to add more menus with submenus, use UserCommands.lua as a template. Just add \\ to the text section. DC++ will automatically create submenus when it sees a \ in a UserCommand.

Code: Select all

{ 1, co.RAW, cx.HUB, "Block\\BlockLeechers ON",

Who is online

Users browsing this forum: Google [Bot] and 0 guests