AIMX room bot
Run greetings, help commands and games in your own WinMX room. Configure each room with editable text files.
How I built it
I wrote AIMX in C# on .NET, with a Windows Forms interface for setting it up. This lets the bot reuse the same WinMX room connection code as my other tools while keeping greetings, commands and games in a separate application.
I had a room file search option in AIMX, but it interfered with internet searches. I removed it from AIMX and built MX Seek, a standalone file search bot for WinMX chat rooms.
Set up and join
- Install the .NET 10 Desktop Runtime if needed. Extract the ZIP into a writable folder and open
AIMX.Client.exe. - AIMX opens disconnected. Start your room server, copy the full room address, paste it into AIMX and click Join room. Watch for Joined room.
- Join the same room from your chat client. Type
TRIGGERSto test the bot. You can also choose Run private demo in AIMX before connecting it to your own room. - To change rooms, choose Stop bot, clear the address, paste the new address and choose Join room.
Configure your room
- Choose Configuration folder and edit
Room Settings.txtin Notepad. Keep onesetting = valueper line. - To enable auto-join, enter the full address as
Room, then setAuto join = yes. Leave it off for manual joining. - To use a named RMXS bot account, add the account in RMXS, set
Bot = 1, and configure AIMX’s bot login and environment variable. Join as a guest first if your room does not need a role. - Save edits and click Refresh configuration. Guide links, greetings, triggers, games and internet reply settings update while AIMX stays in the room. Rejoin after changing the address, bot name, login or share checking.
- Room Settings.txt
- One setting = value per line. Set Room to the full address. Auto join is off in the download. Bot name is the name shown in the room. Room topic supplies optional context for searches.
- Bot login, Login command and Login key environment
- On RMXS an example command is /login {login} {key}. Supply a private key via the named environment variable. Give each room its own login key variable when necessary.
- Joining message and Greetings.txt
- Joining message is sent when AIMX joins. Greetings.txt is one welcome per line for visiting guests. Use {name} for the guest’s name or copy art from the Welcome art tool.
- Triggers.txt
- One COMMAND = reply per line. Use uppercase commands in chat. AIMX also accepts the older !trigger and !triggers menu aliases.
- Guides.txt
- Editable. Enter one website per line as
Guide name | website address, or use the address alone. AIMX shows the first four in your order. The defaults start with RapsMX, then WinMx4u and WinMX World. - Games, Trivia.txt and Jokes.txt
- Set Games = no to turn off games and jokes. Set one question | answer per line in Trivia.txt. Additional separators can add alternative answers. Add one joke per line.
- Internet search and Google search engine
- Search is off by default. Enable it for live sourced answers. A configured existing Google Custom Search account uses its engine ID and the AIMX_GOOGLE_API_KEY environment variable. Reference questions can also use Wikipedia without a key.
- What you can edit
- Open
READ ME - Editing settings.txtin the Configuration folder. Edit those text files and optional advancedaimx.jsonsettings. Leave the app executable, DLLs and runtime files as supplied. - aimx.json
- Advanced local model settings. Set AiModel to the installed Ollama model name if you want local AI answers. The plain-text room files override the room options they contain.
- Configuration/Rooms
- For each additional room, create a subfolder and give it its own Room Settings.txt. Set Auto join = yes only for rooms you want on startup. Add that room’s own greetings, triggers, guides or game files as needed.
Commands and games
TRIGGERSlists the commands.ROOMshows the joined room and any website in its title or topic.GUIDESgives the configured links in order.- Type
AIMXfollowed by a question. TryAIMX who are you?orAIMX who created you?. A plain lowercase mention does not trigger a reply. GAMESlists the games. TypeGAME TRIVIAor another game name for rules, then use the game name to start.ANSWERplays trivia andGUESSplays the guessing games.- Play hangman, word scramble, number guessing, Lingo, Mastermind and rock-paper-scissors. Try
RPS ROCK,DICEorJOKE. UseSCOREfor session scores andGAMESTOPto end the current round.
Internet search and welcome art
- With internet search enabled, AIMX can look up the current public WinMx4u release and give short sourced reference answers. Google requires an existing configured Custom Search account. Optional local AI uses Ollama.
- Share checks are opt-in. AIMX browses one eligible room user at a time, only on entry or re-entry. The operator window shows matching filename rules. This preview does not index searchable results or take automatic moderation actions.
- Choose Welcome art, type a phrase or open an image, pick a colour code and copy the result into
Greetings.txtor Joining message. Try it in a private room first. - AIMX is a preview. Existing RoboMX or Metis scripts still need individual testing and import is not included.
How AIMX compares with other WinMX bots
- RoboMX with Metis
- RoboMX is a chat client. Metis is the scripting tool people use with it for triggers, automation and custom room scripts. AIMX puts common room tasks in editable text files and includes greetings, guides, trivia and jokes out of the box. If your room already relies on custom Metis scripts, check those scripts before switching. MXControl archive
- MXControl’s Simple Bot
- A lightweight choice for rooms that mainly need scripted replies. AIMX adds room-specific guide lists and optional answers to natural-language questions. MXControl project
- ZenaBot
- A ready-made games bot with Hangman, Lingo and Mastermind. It also reloads configuration while connected. AIMX offers live refresh for its own text files, plus editable room guides, trivia and optional AI answers. ZenaBot guide
- ShareGuard
- A specialist tool for checking advertised share lists. AIMX offers an optional check of advertised filenames when people join or rejoin and reports matches in the operator window. ShareGuard archive
Where AIMX is a better fit: rooms that want one bot for help, greetings and games, with guide links the host can update without leaving the room. Internet search is off by default. You can enable web lookup with the supported sources or configure a local Ollama model for answers. AIMX has been tested with both RapsMX Server and rooms hosted by WinMx4u.
A massive thank you to WinMX World
I used WinMX World as a reference throughout much of the development of the applications I share here on RapsMX. A massive thank you to everyone who put those guides, technical notes and archives together and kept them available. Without those resources, building these applications would have been much harder. I might never have managed it at all.
I also want to thank Bender and the MXControl contributors for RoboMX and BendMX, KingMacro (KM) for WCS, the developers behind FXServer, Ouka for the Ouka Chat Server, and every developer who built WinMX clients, servers, bots and tools before me. I studied the source code they shared and tested how their applications behaved on the WinMX Peer Network. Both helped me understand how the network works and build the applications I share here.
Thank you to the MXPie and WinMX World teams, the peer-cache operators, room hosts, testers and everyone in the WinMX community who has helped keep the network connected over the years. I appreciate the work that kept WinMX running and kept its knowledge available for people like me to learn from.