@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5



Comments:

<0> <=- linux boi.. used to that format
<1> //say $time(yyyy/mm/dd HH:nn:ss TT)
<0> heh..
<2> Or just //say $timestamp.
<2> [January 19 2006 Thursday 12:22:00:52 AM]
<0> [19:21]
<1> <-- programmer .. used to THAT format
<0> hrm.. I just use yymmddhhnnss
<0> err yyyymmddHHnnss
<2> [nn:ss].
<2> ?
<0> that's my timestamp.
<1> //say $timestamp
<1> 93:20:05
<1> :oP
<2> Hey Mike` want to fix some broken com shells alias?



<1> eh?
<0> http://www.bekar.id.au/20060119191919.png
<1> i didn't break any shells
<2> //comopen coms1 WbemScripting.SWbemLocator | var %type = CurrentClockSpeed | var %x = $com(coms1,ConnectServer,3,dispatch* coms2), %x = $com(coms2,ExecQuery,3,bstr*,select %type from Win32_Processor,dispatch* coms3), %x = $comval(coms3,$iif(1,1,1),%type) | say %type :: %x | .comclose coms1 | .comclose coms2 | .comclose coms3
<2> Not working. :x
<2> I realize that everytime you make a COM alias, you have to make one for every os..or specify which os..
<0> $iif(1,1,1) ?!
<2> So for example the caps lock alias...depends on what os you use.
<1> no i don't
<2> So for example capslock.2K capslock.xp and so forth.
<2> Mk.
<1> i use XP :oP
<0> oh! that reminds me..
<0> *puts the W2K CD on the pile-of-work-stuff*
<0> bring on another VM..
<0> ugh, too many of the little blighters already..
<2> This doesn't work either... //comopen coms1 WbemScripting.SWbemLocator | var %type = Manufacturer | var %x = $com(coms1,ConnectServer,3,dispatch* coms2), %x = $com(coms2,ExecQuery,3,bstr*,select %type from Win32_BIOS,dispatch* coms3), %x = $comval(coms3,$iif(1,1,1),%type) | say %type :: %x | comclose coms1 | comclose coms2 | comclose coms3
<0> ok.. I'm gonna go over there *points at the couch* and read *nod*
<2> Manufacturer :: Phoenix Technologies LTD
<2> Uhm.
<2> CurrentClockSpeed :: 468
<2> Duno. :x
<2> <--Just trolling.
<0> *polishes boots*
<2> Ah okay.
<2> Found 1 that didn't work.
<2> //comopen coms1 WbemScripting.SWbemLocator | var %type = Capacity | var %x = $com(coms1,ConnectServer,3,dispatch* coms2), %x = $com(coms2,ExecQuery,3,bstr*,select %type from Win32_PhysicalMemory,dispatch* coms3), %x = $comval(coms3,$iif(1,1,1),%type) | say %x
<2> * /say: insufficient parameters
<2> *help*
<1> say %type :: %x
<2> K.
<3> kala
<2> ~kala-kala.
<2> Aha.
<2> Now I remember the problem.
<2> Mike`, I cannot perform any of the aliases again.
<2> Oh wait.
<2> That lastr 1 didn't have .comclose.
<2> <3> kala
<2> <2> ~kala-kala.
<2> * atc (~kala-kala@213-219-72-245-dsl.mus.estpak.ee) has left #mIRC
<2> *
<2> * Com 'coms1' already open
<1> we noticed...
<2> * Opened Com 'coms1' (WbemScripting.SWbemLocator) <2> Manufacturer :: Phoenix Technologies LTD * Closed Com 'coms1' * Closed Com 'coms2.'
<2> * Closed Com 'coms3.'
<2> <2> Uhm.
<2> * Opened Com 'coms1' (WbemScripting.SWbemLocator)
<2> <2> CurrentClockSpeed :: 468
<2> <2> Duno. :x
<2> <2> <--Just trolling.
<2> <0> *polishes boots*
<2> * z-jork (swat@ppp27.bc.ijdolz.net) Quit (brb)
<1> stop...
<2> Blah.
<2> <2> * Opened Com 'coms1' (WbemScripting.SWbemLocator) <2> Manufacturer :: Phoenix Technologies LTD * Closed Com 'coms1' * Closed Com 'coms2.'
<2> Last time I used an alias that didn't comclose.
<2> So none of them can be triggered.
<2> Even though I haven't rebooted though.
<1> //comclose coms3 | comclose coms2 | comclose coms1
<1> your Capacity one doesn't have those comcloses at the end, the others do



