From 3cb90cc19cc95bcea41845de4555e79bdd34b161 Mon Sep 17 00:00:00 2001 From: epochqwert Date: Mon, 18 May 2015 06:20:36 -0500 Subject: fuck if I know --- scripts/prestartup | 12 +++++++++--- scripts/startup | 11 +++++++---- 2 files changed, 16 insertions(+), 7 deletions(-) (limited to 'scripts') diff --git a/scripts/prestartup b/scripts/prestartup index 272cd90..16054f0 100644 --- a/scripts/prestartup +++ b/scripts/prestartup @@ -1,6 +1,12 @@ + Set important server message handlers first. + 004 is where we know we're connected and can start joining shit. +!alias !eval !leettail 150%s +!alias !004 !eval %~/scripts/startup + 436 is nick collision. +!alias !433 !nick %m%r%r%r +!alias !436 !nick %m%r%r%r !nick SegFault -!raw user asdf seg fault :segfault -!builtin lobotomy 0 -!builtin amnesia 0 +!raw user epoch epoch epoch :epoch + !raw PASS wrongpassword !raw SERVER nope.segfault.allowed.org :testing diff --git a/scripts/startup b/scripts/startup index 29e9202..21ed886 100644 --- a/scripts/startup +++ b/scripts/startup @@ -9,12 +9,15 @@ !leettail 56#cmd:%~/files/cmd_out !leettail 56#cmd:%~/files/sh_out !raw join #default + !alias !tail !leettail 08%%s -!alias !taildir !ec find %%s -type f | while read i;do c='#'$(basename $(dirname "$i"))'-'$(basename "$i");echo '!leettail 08'${c}':'"$i";echo '!raw JOIN '$c;echo '!raw TOPIC '$c' :'$c;done +#top one joins too. + !alias !taildir !ec find %%s -type f | while read i;do c='#'$(basename $(dirname "$i"))'-'$(basename "$i");echo '!leettail 08'${c}':'"$i";echo '!raw JOIN '$c;echo '!raw TOPIC '$c' :'$c;done + !alias !taildir !ec find %%s -type f | while read i;do c='#'$(basename $(dirname "$i"))'-'$(basename "$i");echo '!leettail 08'${c}':'"$i";echo '!raw TOPIC '$c' :'$c;done +#!alias !taildir !c find %%s -type f | while read i;do c='#'$(basename $(dirname "$i"))'-'$(basename "$i");echo '!leettail 08'${c}':'"$i";echo '!raw TOPIC '$c' :'$c;done > /service/log2irc/scripts/taildir;echo '!lobotomy' >> /service/log2irc/scripts/taildir +!alias !taildir !c find %%s -type f | while read i;do c='#'$(basename $(dirname "$i"))'-'$(basename "$i");echo '!leettail 08'${c}':'"$i";echo '!raw TOPIC '$c' :'$c;done > /service/log2irc/scripts/taildir !taildir /var/log/toirc/ - !tail #default:%~/files/default -!raw join #twit -!leettail 24#twit:%~/files/twit_out + !eval %~/files/useraliases -- cgit v1.2.3