Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
loopy750 authored Jun 30, 2022
1 parent b69b810 commit 509f93f
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modifications/adiirc/setScene.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
; For use with obs-websocket-http

unset %delayScene

on 1:TEXT:!s *:%channelName: {
if ($nick == $me) || ($nick == moderator_name_1) {
if (!%delayScene) {
set -u1 %delayScene 1
//run -pnh curl -XPOST -H "Authorization: x" -H "Content-type: application/json" -d "{\"sceneName\": \" $+ $2-\"}" "http://127.0.0.1:4445/emit/SetCurrentProgramScene"
//msg %channelName Set Scene: " $+ $2-"
}
}
}
13 changes: 13 additions & 0 deletions modifications/adiirc/setScene_js4.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
; For use with obs-websocket-js 4.x

unset %delayScene

on 1:TEXT:!s *:%channelName: {
if ($nick == $me) || ($nick == moderator_name_1) {
if (!%delayScene) {
set -u1 %delayScene 1
//run -pnh node.exe " $+ $sysdir(documents) $+ Loopy SRT Monitor\js\obs_change_scene.js" $2-
//msg %channelName Set Scene: " $+ $2-"
}
}
}
13 changes: 13 additions & 0 deletions modifications/adiirc/setScene_js5.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
; For use with obs-websocket-js 5.x

unset %delayScene

on 1:TEXT:!s *:%channelName: {
if ($nick == $me) || ($nick == moderator_name_1) {
if (!%delayScene) {
set -u1 %delayScene 1
//run -pnh node.exe " $+ $sysdir(documents) $+ Loopy SRT Monitor\js\obs_change_scene.mjs" $2-
//msg %channelName Set Scene: " $+ $2-"
}
}
}

0 comments on commit 509f93f

Please sign in to comment.