Menu files editor

Plugin: Konfigurator Menu.MenuConfig

It is possible to configure menu files of bot (BotMenu.lua), Hub (HubMenu.lua) or plugins (Menu.lua) through dialogue configurator of menu files. Dialogue with the user is carried out through PM of Ekzekutor.

To start the configurator it is possible by command !menuconfig <menu_file_path_or_plugin_name>. In path it is necessary to specify full way to file of the menu which you wish to configure, or the plugin name (the name of folder of plugin), which menu you wish to configure. The command can be written without path or the plugin name. Then the bot will request a way. To look the information on the current files which are already being in editing, it is possible by command !menuconfig_list.

At start of configurator he asks to enter a way to file (at start without parametres). It is necessary to enter a full path to the necessary file of the menu (if you started configurator without parametres). Then the boat will request to enter command which is in it the menu which you wish to edit.

At this stage it is possible to use following commands (in PM):
!stop
- interrupts procedure of editing without preservation with an exit from the editor.
!again
- the editor in initial level of editing of file of the menu with inquiry of command for editing returns.
!status
- viewing of current condition of editing of files.
!save
- preservation of current changes in menu file. The copy of an old file of the menu with expansion ".bak" is thus created.
!new
- creation of new command in current file of the menu (will request input of the name of command) with the beginning of its editing.
!delete
- to remove command from current file of the menu (inquiry of command).

After input of the name of command procedure of editing of command is started. Here you can edit profiles, line of the inquiry and command. For editing of profiles, figure "1", for editing of line of the inquiry - figure "2", for editing of commands - figure "3" is entered.

At editing of profiles the bot will request name of localisation which you wish to edit. Then will ask to enter through blank all numbers of profiles to which need to resolve current command.

At editing of the inquiry the bot will request input of line of the inquiry.

At editing of commands the bot will expect input of commands (be not mistaken at input). Enter so much commands of the menu, how many it is required. Finish input by command !save (to keep changes), !stop (to interrupt procedure), !again (for return to an initial stage of editing of file). To look current parametres of editing it is possible command !status.


<<< back | print | To main...
PhazaSoft© Ekzekutor©
Hosted by uCoz