#test | Logs for 2014-10-31

« return
[04:17:49] -!- FoobarBazbot has quit [Ping timeout: 244 seconds]
[04:18:36] -!- FoobarBazbot|afk [FoobarBazbot|afk!~FoobarBaz@66.249.gvs.gqi] has joined #test
[04:18:36] -!- mode/#test [+v FoobarBazbot|afk] by wheatley
[04:18:59] FoobarBazbot|afk is now known as FoobarBazbot
[06:46:56] <crutchy> g'day FoobarBazbot
[06:47:07] <crutchy> 's BNC :/
[07:23:22] <crutchy> ~x list
[07:23:23] <exec> error: no scripts opened for editing by crutchy in #test
[07:23:29] <crutchy> ~x open test
[07:23:30] <exec> script "test" opened for editing by crutchy in #test
[07:23:33] <crutchy> ~x list
[07:25:03] <crutchy> ~x list
[07:25:04] <exec> no lines in "test" script
[07:25:24] <crutchy> ~bucket <<LIVE_SCRIPTS>>
[07:25:25] <exec> a:1:{s:4:"test";a:1:{s:4:"code";s:0:"";}}
[07:32:32] <crutchy> fuyck'
[07:32:47] <crutchy> ~x add # poo
[07:32:48] <exec> script line appended
[07:32:54] <crutchy> ~x list
[07:32:55] <exec> [L1] # poo
[07:33:07] <crutchy> ~x open test
[07:33:09] <exec> script "test" opened for editing by crutchy in #test
[07:33:12] <crutchy> ~x list
[07:33:13] <exec> [L1] # poo
[07:35:14] <crutchy> something in this thing is deleting lines :/
[07:35:16] <crutchy> i think
[07:35:24] <crutchy> ~x close
[07:35:25] <exec> script "test" closed by crutchy in #test
[07:35:32] <crutchy> ~x open test
[07:35:33] <exec> script "test" opened for editing by crutchy in #test
[07:35:38] <crutchy> ~x list
[07:35:39] <exec> no lines in "test" script
[07:35:45] <crutchy> there we go
[07:35:55] <crutchy> maybe its the close action
[07:36:26] <crutchy> oh nope its the open script
[07:38:26] <crutchy> need some more actions
[07:39:04] <chromas> asplode()
[07:39:29] <chromas> ~define splode
[07:39:31] <exec> [urbandictionary] 3splode: A mistransation of explode
[07:39:38] <chromas> nooooo
[07:39:56] <chromas> http://www.youtube.com
[07:39:57] <NetCraft> ^ 03The Truth - Splode Tv Ad - YouTube
[07:40:54] <chromas> propaganda--
[07:45:03] <crutchy> trying to figure out a replace syntax
[07:45:31] <crutchy> ~x rep text to replace, new text
[07:45:33] <crutchy> maybe
[07:45:59] <crutchy> i don't think commas are prevailent in php are they?
[07:46:24] <crutchy> except maybe in strings
[07:46:36] <crutchy> oh darn
[07:46:43] <crutchy> function argument lists :/
[07:47:15] <crutchy> maybe | then
[07:53:54] <chromas> make it work just like php syntax
[07:54:07] <chromas> replace("string", "string")
[07:54:23] <chromas> be sure to stir up the ordering :D
[07:55:45] <crutchy> gotta be different to php so that i can differentiate the old/new delimiter from the old and new codes
[07:56:02] <chromas> pascal++ syntax
[07:56:26] <chromas> or sed
[08:14:55] <crutchy> ~php str_replace
[08:14:56] <exec> mixed str_replace( mixed $search , mixed $replace , mixed $subject [, int &$count] )
[08:19:39] <crutchy> ~x list
[08:19:40] <exec> no lines in "test" script
[08:19:52] <crutchy> ~x add # blah blah stuffity stuff
[08:19:53] <exec> script line appended
[08:20:15] <crutchy> ~x rep 1 blah|thinga
[08:20:17] <exec> 1 replacements made
[08:20:22] <crutchy> ~x list
[08:20:24] <exec> [L1] # thinga thinga stuffity stuff
[08:22:09] <crutchy> ~x rep 1 thinga|crap
[08:22:10] <exec> 2 replacements made
[08:22:13] <crutchy> ~x list
[08:22:14] <exec> [L1] # crap crap stuffity stuff
[08:22:20] <crutchy> that's a bit better
[08:57:24] <crutchy> ~x add if ((strpos(strtolower($trailing),"crutchy")!==False) or (strpos(strtolower($trailing),"exec")!==False)) { pm("crutchy","[$dest] <$nick> $trailing"); }
[08:57:26] <exec> script line appended
[08:57:35] <crutchy> ~x list
[08:57:36] <exec> [L1] # crap crap stuffity stuff
[08:57:37] <exec> [L2] if ((strpos(strtolower($trailing),"crutchy")!==False) or (strpos(strtolower($trailing),"exec")!==False)) { pm("crutchy","[$dest] <$nick> $trailing"); }
[08:57:49] <crutchy> ~x rem 1
[08:57:51] <exec> script line removed
[08:57:54] <crutchy> ~x list
[08:57:55] <exec> [L1] if ((strpos(strtolower($trailing),"crutchy")!==False) or (strpos(strtolower($trailing),"exec")!==False)) { pm("crutchy","[$dest] <$nick> $trailing"); }
[08:58:06] <chromas> Do they get stored in buckets? Or does it make an external file for each script?
[08:58:17] <crutchy> ~x rep crutchy|chromas
[08:58:18] <exec> error: invalid line number
[08:58:24] <crutchy> ~x rep 1 crutchy|chromas
[08:58:25] <exec> 2 replacements made
[08:58:27] <crutchy> buckets
[08:58:36] <crutchy> ~x list
[08:58:37] <exec> [L1] if ((strpos(strtolower($trailing),"chromas")!==False) or (strpos(strtolower($trailing),"exec")!==False)) { pm("chromas","[$dest] <$nick> $trailing"); }
[08:58:49] <chromas> /invite Bender && buckets++
[08:58:57] <crutchy> ~x rep 1 chromas|crutchy
[08:58:59] <exec> 2 replacements made
[08:59:10] <chromas> ooh, a bm
[09:00:11] <exec> burp
[09:00:52] <crutchy> hopefully no more infinite loops
[09:01:03] <crutchy> disabled live scripts from responding to exec
[09:01:19] <chromas> do they have access to buckets?
[09:01:28] <chromas> self-modifying bots
[09:01:42] <chromas> scripts editing scripts
[09:02:08] <crutchy> yeah they can access pretty much any function that a normal script can, except the privmsg function doesn't work normally, so you gotta pm to $dest
[09:03:17] <crutchy> ~x add if ($trailing=="glub") { pm($dest,"glub"); }
[09:03:18] <exec> script line appended
[09:03:22] <crutchy> glub
[09:03:23] <exec> glub
[09:12:05] -!- exec has quit [Quit: dafuq]
[11:35:27] -!- crutchy has quit [Read error: Connection reset by peer]
[11:37:00] -!- crutchy [crutchy!~crutchy@709-27-2-01.cust.aussiebb.net] has joined #test
[11:37:00] -!- mode/#test [+v crutchy] by wheatley
[12:58:59] -!- TheMightyBot has quit [Remote host closed the connection]
[12:58:59] -!- TheMightyBuzzard has quit [Read error: Connection reset by peer]