Would it be possible to have something that loads script files from a folder on the web? A friend has offered me a position as the "bot script guy" for his channel, and his connection is a lot more stable than mine, so the actual bot is planned to be on his computer. He's offered to make an FTP space on his website that I could load scripts to, but we were wondering if it would be possible to rig something up so that when the bot started up (Or when given a command, for when I updated things while it was running), it would either download or just read all the scripts from that folder on the web, and load the scripts.
My other idea (Since his DCC is busted) was to make a switch command that would create a sort of logging script. Something along the lines of:
on 1:TEXT:*:?: {
if ($1 == !StartScriptLogging) {
set %ScriptName $2
set %LoggingScript on
}
elseif ($1 == !StopLoggingScript) { set %LoggingScript off }
elseif ($1 == !LoadScript) { load $2 }
elseif ($1 == !UnloadScript) { unload $2 }
elseif (%LoggingScript = on) { write scripts/ $+ %ScriptName $+ .mrc $1- }
else { }
}
Apologies if there's errors in that, it was just something I typed up on the fly as an example.