OBS-WebSocket-JS, pass Event Listeners variables?

I use the Event Listener feature, to execute a OBS-WS-JS !command on a Follow event trigger.

However, I do not think I can access the Follow event’s $username so I can add it to a Text source in OBS.

Is it perhaps possible to access the Custom Variables of Sogebot in the OBS-WS-JS Advanced JS code section?
Perhaps we can have the Event’s variable, such as $username be stored in a Custom Variable (via an Operation) and then access it through JS…?

Use-case would be to get/utilize the event data to/with OBS-WS-JS, such as follower usernames.

event variable will be available if ran through event listener with run an obswebsocket command operation

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.