Is there a way to have autoexec react to party chat and perform a command based on party chat text?
Example debuff removals: erase in party chat will have a specified whm cast erase on the person who typed erase in party chat?
Thanks.
Autoexec Help |
||
|
Autoexec help
Is there a way to have autoexec react to party chat and perform a command based on party chat text?
Example debuff removals: erase in party chat will have a specified whm cast erase on the person who typed erase in party chat? Thanks. Partially.
You can set your whm to cast spells via autoexec if a person with a fixed name says a trigger. I am not sure if you can set it to a variable though. I have not worked with autoexec in years and doubt many people still use it. The command you are looking for will probably look something like this: chat_<mode>_<name>_<msg> Modes are: say, shout, party, linkshell, tell, emote You'd just have to make a trigger for every single command and every single character that could potentially trigger those commands.
For the spell erase: <register silent="true" event="chat_party_Lockfort_er">input /ma "Erase" Lockfort</register> That's just for one character. It triggers when 'er' is detected in /p chat and will cast erase on that char. To make more is as simple as copy pasting and changing the name to whatever other character is allowed to trigger this. Or even changing the trigger text and reaction to another spell like paralyna. I mean... that's just a bot. tbh. whm bots already do that.
back when fface was a thing, Ultimatehealer bot did that with all buffs and debuffs. Was nice.
Ragnarok.Lockfort said: » You'd just have to make a trigger for every single command and every single character that could potentially trigger those commands. For the spell erase: <register silent="true" event="chat_party_Lockfort_er">input /ma "Erase" Lockfort</register> That's just for one character. It triggers when 'er' is detected in /p chat and will cast erase on that char. To make more is as simple as copy pasting and changing the name to whatever other character is allowed to trigger this. Or even changing the trigger text and reaction to another spell like paralyna. I have tried this and when multi-boxing any job that is subbed whm will try to erase as well. Not such a huge issue, but I'd rather have input going to one character via autoexec. I'm aware that heal bots will remove debuffs, not what I asked. i had to make a different autoexec for every character, based around their job combos, and what not. i even had went as far as making job specific autoexecs for characters, that load in whenever i job change, via the 'autoexec.xml' doc in the AE folder. i mean, if you're gonna go, then why not whip your *** out, go balls deep and go as hard as needed to get what you want done? in the end, you're only gonna go as far as you feel like building anyway. Might as well make it fancy and awesome.
Code <!-- basic commands --> <register silent="true" event="chat_party_neyochimaru_voke">input /ra <bt></register> <register silent="true" event="chat_party_Neyochimaru_follow">input /follow neyochimaru</register> <register silent="true" event="chat_party_Neyochimaru_ast">input /assist neyochimaru</register> <register silent="true" event="chat_party_Neyochimaru_atk">input /attack</register> <register silent="true" event="chat_party_neyochimaru_heal">input /heal</register> <register silent="true" event="chat_party_neyochimaru_join">input /join <me></register> <register silent="true" event="chat_party_neyochimaru_pleave">input /pcmd leave</register> <register silent="true" event="chat_party_neyochimaru_aleave">input /acmd leave</register> <register silent="true" event="chat_party_neyochimaru_breakup">input /pcmd breakup</register> <register silent="true" event="chat_party_neyochimaru_reso">input /ws "Resolution" <bt></register> <register silent="true" event="chat_party_neyochimaru_pleader">input /pcmd leader neyochimaru</register> <register silent="true" event="chat_party_neyochimaru_aleader">input /acmd leader neyochimaru</register> <!-- late updates etc.. --> i'd imagine you could build from that. or at least be able to figure it out from there. i'm a dumbass and i did. ^^
Either that, or get good at //send
Thanks, this is basically what I have now. Was just wondering if autoexec was capable of specifically reacting to different individuals without having to individually making a command for each person and each action.
I wonder if the react addon could perform this. so far as i know you can have the react addon run scripts that would do it but at that point imo its the same as autoexec
|
|
All FFXI content and images © 2002-2025 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|