mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 4,172
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,172
I would like to be able to delete/add/insert a menu/submenu with /did. At the moment you can't delete/add/etc them, only menu items.
/did -o works on a menu/submenu though, to change its text, despite the help file mentioning only these actions being possible on menu items, sounds like there is some kind of support for menu already.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Jul 2006
Posts: 4,172
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,172
For deletion, if the submenu has some menu items, they would all get deleted as well, this could be done by just extending /did -d to support menu.
'Adding' a menu would be done by adding a menu item to a menu item, did -a could also be extended that way.
Inserting a menu is not really a thing, but it could be scripted with addition and deletion.
Ideally, such an operation on menu would work even for the root menu, since you wouldn't be able to add a menu item to a menu item to create a new menu from the root, there could be a different syntax to do that, such as /did -a name -1 <newmenuid> <text>


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard