TGH Beginner
Joined: 22 Nov 2025 Posts: 21
|
Posted: Fri Sep 25, 2026 12:46 pm
Help with timing. |
I want to grab all this data - some items have even more lines of data in other +---+ sections - but I cannot figure out how to guarantee the timing.
The FRED text should appear AFTER the final +--- ... ---+ line (it is only used to verify that the timing is off).
| Code: |
+-----------------------------------------------------------------+
| Keywords : silvery bone shard skylight |
| Name : a shard of Skylight |
| Id : 3917938214 |
FRED
| Type : Weapon Level : 161 |
| Worth : 1,000 Weight : 10 |
| Wearable : wield |
| Score : 1614 |
| Material : bone |
| Flags : glow, magic, V3, nodrop |
| Found at : The Mountains of Desolation |
+-----------------------------------------------------------------+
| Weapon Type: dagger Average Dam : 366 |
| Inflicts : freezing bite Damage Type : Cold |
| Specials : frost |
+-----------------------------------------------------------------+
| Stat Mods : Hit roll : +20 Intelligence : +5 |
+-----------------------------------------------------------------+
[5472/7206hp 5284/5284mn 7565/7565mv 27qt 2499tnl] > |
All this item data is transmitted very fast and, even though I have a WAIT delay of 1000ms it is still off. I would prefer to use some kind of waitsignal or wait pattern but what I have seems to miss.
| Code: |
<trigger name="endItemDataTrig" priority="10460" trigontrig="false" newline="false" id="93">
<pattern>^~+[---]~+$</pattern>
<trigger name="EOLTrig" type="Within Lines" param="2" trigontrig="false" newline="false">
<pattern>~[%d~/%dhp*~]</pattern>
<value>#C-
#WAIT 1000
#SH "FRED"
#T- getItemData</value>
</trigger>
</trigger>
|
|
|