- Code: Select all
/MENU -p0 ADD "$TAB/Cycle Channel" cycle
Strangely, if I add an "x" after "$TAB", it works (the menu item appears):
- Code: Select all
/MENU -p0 ADD "$TABx/Cycle Channel" cycle
It also works with " " (space) instead of "x", and I expect it works with other characters, also.
Any idea why the original example does not work?
EDIT: I restarted xchat and it works now.
EDIT2: /MENU ADD "$TABx/test" should fail instead of .. ignoring "x", because if that menu item is added, it cannot be removed with /MENU DEL "$TAB/test" and it can be very very confusing. Please fix it.