AustNet AustNet Archive Project — IRC Logs
« All channels | Contribute a log »

// #scripters — 2009-07-10

1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
02:23:41 Topic Is: Never message anyone.
02:23:41 Set By: (Carson) on: Sat Jan 17 17:17:35 2009
04:02:57 Quit: schnoodles ([email protected]) Ping timeout: 121 seconds
04:03:52 Quit: schnootop ([email protected]) Ping timeout: 121 seconds
04:10:23 Join: schnoodles ([email protected]) to #scripters
04:29:04 Join: schnootop ([email protected]) to #scripters
10:49:40 Quit: schnootop ([email protected]) Quit: Leaving
11:03:04 Join: schnootop ([email protected]) to #scripters
14:35:14 Join: iGloo ([email protected]) to #scripters
14:37:37 <iGloo> how do i incorporate $read(quotes.txt) to 1) be able to gather a certain quote line via the !quote trigger eg !quote 4, and use wildcard to retrieve one matching quote containing the word eg !quote BALLS
14:37:48 Nick: iGloo is now known as crazygloo
14:38:52 <crazygloo> Longie i know you know!
16:29:59 Part: crazygloo ([email protected]) from #scripters
17:59:23 Part: Carson ([email protected]) from #scripters
17:59:23 Join: Carson ([email protected]) to #scripters
17:59:31 Mode: (by ChanOP) +o Carson
18:42:26 Join: crazygloo ([email protected]) to #scripters
18:42:51 <crazygloo> does anyone every fucking read anything in this channel?
18:42:59 <crazygloo> ive asked for help twice in 30 hours
18:43:25 <crazygloo> im a reasonable man, but an entire day?
18:52:30 <crazygloo> Carson
18:52:32 <crazygloo> Longie
18:52:34 <crazygloo> ash2
18:52:42 <crazygloo> Bozza
18:52:45 <crazygloo> damian
18:52:52 <crazygloo> peter
18:52:55 <crazygloo> schnoodles
18:52:59 <crazygloo> twig
18:53:01 <crazygloo> wobelong
18:55:25 <Carson> you didn't ask for help at all.
18:55:28 <Carson> 20090709 12:02:47 < crazygloo> any1 active?
18:55:30 <Carson> 20090710 14:10:42 < crazygloo> Longie i know you know!
18:55:39 <Carson> and then you pissed and moaned like a little girl
18:56:22 <crazygloo> err
18:56:31 <crazygloo> you missed the 15 lines inbetween that
18:56:42 <crazygloo> well 2 actually
18:57:09 <Carson> ah, so you've in with different nicknames, and asked for help, and expect people to know
18:57:12 <Carson> great.
18:57:35 <Carson> /help $read
18:58:01 <crazygloo> no shit i've done that already
18:58:11 <crazygloo> i have a dif question
18:58:14 <crazygloo> ive scripted it
18:58:14 <crazygloo> but
18:58:20 <crazygloo> hang
18:59:16 <crazygloo> on *:TEXT:!quote:#wuzzzza: { if ($nick isop #wuzzzza) { set %quote $read(quotes.txt) | msg #wuzzzza Quote $readn $+ / $+ $lines(quotes.txt) $+ : %quote } }
18:59:22 <crazygloo> that works only occasionally
18:59:28 <crazygloo> some lines it reads out as blank
18:59:30 <crazygloo> half the time
18:59:37 <crazygloo> the text file is fine
18:59:41 <crazygloo> the lines are all there
18:59:49 <crazygloo> but it only reads them 50/50
18:59:52 <crazygloo> any idea why?
19:03:18 <Bozza> clear any blank lines in your quotes.txt file.. perhaps theres and empty line right at the bottom
19:03:35 <crazygloo> nope checked that
19:03:41 <crazygloo> created new text file
19:03:43 <crazygloo> no blanks
19:04:09 <crazygloo> [18:58:39] <@SoniaNotHere> !quote
19:04:10 <crazygloo> [18:58:39] <@crazygloo> Quote 110/180:
19:04:10 <crazygloo> [18:58:42] <@SoniaNotHere> !quote
19:04:10 <crazygloo> [18:58:43] <@crazygloo> Quote 101/180:
19:07:07 <Bozza> It may not help but your needlessly adding variables... you can put $read(quotes.txt) directly into the message rather than create a variable
19:08:24 <crazygloo> not if i want $readn to work properly
19:08:34 <crazygloo> if i didn't want the lines numbered it wouldn't need to be there
19:08:56 <Bozza> Or just have it store the line number its on rather than the whole quote and use $read(quotes.txt,%quote) to read that specific line
19:09:43 <Bozza> variables have character limits... if your quote is too long it won't be read
19:09:56 <crazygloo> oh right
19:09:57 <crazygloo> um
19:10:11 <crazygloo> so how do i rewrite it? i'm tired and confused :(
19:11:27 <Bozza> on *:TEXT:!quote:#wuzzzza: { if ($nick isop #wuzzzza) { set %quote $rand(1,$lines(quotes.txt)) | msg #wuzzzza Quote %quote $+ / $+ $lines(quotes.txt) $+ : $read(quotes.txt,%quote) } }
19:16:28 <crazygloo> ok just tried that
19:16:30 <crazygloo> [19:17:52] <@SoniaNotHere> !quote
19:16:30 <crazygloo> [19:17:52] <@crazygloo> Quote 84/180:
19:16:31 <crazygloo> [19:17:53] <@SoniaNotHere> !quote
19:16:31 <crazygloo> [19:17:53] <@crazygloo> Quote 120/180: <vgcoupe> my turtle head in my shorts smells awful
19:16:31 <crazygloo> [19:17:54] <@SoniaNotHere> !quote
19:16:31 <crazygloo> [19:17:54] <@crazygloo> Quote 134/180:
19:16:31 <crazygloo> [19:17:55] <@SoniaNotHere> !quote
19:16:31 <crazygloo> [19:17:55] <@crazygloo> Quote 83/180:
19:16:44 <crazygloo> im gunna cry
19:21:24 <Bozza> its possessed... without blanks in the file theres no reason for it to be empty
19:25:18 <crazygloo> yeah its got me stumped
19:25:25 <crazygloo> well thanks anyway
23:11:05 Join: rabbit- ([email protected]) to #scripters
23:21:23 Join: echelon ([email protected]) to #scripters
23:23:14 Quit: rabbit- ([email protected]) Ping timeout: 121 seconds