I now got (from my trigger with ColourNote) the output - the mud sends four lines:
Clio 306
Divine 248
Clio 331
Divine 255
(Clion and Divine are btw. the names of weapons). The values comes, as remarked, from four different lines (during one combatround).
What i want to have is something like:
Clio 306, Divine 248, Clio 331, Divine 255, for a total of 1.140.
The problem is that as well ColourNote as ColourTell (and I presume, also note) send linefeeds. Can linefeeds be avoided?
How is 2) the arithmetic done. The values (of 306, 248, 331 and 205) are from the "%1" in my trigger)? The helpful message on this forum Add to Variable did mention only increasing a variable's value by 1 (SetVariable("VarName",(GetVariable("VarName") + 1)). That does not however help in solving my problem where i need the sum.
Very grateful for help. Thank you.
Clio 306
Divine 248
Clio 331
Divine 255
(Clion and Divine are btw. the names of weapons). The values comes, as remarked, from four different lines (during one combatround).
What i want to have is something like:
Clio 306, Divine 248, Clio 331, Divine 255, for a total of 1.140.
The problem is that as well ColourNote as ColourTell (and I presume, also note) send linefeeds. Can linefeeds be avoided?
How is 2) the arithmetic done. The values (of 306, 248, 331 and 205) are from the "%1" in my trigger)? The helpful message on this forum Add to Variable did mention only increasing a variable's value by 1 (SetVariable("VarName",(GetVariable("VarName") + 1)). That does not however help in solving my problem where i need the sum.
Very grateful for help. Thank you.