def Init(): # Create Settings Directory directory = os.path.join(os.path.dirname(__file__), "Services\Scripts\ChessProfile\Settings") if not os.path.exists(directory): os.makedirs(directory) # Load settings SettingsFile = os.path.join( os.path.dirname(__file__), "Services\Scripts\ChessProfile\Settings\settings.json") ScriptSettings = MySettings(SettingsFile) ScriptSettings.Command = "!chess" return
# [Required] Script Information #--------------------------- ScriptName = "Chess.com Profile" Website = "https://www.streamlabs.com" Description = "!chess (username) will give the chess.com profile of a user" Creator = "Dan White" Version = "1.0.0.0" #--------------------------- # Define Global Variables #--------------------------- global SettingsFile SettingsFile = "Services\Scripts\ChessProfile\Settings\settings.json" global ScriptSettings ScriptSettings = MySettings() ScriptSettings.Command = "!chess" #--------------------------- # [Required] Initialize Data (Only called on load) #--------------------------- def Init(): # Create Settings Directory directory = os.path.join(os.path.dirname(__file__), "Services\Scripts\ChessProfile\Settings") if not os.path.exists(directory): os.makedirs(directory) # Load settings SettingsFile = os.path.join(
# [Required] Script Information #--------------------------- ScriptName = "Rock, Paper, Scissors" Website = "https://www.streamlabs.com" Description = "!rps (rock/paper/scissors) will play rock paper scissors" Creator = "Dan White" Version = "1.0.0.0" #--------------------------- # Define Global Variables #--------------------------- global SettingsFile SettingsFile = "Services\Scripts\Quote\Settings\settings.json" global ScriptSettings ScriptSettings = MySettings() ScriptSettings.Command = "!rps" #--------------------------- # [Required] Initialize Data (Only called on load) #--------------------------- def Init(): # Create Settings Directory directory = os.path.join(os.path.dirname(__file__), "Services\Scripts\Quote\Settings") if not os.path.exists(directory): os.makedirs(directory) # Load settings SettingsFile = os.path.join(
# [Required] Script Information #--------------------------- ScriptName = "Quote Generator" Website = "https://www.streamlabs.com" Description = "!quote will post a quote in chat" Creator = "Dan White" Version = "1.0.0.0" #--------------------------- # Define Global Variables #--------------------------- global SettingsFile SettingsFile = "Services/Scripts/Quote/Settings/settings.json" global ScriptSettings ScriptSettings = MySettings(SettingsFile) ScriptSettings.Command = "!quote" #--------------------------- # [Required] Initialize Data (Only called on load) #--------------------------- def Init(): # Create Settings Directory directory = os.path.join(os.path.dirname(__file__), "Services\Scripts\Quote\Settings") if not os.path.exists(directory): os.makedirs(directory) # Load settings SettingsFile = os.path.join(
# [Required] Script Information #--------------------------- ScriptName = "Palindrome" Website = "https://www.streamlabs.com" Description = "!palindrome (message) will check if something is a palindrome or not." Creator = "Dan White" Version = "1.0.0.0" #--------------------------- # Define Global Variables #--------------------------- global SettingsFile SettingsFile = "Services/Scripts/Palindrome/Settings/settings.json" global ScriptSettings ScriptSettings = MySettings(SettingsFile) ScriptSettings.Command = "!palindrome" ScriptSettings.Cooldown = 10 #--------------------------- # [Required] Initialize Data (Only called on load) #--------------------------- def Init(): # Create Settings Directory directory = os.path.join(os.path.dirname(__file__), "Services\Scripts\Palindrome\Settings") if not os.path.exists(directory): os.makedirs(directory) # Load settings
ScriptName = "Anagram Finder" Website = "https://www.streamlabs.com" Description = "!anagram (message) will attempt to find anagrams" Creator = "Dan White" Version = "1.0.0.0" #--------------------------- # Define Global Variables #--------------------------- global SettingsFile SettingsFile = "Services/Scripts/Quote/Settings/settings.json" global ScriptSettings ScriptSettings = MySettings(SettingsFile) ScriptSettings.Command = "!anagram" ScriptSettings.Cooldown = 10 #--------------------------- # [Required] Initialize Data (Only called on load) #--------------------------- def Init(): # Create Settings Directory directory = os.path.join(os.path.dirname(__file__), "Services\Scripts\Quote\Settings") if not os.path.exists(directory): os.makedirs(directory) # Load settings SettingsFile = os.path.join(os.path.dirname(__file__), "Services\Scripts\Quote\Settings\settings.json") ScriptSettings = MySettings(SettingsFile)
# [Required] Script Information #--------------------------- ScriptName = "Number Guesser" Website = "https://www.streamlabs.com" Description = "!guess (number) will try to guess the secret number" Creator = "Dan White" Version = "1.0.0.0" #--------------------------- # Define Global Variables #--------------------------- global SettingsFile SettingsFile = "Services/Scripts/Quote/Settings/settings.json" global ScriptSettings ScriptSettings = MySettings(SettingsFile) ScriptSettings.Command = "!guess" ScriptSettings.Cooldown = 1 #--------------------------- # [Required] Initialize Data (Only called on load) #--------------------------- def Init(): # Create Settings Directory directory = os.path.join(os.path.dirname(__file__), "Services\Scripts\Quote\Settings") if not os.path.exists(directory): os.makedirs(directory) # Load settings