Hi, I am using Mudlet since this year so I am still learning how to use it after using tintin++ and Zmud years ago to mud. I have a trigger to "get all coins corpse" when a mob dies, but I don't know how to auto split the coins with my group. In tintin++ it was easy ("you get % coins from corpse -> action/trigger "split % coins"), but don't know how to replicate it on Mudlet. Can you help me with that?
Thanks in advance!
Rod
How to trigger split coins
Re: How to trigger split coins
You can make a perl regex trigger with the pattern "you get (\d+) coins from corpse" (without the "") and then in the script box at the bottom put in
Re: How to trigger split coins
Hi, thanks for your answer!
Last edited by RodGK on Thu Aug 03, 2023 9:34 am, edited 1 time in total.
Re: How to trigger split coins
if you click 'show' on the code box in my answer it gives what to put in the script box. Reproduced below without the formatting.
send("split " .. matches[2] .. " coins")
send("split " .. matches[2] .. " coins")