Sending the result into chat
Hi :)
I wrote an extension for fortification (some effect in 3.5e, not important now); there is a d100 involved, but for the first version I do not want to try a graphical display of this d100 and, thus, I just use math.number(100). But I would like to send the result of this random number into the Chat (best: to GM only if possible). How can I do this in lua? :) I always get error messages of different type when I try to use the deliverChatMessage(...) etc. :)
(If it is important: That is happening while the damage roll is executed)
Thank you in advance :)
Best,
Kelrugem