<2> This is why I always /clipboard<space> after every time I ctrl v.
<2> Ever since I found out about that command, I became paranoid to use it as often as possible.
<2> Okay.
<2> Found an alias that didn't work.
<2> It shows the first 3 com values as 1.
<2> But doesn't ecfho the rest.
<2> echo*
<2> GetRam {
<2> .comopen Locator WbemScripting.SWbemLocator | echo -a Com1: $com(Locator, ConnectServer, 3, dispatch* Services) | echo -a Com2: $com(Services, InstancesOf, 3, string, Win32_PhysicalMemory, dispatch* Ram)
<2> if $com(Ram) { echo com3: $com(Ram,Count,3) | var %n = $com(Ram).result | var %m = 1 | while (%m <= %n) { echo 4 Mem: %m echo 3 Com: $comval(Ram, %m, Capacity) | inc %m } | .comclose ram }
<2> .comclose Services | .comclose Locator
<2> }
<2> Echoes -->: Com1: 1 | Com2: 1 | com2: 1
<2> Er com3 for the last one.
<1> 1 means success
<1> it means that $com() call succeeded :D
<1> you might need to start %m = 0 though, and while (%m < %n)
<1> if it's a 0-based array
<4> #mirc 0 is the origin of life
<2> But I didn't echo the memory.
<2> Sec.
<2> Anyway.
<2> I typed a /comclose coms1 so I can /currentclockspeed which nows returns an invalid format error.
<2> Since it returns the entire line breaking the alias down to return the piece.
<1> i think you know more about the objects you are using than i do, since i've never used them at all
<1> qwerty has, i know
<1> most of my $com work is with ADODB
<2> * Invalid parameters: $com
<2> var %x = $com(coms1,ConnectServer,3,dispatch* coms2), %x = $com(coms2,ExecQuery,3,bstr*,select %type from Win32_Processor,dispatch* coms3), %x = $comval(coms3,$iif(1,1,1),%type)
<1> just from looking at it, i'd say that ConnectServer should be 1, not 3
<1> method, not method + get
<2> Ahhhhh.
<2> Figured it out.
<2> Mike`, code's exactly the same.
<1> i know
<2> So there couldbt have been a mistake.
<5> who here have expirence with blacklist maked Hrung ?
<2> couldn't*
<2> So.
<2> When the error told me that com1 was already open.
<5> the raw line have error :/
<5> raw 352:*: if (($2 ischan) && ($chan($2).inwho) && (!$chan($2).ial)) halt
<5> raw 315:*: if (($2 ischan) && ($chan($2).inwho)) halt
<2> I had to close it.
<2> But if I had to comclose 1, then I would have to do the same for 2 and 3.
<2> But instead, the error messaage when to $com().
<2> So I just realized if I didn't comclose1 then I didn't comclose 2 and 3.
<5> is not hidden the who chan :s
<5> so i want to know how there can fix it?
<2> Not sure why the error message when to $com though.
<2> Sec _u2pop_.
<1> so start each of those with if ($com(coms1)) .comclose coms1 | if ($com(coms2)) .comclose coms2 | if ($com(coms3)) .comclose coms3
<2> _u2pop_, you probably didn't want to tell us it was for a blacklist script.
<2> That part there was your mistake in asking to begin with.
<5> nono
<5> the mistake is Hrung maked the blacklist
<1> or put those three commands in a separate alias and call that alias as the first command
<5> and he add some line like saying that 2 lines will hide it
<2> Sorry he made it.
<5> and is not doing it.
<2> But you didn't want to tell us it was blacklist.
<5> ;The following line will check if the ial has been filled 1 min after you join a channel, and updates as needed.
<5> on me:*:join:*: .timer 1 10 if (!$chan( [ $chan ] ).ial) who $chan
<5> ;we hide the /who replies if the IAL is being updated
<5> raw 352:*: if (($2 ischan) && ($chan($2).inwho) && (!$chan($2).ial)) halt
<5> raw 315:*: if (($2 ischan) && ($chan($2).inwho)) halt
<5> read the ; line
<5> <5> ;we hide the /who replies if the IAL is being updated
<2> Oh, and if Hrung made it, thern there probably are not any mistakes. ;P
<2> aren't*
<5> IS NOT WORKING
<5> i turn on the /ial on
<5> and the same ****
<2> You don't see the timer.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #mirc
or
Go to some related logs:

cmkx shit on
#hardware
BRASLIAN FUCK
#visualbasic
#sql
ezboard lucy pinder
uranus is ours
what is Memtest8
#nhl
#gentoo



Home  |  disclaimer  |  contact  |  submit quotes