From be45f39727d0f7f30b0a6e7b1c7b86a485bbe1b0 Mon Sep 17 00:00:00 2001 From: epochqwert Date: Wed, 4 Feb 2015 03:33:02 -0600 Subject: meh. --- scripts/command | 1 + scripts/evalcommand | 1 + scripts/irccommand | 1 + scripts/ircrawcommand | 1 + scripts/prestartup | 6 ++++++ scripts/rawcommand | 1 + scripts/startup | 27 ++++++++++++++++----------- 7 files changed, 27 insertions(+), 11 deletions(-) create mode 100644 scripts/prestartup (limited to 'scripts') diff --git a/scripts/command b/scripts/command index 58533d2..538a09e 100644 --- a/scripts/command +++ b/scripts/command @@ -1,2 +1,3 @@ +!istaillocked %~/files/cmd_out Try using !more !changetail %~/files/cmd_out %f 56 !leetappend %~/files/cmd_in 10 %s diff --git a/scripts/evalcommand b/scripts/evalcommand index 723b1b7..92ab823 100644 --- a/scripts/evalcommand +++ b/scripts/evalcommand @@ -1,2 +1,3 @@ +!more !changetail %~/files/cmd_out %f 50 !leetappend %~/files/cmd_in 10 %s diff --git a/scripts/irccommand b/scripts/irccommand index 94fe1a3..5123d77 100644 --- a/scripts/irccommand +++ b/scripts/irccommand @@ -1,3 +1,4 @@ +!more !leetappend %~/files/cmd_in 10 export 'IRC_U=%u' !leetappend %~/files/cmd_in 10 export 'IRC_F=%f' !leetappend %~/files/cmd_in 10 export 'IRC_S=%s' diff --git a/scripts/ircrawcommand b/scripts/ircrawcommand index d2fe017..ca52dd6 100644 --- a/scripts/ircrawcommand +++ b/scripts/ircrawcommand @@ -1,3 +1,4 @@ +!more !leetappend %~/files/cmd_in 10 export 'IRC_U=%u' !leetappend %~/files/cmd_in 10 export 'IRC_F=%f' !leetappend %~/files/cmd_in 10 export 'IRC_S=%s' diff --git a/scripts/prestartup b/scripts/prestartup new file mode 100644 index 0000000..272cd90 --- /dev/null +++ b/scripts/prestartup @@ -0,0 +1,6 @@ +!nick SegFault +!raw user asdf seg fault :segfault +!builtin lobotomy 0 +!builtin amnesia 0 + !raw PASS wrongpassword + !raw SERVER nope.segfault.allowed.org :testing diff --git a/scripts/rawcommand b/scripts/rawcommand index 870abd4..f63ab4f 100644 --- a/scripts/rawcommand +++ b/scripts/rawcommand @@ -1,2 +1,3 @@ +!more !changetail %~/files/cmd_out %f 49 !leetappend %~/files/cmd_in 10 %s diff --git a/scripts/startup b/scripts/startup index d59045e..29e9202 100644 --- a/scripts/startup +++ b/scripts/startup @@ -1,15 +1,20 @@ +!linelimit 10000 !raw oper g0d WAFFLEIRON !raw join #cmd -!alias !rc !eval %~/scripts/rawcommand %s -!alias !eval !leettail 22%s -!alias !c !eval %~/scripts/command %s -!leettail 56%~/files/cmd_out -!changetail %~/files/cmd_out #default +!alias !eval !leettail 150%%s +!alias !rc !eval %~/scripts/rawcommand %%s +!alias !ec !eval %~/scripts/evalcommand %%s +!alias !c !eval %~/scripts/command %%s +!alias !sh !eval %~/scripts/shell %%s +!leettail 56#cmd:%~/files/cmd_out +!leettail 56#cmd:%~/files/sh_out !raw join #default -!raw join #syslog -!alias !tail !leettail 08%s -!tail /var/log/syslog/messages -!changetail /var/log/syslog/messages #syslog +!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 +!taildir /var/log/toirc/ + +!tail #default:%~/files/default +!raw join #twit +!leettail 24#twit:%~/files/twit_out !eval %~/files/useraliases -!tail %~/files/default -!changetail %~/files/default #default -- cgit v1.2.3