How can we make variables that would enable two people with the same or similar weak auras to communicate? I assume there is some way to share variables between two players, since other addons have the capability to interact with other players version. Is there a way to send variables to others through custom lua code in a custom text function, or something similar?

The other option that I don't know if Blizz allows is for addons to declare custom events that an addon can throw and catch. This would probably be beyond my abilities if so.