Main |
Menu Mods A Menu Mod is an extension of
the standard Chat Menu. You can put often used commands into the menu mod, and this
saves you time and typing while in a chat session. The image below shows the Menu
Mod designer screen, with the modified chat menu also visible.
The menu mod will always appear in the same spot in the chat menu. You create the menu mod in the list shown above. You can then save the menu mod with a unique file name. This allows you to have several menu mods available to you. After you have created or modified a menu mod, you must compile it for the changes to take effect. And if you wish to save these changes, you should save your menu mod. The structure of the menu mod is as follows: The name of the menu mod that you want to appear in the menu is at the top of the list. In this case, it will be 'SlapLand', but feel free to put something else in there, like 'My IRC Toys', etc. Submenus are denoted with '.' A first level submenu is like .Slaps A second level menu is like ..Bungee Jump: /me Ties a big Rubber Band around <nick>'s feet...then pushes You can have up to 5 levels of submenus. There are 2 kinds of menu mod commands. The first one is just a title of a submenu, like: .Slaps You can see how it appears in the menu in the large image above. The other kind of menu mod command is like this: ..Bungee Jump: /me Ties a big Rubber Band around <nick>'s feet...then pushes There are 3 parts to this command: The .. tells you what submenu level it is at. The Bungee Jump the name that will appear in the menu. The /me Ties a big Rubber Band around <nick>'s feet...then pushes is the actual command that is performed when you select the mod on the menu. The commands used are the /command used in a chat. You can have more than one /command in a mod, as long as you separate them by 2 spaces. There must be 1 space between the : and the first /command. Try modifying the menu mod that comes with OrbitIRC, and see what happens. To see what the chat menu will look like, click on the 'compile and show menu' button. You can also put placeholders in the /commands. The <yournick> holds the place for your nickname, <nick> holds the place for whatever nick you have selected in the nicklist or the nick of the person you are having a private or dcc chat with, and <channel> holds the name of the channel you are in, if any. [boxwindowmessage] is a placeholder for making a popup window variable.
|