summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/command3
-rw-r--r--scripts/evalcommand3
-rw-r--r--scripts/irccommand7
-rw-r--r--scripts/ircrawcommand7
-rw-r--r--scripts/lamba2
-rw-r--r--scripts/more2
-rw-r--r--scripts/rawcommand3
-rw-r--r--scripts/reset3
-rw-r--r--scripts/startup10
9 files changed, 40 insertions, 0 deletions
diff --git a/scripts/command b/scripts/command
new file mode 100644
index 0000000..adc0860
--- /dev/null
+++ b/scripts/command
@@ -0,0 +1,3 @@
+!leetuntail * /home/segfault/files/cmd_out
+!leettail 56/home/segfault/files/cmd_out
+!leetappend /home/segfault/files/cmd_in 10 %s
diff --git a/scripts/evalcommand b/scripts/evalcommand
new file mode 100644
index 0000000..db37f05
--- /dev/null
+++ b/scripts/evalcommand
@@ -0,0 +1,3 @@
+!leetuntail * /home/segfault/files/cmd_out
+!leettail 50/home/segfault/files/cmd_out
+!leetappend /home/segfault/files/cmd_in 10 %s
diff --git a/scripts/irccommand b/scripts/irccommand
new file mode 100644
index 0000000..09ad8bd
--- /dev/null
+++ b/scripts/irccommand
@@ -0,0 +1,7 @@
+!leetappend /home/segfault/files/cmd_in 10 export 'IRC_U=%u'
+!leetappend /home/segfault/files/cmd_in 10 export 'IRC_F=%f'
+!leetappend /home/segfault/files/cmd_in 10 export 'IRC_S=%s'
+!leetappend /home/segfault/files/cmd_in 10 export 'IRC_M=%m'
+!leetuntail * /home/segfault/files/cmd_out
+!leettail 56/home/segfault/files/cmd_out
+!leetappend /home/segfault/files/cmd_in 10 %s
diff --git a/scripts/ircrawcommand b/scripts/ircrawcommand
new file mode 100644
index 0000000..9de7396
--- /dev/null
+++ b/scripts/ircrawcommand
@@ -0,0 +1,7 @@
+!leetappend /home/segfault/files/cmd_in 10 export 'IRC_U=%u'
+!leetappend /home/segfault/files/cmd_in 10 export 'IRC_F=%f'
+!leetappend /home/segfault/files/cmd_in 10 export 'IRC_S=%s'
+!leetappend /home/segfault/files/cmd_in 10 export 'IRC_M=%m'
+!leetuntail * /home/segfault/files/cmd_out
+!leettail 49/home/segfault/files/cmd_out
+!leetappend /home/segfault/files/cmd_in 10 %s
diff --git a/scripts/lamba b/scripts/lamba
new file mode 100644
index 0000000..20a7b24
--- /dev/null
+++ b/scripts/lamba
@@ -0,0 +1,2 @@
+!lamba !alias !tmp %s
+!tmp
diff --git a/scripts/more b/scripts/more
new file mode 100644
index 0000000..0859ee2
--- /dev/null
+++ b/scripts/more
@@ -0,0 +1,2 @@
+!changetail /home/segfault/files/cmd_out %f
+!tailunlock /home/segfault/files/cmd_out
diff --git a/scripts/rawcommand b/scripts/rawcommand
new file mode 100644
index 0000000..4ed297a
--- /dev/null
+++ b/scripts/rawcommand
@@ -0,0 +1,3 @@
+!leetuntail * /home/segfault/files/cmd_out
+!leettail 49/home/segfault/files/cmd_out
+!leetappend /home/segfault/files/cmd_in 10 %s
diff --git a/scripts/reset b/scripts/reset
new file mode 100644
index 0000000..82307a2
--- /dev/null
+++ b/scripts/reset
@@ -0,0 +1,3 @@
+!kill 9 -1
+!c pwd
+ That's just to make the next command work.
diff --git a/scripts/startup b/scripts/startup
new file mode 100644
index 0000000..8e6a8e3
--- /dev/null
+++ b/scripts/startup
@@ -0,0 +1,10 @@
+!alias !rc !eval /home/segfault/scripts/rawcommand %s
+!alias !eval !leettail 22%s
+!alias !c !eval /home/segfault/scripts/command %s
+!raw join #default
+!raw join #syslog
+!alias !tail !leettail 08%s
+!tail /var/log/syslog/messages
+!changetail /var/log/syslog/messages #syslog
+!eval /home/segfault/files/useraliases
+