• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Is there a way to set off an event based on in game text such as an emote?

calaxa

Member
Joined
Jul 21, 2014
RedCents
1,797¢
Not sure where this question should go but hopefully this is the right place.

I am trying to fire off an event (be it via holy or via macro) that will be triggered by in game text such as an emote. To give a concrete example, I want someone to duck if there is an emote or to backoff if there is a different emote.

If this can be done via holies, I just need the TLO for the trigger (ie /if ${TLO} /keypress d)
 
Rich (BB code):
#event FunctionName "event text"

Sub Event_Function
/end

Then in the main body of your code you want it to do

Rich (BB code):
/doevents


So let's say your text is "Gonzo begins to cast the spell nose swipe." At which point a mob named Gonzo (love the muppets) is going to do an AE that hits anyone standing.. so you want to duck.

Rich (BB code):
#event DuckIt "Gonzo begins to cast the spell nose swipe." 

Main 
     :Loop1
      /doevents
     /goto :Loop1
/return

Sub Event_Duckit
      /if (!${Me.Ducking}) /keypress duck
/return

This code has not been tested but gives you a general idea of the event/sub structure.
 
DO you know what the event variable might be if I wanted this as a holy or down?
 
As far as I know, it's not doable. I don't think there is any sort of event TLO that would allow you to do it anyway. Gonna do some research, maybe Maskoi or Treehugger know.
 
omg...even easier than i thought....thanks

also /duck is an emote isn't it? not the actual duck command?
 
I typed /duck in game and the toon doesn't actually duck......instead he seems to emote [toonname] ducks behind target
Just wondering if it actually ducks or I have to do /keypress d (default keybind)
 
I typed /duck in game and the toon doesn't actually duck......instead he seems to emote [toonname] ducks behind target
Just wondering if it actually ducks or I have to do /keypress d (default keybind)

There is no actual slash command to duck in eq (as far as i know of.. unless they snuck one in and never mentioned it lol).

You are correct in assuming you should have to /keypress the key that you currently have bound to duck.
 
I'm still playing around with this and can't seem to get this to trigger just yet. This is what I have:

[Duck]
trigger=You should duck.
command=/keypress d

Now the trigger will be an emote that I will have either going to main window or filtered to a new chat window (filter as other) There is leading text prior to the actual trigger. Do I need a wildcard such as #*# I'm not understanding what the variables such as #1# #2# mean in the example.

Also, I notice that when I am in melee combat, pressing d to duck doesnt seem to work. I may need a multipart command to turn attack off. Is it possible to do:

command=/multiline ; /melee off ; /keypress d

I know this is getting very specific now and I might just have to play through the encounter in mind to test this out but if anyone knows, please send me info.
 
xorrb 1 is one....another is slave driver thokk in plane of war. Both while doing manually I am successful about 95% of the times so it's very frustrating when you wipe at 5% on the mob :(
 
I'm still playing around with this and can't seem to get this to trigger just yet. This is what I have:

[Duck]
trigger=You should duck.
command=/keypress d

Now the trigger will be an emote that I will have either going to main window or filtered to a new chat window (filter as other) There is leading text prior to the actual trigger. Do I need a wildcard such as #*# I'm not understanding what the variables such as #1# #2# mean in the example.

Also, I notice that when I am in melee combat, pressing d to duck doesnt seem to work. I may need a multipart command to turn attack off. Is it possible to do:

command=/multiline ; /melee off ; /keypress d

I know this is getting very specific now and I might just have to play through the encounter in mind to test this out but if anyone knows, please send me info.

I believe the default kepress now is x, but of course you can change this in your in-game options menu (ALT+O) then select the Keys tab, it is under the movement category.
 
default is d and alternate is x.......that's why it's annoying and i was looking for a /duck command which I see is an emote. So that means some clients have to be keypress d and some keypress x depending when it was downloaded or if keys were rebinded. Of course I can go back and try to standardize it but now it's getting tedious but thanks for the heads up GPS
 
Question - Is there a way to set off an event based on in game text such as an emote?

Users who are viewing this thread

Back
Top
Cart