Quick question:
How do you set zmud to pick up the enemy name and condition in battle and then spit out things like @enemy is phurt! (only once, of course). I can get zmud to pick the variables off of the screen correctly. I just cannot get zmud to react when the enemy condition (I'm using @EC) reaches "pretty hurt" and trigger the message. Thanks in advance.
gsay Tiamat is phurt!
-
- Sojourner
- Posts: 676
- Joined: Fri Jan 26, 2001 6:01 am
- Location: O' Fallon, MO. USA
- Contact:
Well you'll need some way to init the trigger when you engage in battle, I use various ones like alias kil over to #T+ MobReport;kill %1
Then MobReport would go something like this:
Pattern: (%w) EC: pretty hurt >
Trigg: #IF {@mob_alert=1} {gsay %1 is pretty hurt};#T+ MobReport2;#T- MobReport
Then the second one
Pattern: (%w) EC: awful >
Trigg: #IF {@mob_alert=1} {gsay %1 is awful};#T- MobReport2
the variable I check is based on a toggle button that I label MobReportOn and MobReportOff
If you use %1 in place of the %w above you can say things like vampire of the warrior is phurt. With the %w it would just show up as warrior is phurt.
Another one you might want to alias over is something for assist, I use a group assist alias, it's a little more than what you probably need. But you might try alias as -> ass %1
Gindipple.
Then MobReport would go something like this:
Pattern: (%w) EC: pretty hurt >
Trigg: #IF {@mob_alert=1} {gsay %1 is pretty hurt};#T+ MobReport2;#T- MobReport
Then the second one
Pattern: (%w) EC: awful >
Trigg: #IF {@mob_alert=1} {gsay %1 is awful};#T- MobReport2
the variable I check is based on a toggle button that I label MobReportOn and MobReportOff
If you use %1 in place of the %w above you can say things like vampire of the warrior is phurt. With the %w it would just show up as warrior is phurt.
Another one you might want to alias over is something for assist, I use a group assist alias, it's a little more than what you probably need. But you might try alias as -> ass %1
Gindipple.
As a believer in simplicity, or for those who didn't follow the above post(s) just type the following in your command line in zmud. (That's the big white line at the botton of the screen where you type)
Note: I haven't played sojourn in a while so you may have to check the spacing on some of the actual output..but it should be close.
If you just want to 'gsay pretty hurt' and you don't care about the mob names etc...type these two commands
1.
#ac {EC: pretty} {gsay pretty hurt;#t- pretty;#t+ awful} {pretty}
2.
#ac {EC: awful} {gsay awful;#t- awful;#t+ pretty} {awful}
That should do it. Now if you want to say the mob names, based on the enemy name listed in the E: (whatever)..then use these 2 commands:
1.
#ac {E: %1 EC: pretty} {gsay %1 is pretty hurt;#t- pretty;#t+ awful} {pretty}
2.
#ac {E: %1 EC: awful} {gsay %1 is awful;#t- awful;#t+ pretty} {awful}
Enjoy!
Wobb
Note: I haven't played sojourn in a while so you may have to check the spacing on some of the actual output..but it should be close.
If you just want to 'gsay pretty hurt' and you don't care about the mob names etc...type these two commands
1.
#ac {EC: pretty} {gsay pretty hurt;#t- pretty;#t+ awful} {pretty}
2.
#ac {EC: awful} {gsay awful;#t- awful;#t+ pretty} {awful}
That should do it. Now if you want to say the mob names, based on the enemy name listed in the E: (whatever)..then use these 2 commands:
1.
#ac {E: %1 EC: pretty} {gsay %1 is pretty hurt;#t- pretty;#t+ awful} {pretty}
2.
#ac {E: %1 EC: awful} {gsay %1 is awful;#t- awful;#t+ pretty} {awful}
Enjoy!
Wobb
Who is online
Users browsing this forum: Majestic-12 [Bot] and 21 guests