summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEpoch Qwert <epoch@53flpnlls43fcguy.onion>2014-09-22 01:09:56 -0500
committerEpoch Qwert <epoch@53flpnlls43fcguy.onion>2014-09-22 01:09:56 -0500
commit309250ca8f1ce7b6fe25706774eb3fbbd7919a0b (patch)
treeb593c54c02aa27ec6bfa84af98b22636bae59ed5 /scripts
parentf1e5ad1b43d25c08f3df1cd6cb3b16d2af575458 (diff)
downloadsegfault_home-309250ca8f1ce7b6fe25706774eb3fbbd7919a0b.tar.gz
segfault_home-309250ca8f1ce7b6fe25706774eb3fbbd7919a0b.zip
updated scripts to use %~ for homedir instead of hardcoded /home/segfault
Diffstat (limited to 'scripts')
-rw-r--r--scripts/command5
-rw-r--r--scripts/crashit3
-rw-r--r--scripts/evalcommand5
-rw-r--r--scripts/irccommand13
-rw-r--r--scripts/ircrawcommand13
-rw-r--r--scripts/more4
-rw-r--r--scripts/rawcommand5
-rw-r--r--scripts/startup13
8 files changed, 32 insertions, 29 deletions
diff --git a/scripts/command b/scripts/command
index adc0860..58533d2 100644
--- a/scripts/command
+++ b/scripts/command
@@ -1,3 +1,2 @@
-!leetuntail * /home/segfault/files/cmd_out
-!leettail 56/home/segfault/files/cmd_out
-!leetappend /home/segfault/files/cmd_in 10 %s
+!changetail %~/files/cmd_out %f 56
+!leetappend %~/files/cmd_in 10 %s
diff --git a/scripts/crashit b/scripts/crashit
new file mode 100644
index 0000000..6d20160
--- /dev/null
+++ b/scripts/crashit
@@ -0,0 +1,3 @@
+ !leetuntail * %~/files/cmd_out
+ !leettail 56%~/files/cmd_out
+ !leetappend %~/files/cmd_in 10 %s
diff --git a/scripts/evalcommand b/scripts/evalcommand
index db37f05..723b1b7 100644
--- a/scripts/evalcommand
+++ b/scripts/evalcommand
@@ -1,3 +1,2 @@
-!leetuntail * /home/segfault/files/cmd_out
-!leettail 50/home/segfault/files/cmd_out
-!leetappend /home/segfault/files/cmd_in 10 %s
+!changetail %~/files/cmd_out %f 50
+!leetappend %~/files/cmd_in 10 %s
diff --git a/scripts/irccommand b/scripts/irccommand
index 09ad8bd..94fe1a3 100644
--- a/scripts/irccommand
+++ b/scripts/irccommand
@@ -1,7 +1,6 @@
-!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
+!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'
+!leetappend %~/files/cmd_in 10 export 'IRC_M=%m'
+!changetail %~/files/cmd_out %f 56
+!leetappend %~/files/cmd_in 10 %s
diff --git a/scripts/ircrawcommand b/scripts/ircrawcommand
index 9de7396..d2fe017 100644
--- a/scripts/ircrawcommand
+++ b/scripts/ircrawcommand
@@ -1,7 +1,6 @@
-!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
+!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'
+!leetappend %~/files/cmd_in 10 export 'IRC_M=%m'
+!changetail %~/files/cmd_out %f 49
+!leetappend %~/files/cmd_in 10 %s
diff --git a/scripts/more b/scripts/more
index 0859ee2..e974887 100644
--- a/scripts/more
+++ b/scripts/more
@@ -1,2 +1,2 @@
-!changetail /home/segfault/files/cmd_out %f
-!tailunlock /home/segfault/files/cmd_out
+!changetail %~/files/cmd_out %f
+!tailunlock %~/files/cmd_out
diff --git a/scripts/rawcommand b/scripts/rawcommand
index 4ed297a..870abd4 100644
--- a/scripts/rawcommand
+++ b/scripts/rawcommand
@@ -1,3 +1,2 @@
-!leetuntail * /home/segfault/files/cmd_out
-!leettail 49/home/segfault/files/cmd_out
-!leetappend /home/segfault/files/cmd_in 10 %s
+!changetail %~/files/cmd_out %f 49
+!leetappend %~/files/cmd_in 10 %s
diff --git a/scripts/startup b/scripts/startup
index 8e6a8e3..d59045e 100644
--- a/scripts/startup
+++ b/scripts/startup
@@ -1,10 +1,15 @@
-!alias !rc !eval /home/segfault/scripts/rawcommand %s
+!raw oper g0d WAFFLEIRON
+!raw join #cmd
+!alias !rc !eval %~/scripts/rawcommand %s
!alias !eval !leettail 22%s
-!alias !c !eval /home/segfault/scripts/command %s
+!alias !c !eval %~/scripts/command %s
+!leettail 56%~/files/cmd_out
+!changetail %~/files/cmd_out #default
!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
-
+!eval %~/files/useraliases
+!tail %~/files/default
+!changetail %~/files/default #default