![]() ![]() ![]() Number_of_weapons = matches status_of_weapons = matches notice = number_of_weapons. If we have the table matches, matches is the first element, matches the n-th element. Lua tables can basically be considered multidimensional arrays and dictionaries at the same time. 6.1.5.12 continue: true or false (for music).4.8 Viewing and editing the database contents.3.2 How to delete the previous and current lines.3.1 Do stuff after all triggers/aliases/scripts are run.2.13 How to add a background for Mudlets buttons?.2.12 How to move the command line over?.2.10 How to enter a carriage return / enter command?.2.9 How to capture foreground line color information?.2.8 How to delete everything between two lines?.2.7 How to target self or something else?.2.6 How can I make a trigger with a next-line condition?.2.5 How can I make a key that toggles between commands?.2.4 How to play a sound when I receive communication while afk?.2.3 How to format an echo to a miniConsole?.2.2 How to highlight my current target?.1.4.1 Inserting text in the middle of the line.1.4 Cursor Movement and Cursor Placement.1.2.1 Changing and formatting text from the MUD.1.2 Sending commands or printing information messages.1.1 Lua interface functions - triggers, timers etc. ![]() In order to make a change in the Lua files, edit the raw-* files directly (not the ones in the bin/ folder), save, rebuild m&mf (using a -o above) and reload it (by restarting your profile or Mudlet). Since you've installed the xml files as modules with the sync option, changes will be written back to the XML file automatically, and you'll see your Git client instantly show what you've changed. In order to make a change in Mudlet (alias/trigger/script), edit in Mudlet directly, then hit Save Profile. Go to Toolbox > Module Manager and tick all 'don't sync' boxes, so they become 'sync', for all m&mf XML files.Ĭode in m&mf comes from two places - Mudlet and the Lua files. When prompted to find the m&mf folder location, select the /own m&mf folder Lua installModule(]) installModule(]) installModule(]) installModule(]) installModule(]) installModule(]) installModule(]) installModule(]) installModule(]) installModule(]) installModule(]) Open the command-line and navigate to the m&mf folder, and run: Using LuaRocks from your Terminal: luarocks install luafilesystem and luarocks install penlight.Afterwards, make sure to brew install lua5.1.Using Brew from your Terminal: brew install lua and brew install p7zip.Ubuntu: install Lua, LuaFileSystem, LuaRocks, Penlight, and 7zip.Windows: download and install latest LuaForWindows, which all the Lua components indluded.Install Lua, LuaFileSystem, LuaRocks, Penlight, and 7zip. Note: Uninstall maynot be necessary if you are using a separate new profile for development This is necessary to run the developer version of the system. Uninstall m&mf/m&m you currently have installed. Either clone using Git (which will allow you to easily update the m&mf code and contribute back) or a zip snapshot (which doesn't require knowledge of Git). You must read the license before using m&mf source code. M&mf is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. If you're looking for something to do, have a look at the existing issues/features list, and have a look at the wiki on information about the project. See also the discord server for m&mf development here See also the (Developer readme.md) for more useful information. To code in the system itself, follow instructions below on how to set it up. M&mf now also has a discord channel to ask questions about the server which can be found here Contributing Please consult the documentation for installation instructions. To download the system for use, see here. It is the free and open-source version of what used to be m&m. It has advanced and adaptable curing capabilities, defence raising, name highlighting, influencing, and other features. M&mf is an AI system for Lusternia, an online MUD. ![]()
0 Comments
Leave a Reply. |