Can anyone elaborate on how I could finish this setup? Hopefully this also helped others trying to learn, 'coz I couldn't find any useful snippets out there that were this simple. which I assumed just cleared duplicates in the database, then I realised I'm just creating a temporary array with this setup, it hasn't been committed to any real consistent database when mudlet closed all of this was lost. Even with 300-odd people, with the lovely usage of Starmourn's API, this only takes about 5. I recorded a majority the sounds myself: I've stabbed potatoes, beaten pillows with chains, broken bones, snapped CDs, hit rocks together, ate Fritos, splashed around in a bucket and faked my and my wife's death dozens of times for your enjoyment.
If you wanna speed up the information gathering you can do qwp instead to parse everyone currently online. Alter Aeon's custom client features hundreds of sounds for spells, skills, mob deaths, weather and various other events. As you honours people, it'll gradually add them to the database. I was attempting to make a 'merge' usage as you can see. Name highlighting is on by default because I'm not going back to change it now. I then made an alias with the pattern of ^friend (.+) (.+)$Įlseif matches = "purge" and matches = "all" thenĮlseif matches = "merge" and matches = "all" then Local shallamesefriends = db:fetch(iends, db:eq(, "Shallam")) Local eleusianfriends = db:fetch(iends, db:eq(, "Eleusis")) Local ashtanitefriends = db:fetch(iends, db:eq(, "Ashtan")) Local mydb = db:get_database("my database")Įcho(db:aggregate(, "count"))įunction addFriend(playerName, playerCity)ĭb:add(iends, ) I wrote the following script, attempting to wrap my head around database usage in Mudlet.