summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2015-05-18 06:20:36 -0500
committerepochqwert <epoch@hacking.allowed.org>2015-05-18 06:20:36 -0500
commit3cb90cc19cc95bcea41845de4555e79bdd34b161 (patch)
tree90d6da3aaac770440c4aa6309d72c2bfc934fe08 /scripts
parentbe45f39727d0f7f30b0a6e7b1c7b86a485bbe1b0 (diff)
downloadsegfault_home-3cb90cc19cc95bcea41845de4555e79bdd34b161.tar.gz
segfault_home-3cb90cc19cc95bcea41845de4555e79bdd34b161.zip
fuck if I know
Diffstat (limited to 'scripts')
-rw-r--r--scripts/prestartup12
-rw-r--r--scripts/startup11
2 files changed, 16 insertions, 7 deletions
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