I normally wouldn't post anything from gearswap in public, but here, a very basic way of doing party chat commands. There are way more complex ways of doing it, but this is quick and easy.
Put this on mule's lua and where mine has "if sender == 'Shiraj'", change the name to your character of choice, you can do multiple characters if you wish with putting in " if sender == "name" or sender == "other name" and message:contains"
You can use this for whatever, just change the spell "erase" to what you want.
Code
windower.register_event('chat message', function(message,sender,mode,gm)
--Ignore it if it's not party chat or a tell
if mode ~= 3 and mode ~= 4 then return end
local play = windower.ffxi.get_player().name
message = message:lower()
if sender == 'Shiraj' and message:contains('erase') then
windower.send_command('input /ma Erase ' .. sender)
end
end)
Edit: As Eiryl said before, party chat commands will end up making an entire alliance spam you with Haste or something, which is why I prefer this method as it only accepts the people in the sender and if other people try who aren't in it will be ignored.
This will not just give anyone in party spells unless it's been specified.