I'm newbie at that this just trying to learn... problem is i can't figure it out why i came here for help/guidance. Trying to may a plugin or script that sorts eq in inv by three stats then wears the best one of each piece... i got something made that detects if a number is greater or lower than a certain number here is that trigger.. not the best but i am still learning... slowly getting better.. this is in lua... A and 10 was just used as a test to see if it would work it worked...
Now how would i take this and let's say compare it to another item in my inv? or even add another stat and compare two stats against each item? my goal is to have a script or plugin i can use to automatically sort 1000's of pieces of eq and wear the best of each slot... any help/advice will be much appreciated... thanks in advance sorry if this is a stupid question or something really simple to do i may just be over thinking it... the trigger part is all i have for right now slowly adding to it as i learn. Like i said i am very new to this... This is a example of the text in game i will use to match on: Affects spellpower by 420. i just choose to match on spellpower but could also match on the whole line and use a * or this (.*?) for the number?
Now how would i take this and let's say compare it to another item in my inv? or even add another stat and compare two stats against each item? my goal is to have a script or plugin i can use to automatically sort 1000's of pieces of eq and wear the best of each slot... any help/advice will be much appreciated... thanks in advance sorry if this is a stupid question or something really simple to do i may just be over thinking it... the trigger part is all i have for right now slowly adding to it as i learn. Like i said i am very new to this... This is a example of the text in game i will use to match on: Affects spellpower by 420. i just choose to match on spellpower but could also match on the whole line and use a * or this (.*?) for the number?
<triggers>
<trigger
expand_variables="y"
keep_evaluating="y"
match="spellpower by (.*?)."
regexp="y"
send_to="12"
sequence="100"
>
<send>if x > 10 then
Send("a")
end</send>
</trigger>
</triggers>