This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| d4tZsaGAQkz9uvQDjLW2OOoTIzkLupMqZMK5lLeDtvromPUnr(MG0ovQ9c7Mk7xj8tkYWOGXrq9Cknucudwjz4sHdsvHll5ycCoIkwOQKLsuwmrvTCHEibYtrTmQQwNQOmrPKKPQYKvvth5IcIRQkQEMG66IAJkP2krLSzQY2vIMLusQVsvrFwKVlLOrkLeMMu0OvLA8ev5KeWTufUgf68sPEnrL63s1FjiJaCG14ab2c2Fl83cdTWiyjWFWFCG)J1xzNinllWALcSwKML1fNuQIp1)f2pcmaUKxdT7xFiFWYZKNNTiSw4qnBqo(dmg2Ob)bgmAgEpAAeCBtEE2IW6hMd1OXMgcmkSWgdlNWYXp8E00myBP8eCFCe4xMUZ0tToK1hy9)p00DALquCsPkAXbcSllDXjLQOf7aWZhSCvUuPDIvREXkz6uTyL29xSsW6Xbw11FCGjTQCeoWszfn4abcSOsBT4aBhxsvG9PpKjtatYaboBlHevARfmfZf4OwSWbwkRObhiqGBSSbPvLJWbwkRObhiqG90I00D4alLv0GdeiWXUQWbwkRObhiqG)JN3iMvuBCGLYkAWbceiWXknD31Urbof75gGalId7aCG1I0SSU4Ksv8P(VW(rGbWuCsPkIdStlvwCyhawGKRhRfReSECGaNTLSscValMTuxsO3ZVatJu9bb(DnP3e2nfgSQR)4atAv5iCGTJlPkSdmdwkRObh2bMXlqGaNTLqIkT1IxGJDvHdSuwrdoqGalQ0wloW2XLufyF6dzYeWKmqGBSSbPvLJWbwkRObhiqG90I00D4alLv0GdeiW)XZBeZkQnoWszfn4abcCulw4alLv0GdeiqG96oIhFxyh2p4yLMU7A3OapIDhy5zYZZwe2pccBeSV7DjSn0c)gbpFWcKC9yTyvd94wSk3aClNp9g7Mcd2LLU4Ksv0IDa42M88SfHDGbW)X6RStKMLfyTsb2sAr52k4(4iWckK9fImqy7hhy5zYZZwe2pccBeSwKML1fNu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import socket #imports module allowing connection to IRC | |
| import threading #imports module allowing timing functions | |
| #sets variables for connection to twitch chat | |
| bot_owner = 'SpartacurseTV' | |
| nick = 'phaseplant' | |
| channel = '#SpartacurseTV' | |
| server = 'irc.twitch.tv' | |
| password = '*snip*' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $behaviour = $_GET['behaviour']; | |
| $shouldIt = $_GET['shouldIt']; | |
| switch($behaviour){ | |
| case "moves"; | |
| if ($shouldIt == "yes"){ | |
| return "Everything works!"; | |
| } else { | |
| return "Apply duct tape."; | |
| } |