How to Increment, Decrement & Reset a Counter in Streamlabs OBS (Script in the description)

How to Increment, Decrement & Reset a Counter in Streamlabs OBS (Script in the description)

NANO Tuts

1 год назад

786 Просмотров

Hello guys, in this video m gonna be showing you how to increment, decrement & reset a counter in Streamlabs OBS, the tutorial might seem long but i really tried to explain everything so you could understand how it works and use your way.If you have any questions don't hesitate i'll answer you in less than 24 hours.

👉Download Autohotkey: https://www.autohotkey.com
👉Keylist: https://www.autohotkey.com/docs/KeyList.htm

👉Script:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.


increment := 0

ScreamCount := "Counter1PATH" ; put your path here
IfNotExist, ScreamCount
file := FileOpen(ScreamCount, "w")
file.write(increment)
file.close()

increment2 := 0

ScreamCount2 := "Counter2PATH" ; put your path here
IfNotExist, ScreamCount2
file := FileOpen(ScreamCount2, "w")
file.write(increment2)
file.close()

NumpadAdd::
increment += 1
file:= FileOpen(ScreamCount, "w")
file.write(increment)
file.close()
return

NumpadSub::
increment -= 1
file:= FileOpen(ScreamCount, "w")
file.write(increment)
file.close()
return

NumpadMult::
increment2 += 1
file:= FileOpen(ScreamCount2, "w")
file.write(increment2)
file.close()
return

F1::
increment2 -= 1
file:= FileOpen(ScreamCount2, "w")
file.write(increment2)
file.close()
return

NumpadDiv::
increment := 0
increment2 := 0

ScreamCount := "Counter1PATH" ; put your path here
IfNotExist, ScreamCount
file := FileOpen(ScreamCount, "w")
file.write(increment)
file.close()

ScreamCount2 := "Counter2PATH" ; put your path here
IfNotExist, ScreamCount2
file := FileOpen(ScreamCount2, "w")
file.write(increment2)
file.close()




Timestamps:
00:00 Final Result
00:32 Installing Auto Hotkey
01:20 Increment Counter Script
04:14 Decrement Counter Script
05:11 Using the Counter txt file in Streamlabs
05:57 Creating Second Counter
07:20 Using 2nd Counter in Streamlabs
07:53 Reset Counters
08:52 Final Result
09:24 Outro + Important things to check

#StreamlabsCounter #SOBSTutorial #AutoHotkey

Тэги:

#how_to_increment_a_counter_in_streamlabs_OBS #increment_and_decrement_in_streamlabs_OBS #streamlabs_counter_increment_and_decrement #increment_counter_in_obs #death_counter_streamlabs_obs #death_counter_stream #streamlabs_increment_counter_with_hotkey #reset_counter_streamlabs_obs #streamlabs_obs_counter #streamlabs_obs_increment_and_decrement_counter #streamlabs_counter_on_screen #increment_decrement_streamlabs #how_to_add_counter_in_obs #death_counter_obs
Ссылки и html тэги не поддерживаются


Комментарии: