Map Triggers

Alright, So I was wondering how someone would go about adding an output to a certain sent.

I’m trying to make LUA code produce outputs that are used in a map. Any Help?