diff options
-rw-r--r-- | scripts/command | 1 | ||||
-rw-r--r-- | scripts/evalcommand | 1 | ||||
-rw-r--r-- | scripts/irccommand | 1 | ||||
-rw-r--r-- | scripts/ircrawcommand | 1 | ||||
-rw-r--r-- | scripts/prestartup | 6 | ||||
-rw-r--r-- | scripts/rawcommand | 1 | ||||
-rw-r--r-- | scripts/startup | 27 |
7 files changed, 27 insertions, 11 deletions
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 |