// #scripters — 2008-02-22
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
03:49:09 Quit: stefan ([email protected]) Ping timeout for stefan
03:50:00 Join: stefan ([email protected]) to #scripters
03:50:03 Mode: (by ChanOp) +o stefan
06:46:36 Join: bullet1 ([email protected]) to #scripters
06:47:18 Part: bullet1 ([email protected]) from #scripters
07:12:23 Quit: josh_ ([email protected]) Exit: Leaving
09:11:55 Join: schnoowork ([email protected]) to #scripters
09:15:48 Nick: Longie is now known as LongGone
09:16:35 Nick: LongGone is now known as Longie
11:35:42 Join: echello ([email protected]) to #scripters
11:57:39 Quit: Timegrinder ([email protected]) Killed (NickOp (Kill requested by Simulacrum))
11:57:51 Join: Timegrinder ([email protected]) to #Scripters
13:28:48 Quit: schnoowork ([email protected]) Exit:
14:35:34 Join: wobelong ([email protected]) to #scripters
15:54:37 Nick: Longie is now known as LongGone
16:26:54 <echello> hey
16:27:00 <echello> how can i grab all the names of people in a channel
16:27:08 <echello> are there arrays in mirc scripting ?
16:27:28 <echello> how can i store stuff
16:30:05 <Bozza> echello: use $nick(#Scripters,1) and a while loop
16:31:00 <Bozza> var %x = 1 | while ($nick(#Scripters,%x)) { echo $nick(#Scripters,%x) | inc %x }
16:31:06 <echello> ta
16:31:22 <echello> so, how can i store a list of things?
16:31:39 <Bozza> Depends on how you want to store it
16:31:49 <echello> lets say as an arrayu
16:31:51 <echello> array
16:32:28 <Bozza> mIRC on its own doesnt handle arrays
16:32:33 <echello> how then?
16:33:24 <echello> hallo el Bozza
16:33:33 <Bozza> Your choices are in a text file, and .ini file, hash table, or a variable... variable wouldnt be too good for larger channels
16:33:54 <echello> hash table hey
16:34:02 <echello> hmm
16:34:05 <echello> text files sounds reasonable aswell
16:34:07 <echello> file*
16:34:09 <Bozza> Yes, not the kind you smoke, the kind you put data into
16:34:20 <echello> how can i manipulate text files
16:34:35 <Bozza> use /write to add to it, and $read to read from it
16:34:45 <echello> cool.
16:35:02 <echello> now.
16:35:16 <echello> lets say i want to type something right here, and i want to echo a nickname from a channel in another server
16:36:24 <Bozza> Another server you are connected to from the same client?
16:36:30 <echello> yes
16:37:28 <Bozza> then you'll need to look into /scon and /scid
16:41:49 <echello> hmm ok
16:49:28 <echello> what about looping through each channel?
16:49:37 <echello> ina particular server
16:50:42 <Bozza> scon should cover that as well
16:52:47 <echello> eh ?
16:53:02 <echello> pretend i have only 1 server connection
16:53:06 <echello> how do i loop through the channels
16:54:03 <Bozza> var %x = 1 | while ($chan(%x)) { msg $chan(%x) Hello world! | inc %x }
16:54:24 <echello> ah ok
16:54:25 <echello> cool
16:54:34 <echello> and how can i retrieve the number of channels?
16:54:47 <Bozza> $chan(0)
17:14:45 <echello> so
17:14:51 <echello> how can i test whether a line is in a file
17:16:56 <echello> hmm i think i know
17:25:45 <echello> hmm
17:26:05 <echello> i want to scan a file for the exact match "echelon" and replace that line with something
17:28:14 <Bozza> /help /write should explain that
17:30:06 <echello> write -lwdsaf testfile.txt echelon5
17:30:18 <echello> write -lwechelon testfile.txt newword
17:30:20 <echello> im trying that
17:30:22 <echello> but its not working
17:30:53 <echello> hmm
17:32:14 <echello> grr
17:34:13 <echello> grr
17:37:39 <echello> how can i get it to match exactly
17:37:58 <echello> and not match bing with bing2 just because bing is contained in bing2
17:40:05 Nick: LongGone is now known as Longie
17:46:58 <echello> anyone able to help?
18:02:44 Nick: Longie is now known as LongGone
19:17:03 Join: Inzpector ([email protected]) to #scripters
19:17:09 Part: Inzpector ([email protected]) from #scripters
19:22:27 Nick: echello is now known as echelon
19:24:58 Nick: echelon is now known as wsdwasds
19:26:14 Nick: wsdwasds is now known as echelon3
20:00:21 Quit: stefan ([email protected]) Killed (NickOp (Kill requested by stefan_))
20:00:43 Join: stefan ([email protected]) to #scripters
20:00:43 Mode: (by ChanOp) +o stefan
20:05:45 Quit: ImmutableDark ([email protected]) Ping timeout for ImmutableDark
20:15:35 <echelon3> hey, how can i comment out a line, like # or /* in C ?>
20:15:44 <echelon3> sorry not #
20:15:51 <echelon3> like // or /* */
20:17:32 Join: ImmutableDark ([email protected]) to #scripters
20:20:29 Quit: echelon3 ([email protected]) Exit:
20:23:56 Join: echelon ([email protected]) to #scripters
21:35:27 Quit: echelon ([email protected]) Read error to echelon: Connection reset by peer
21:42:45 Join: echelon ([email protected]) to #scripters
21:48:19 Join: magik ([email protected]) to #scripters
22:21:43 Nick: echelon is now known as echelon3
22:23:53 Quit: ImmutableDark ([email protected]) net.split net.split
22:23:54 Join: ImmutableDark ([email protected]) to #scripters
22:25:52 Quit: echelon3 ([email protected]) Read error to echelon3: Connection reset by peer
22:25:53 Quit: wobelong ([email protected]) net.split net.split
22:27:42 Join: wobelong ([email protected]) to #scripters
Search this day's buffer:
