HOW TO add a counter to OBS or Streamlabs on Mac OS. Death win shiny
8.4 هزار بار بازدید -
2 سال پیش
-
In this video I walk
In this video I walk yo thorough how to easily add a shiny, death, win counter to your Streamlabs or OBS software with automatic updating via hotkeys or using an Elgato Stream Deck, all on Mac OS software.
Text guide is here : https://streamersubalert.com/guides/c... Go visit and sub to his twitch/join his discord.
Copy this code :
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "W", function()
-- This opens the file and reads the file into a variable (t)
local deathcounterfile = assert(io.open("[full path to the text file you created]", "r"))
local deathcount = deathcounterfile:read("*all")
-- This adds 1 to the value of deathcount and closes the file
deathcount = deathcount + 1
deathcounterfile:close()
-- We reopen the same file but in write mode. We write the death count to the file and save & closes it.
local newfile = assert(io.open("[full path to the text file you created]", "w"))
io.output(newfile)
io.write(deathcount)
newfile:close()
-- This you don't need, but it prints the deathcount to the console
print(deathcount)
end)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#streamlabs #counter #Mac
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** USEFUL LINKS ***
Subscribe here : @mrcleekz
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** CONTACT INFO ***
If you want your product shown on the channel, please email me here :
[email protected]
Subscribe here :
https://www.seevid.ir/c/CTAtechdesk...
Follow us here :
Twitter : Twitter: MrCleekz
Instagram : Instagram: MrCleekz
TikTok : TikTok: mrcleekz
All enquiries to : [email protected]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:00 Intro
1:42 Adding code
7:33 Adding to Stream Deck
Text guide is here : https://streamersubalert.com/guides/c... Go visit and sub to his twitch/join his discord.
Copy this code :
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "W", function()
-- This opens the file and reads the file into a variable (t)
local deathcounterfile = assert(io.open("[full path to the text file you created]", "r"))
local deathcount = deathcounterfile:read("*all")
-- This adds 1 to the value of deathcount and closes the file
deathcount = deathcount + 1
deathcounterfile:close()
-- We reopen the same file but in write mode. We write the death count to the file and save & closes it.
local newfile = assert(io.open("[full path to the text file you created]", "w"))
io.output(newfile)
io.write(deathcount)
newfile:close()
-- This you don't need, but it prints the deathcount to the console
print(deathcount)
end)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#streamlabs #counter #Mac
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** USEFUL LINKS ***
Subscribe here : @mrcleekz
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** CONTACT INFO ***
If you want your product shown on the channel, please email me here :
[email protected]
Subscribe here :
https://www.seevid.ir/c/CTAtechdesk...
Follow us here :
Twitter : Twitter: MrCleekz
Instagram : Instagram: MrCleekz
TikTok : TikTok: mrcleekz
All enquiries to : [email protected]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:00 Intro
1:42 Adding code
7:33 Adding to Stream Deck
2 سال پیش
در تاریخ 1401/01/04 منتشر شده
است.
8,485
بـار بازدید شده