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

  1. Install the .NET 10 Desktop Runtime if needed. Extract the ZIP into a writable folder and open AIMX.Client.exe.
  2. AIMX opens disconnected. Start your room server, copy the full room address, paste it into AIMX and click Join room. Watch for Joined room.
  3. Join the same room from your chat client. Type TRIGGERS to test the bot. You can also choose Run private demo in AIMX before connecting it to your own room.
  4. To change rooms, choose Stop bot, clear the address, paste the new address and choose Join room.

Configure your room

  1. Choose Configuration folder and edit Room Settings.txt in Notepad. Keep one setting = value per line.
  2. To enable auto-join, enter the full address as Room, then set Auto join = yes. Leave it off for manual joining.
  3. 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.
  4. 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.txt in the Configuration folder. Edit those text files and optional advanced aimx.json settings. 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

Internet search and welcome art

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.