knoeki

knoeki

Joined:
Oct 04, 2007
Location:
irc.p2p-network.net, #zomgwtfbbq
Website:

Activity Stream

knoeki commented on an Image, sKIRc  -  Mar 11, 2012
This looks incredibly cluttered.
 Respond  
knoeki commented on a Snippet, !active (show no. of active nicks on chan)  -  Mar 07, 2012
@Pangaea: this is absolutely terrible code (: I could make something much better.
 Respond  
knoeki commented on a Snippet, Kick Sparky for saying '0'  -  Jul 24, 2010
Do you really need to post pointless crap like this?
 Respond  
knoeki commented on a Snippet, TLD lookup  -  May 21, 2010

Quote

Have you had a chance to fix the issue I noted in my first reply? The part where it did notgive the 'Sponsoring organisation:" part right?


It's strange indeed, I'll have a look at it later.
 Respond  
knoeki commented on a Snippet, TLD lookup  -  May 21, 2010
you can always have a delay variable at the start of the script (or in an .ini, whatever you prefer), and do something like:

Code

 


Bit rough maybe, but it probably works. Tastes differ. I prefer to keep everything on one line generally, but it depends on the case.
 Respond  
knoeki posted a Snippet  -  May 21, 2010
knoeki commented on a Snippet, Very simple Pm log checker  -  May 09, 2010
You really need to place things on multiple lines instead of using pipes to seperate things. Makes it more readable and easier to debug...

Oh, and it's spelled "messages", not "message's" ;_)
 Respond  
knoeki commented on a Snippet, Channel name background  -  May 09, 2010

Quote

Actually knoeki, speed aside, WorldDMT's suggestion of using $exists() or $isfile() is recommended, because you want to make sure the file the script references to is there. If not, you may get an error. That's why people make checks to prevent errors from happening.


That's what the $findfile() is for.. again.. I must have had *some* reason to use that over $file() (or $isfile() or $exists() for that matter), but I really don't know why I didn't use it. May or may not have to do with the fact that I ripped this from a larger script I wrote.
 Respond  
knoeki commented on a Snippet, Channel name background  -  May 08, 2010

Quote

what about $exists or $isfile

could have done that, I'm sure I had a reason not to do so.


Quote

and you can replace == $null by adding "!" before the identifer

Not my style, sorry.

Quote

and remove the "()" around the condition it will make the code slower

I really doubt it matters much, and if it does, then stop using the dusty old 486 in your mums basement as your PC (:

I prefer my code to be readable over "fast", especially when there's no real significant speed gain... 1ms more or less is not going to kill you with something trivial as this.
 Respond  
knoeki commented on a Snippet, Channel name background  -  May 07, 2010
I guess that's mostly to blame for ripping it from full on JOIN event I use, which does a number of other things when someone joins.
 Respond  
knoeki posted a Snippet  -  May 07, 2010
knoeki liked a Snippet, PicWin Tool: $bRGB  -  Mar 10, 2010
knoeki commented on a Snippet, Opchart v1.0.1  -  Mar 06, 2010

Quote

your website is died... lawlzo


Yes, apparently some lamer kiddies thought it was funny to take it down, I haven't had time and/or motivation to bring it back up yet ;_)
 Respond  
knoeki commented on a Snippet, My os  -  Feb 28, 2010
*sigh*

is it *really* neccisary to post this kind of shoot over and over? :\
 Respond  
knoeki commented on a Snippet, r_cycle.mrc Regain Ops Channel Cycle Script  -  Feb 24, 2010

Quote

I was also debating the use of 'isowner'; an undocumented if-condition akin to 'isop' but for mode -q on some nets. Though honestly, I don't know what networks use mode -q.


isowner doesn't work 9 out of 10 times anyways, or so I've heard.
 Respond  
knoeki posted a Snippet  -  Jan 29, 2010
knoeki commented on a Snippet, Awesome Channel codes  -  Jan 25, 2010
does anyone else find his username appropriate? ;_)
 Respond  
knoeki commented on a Snippet, Thank you Script  -  Jan 22, 2010
I'd also suggest using .ini files to store this rather than variables.
 Respond  
knoeki commented on a Snippet, !seen script  -  Jan 22, 2010
True, and a good point. I was actually considering pasting just the alias with usage directions, but thought I'd paste the full script instead.
The rewrite of my bot makes releasing of scripts I write for it easier, so I might release more in the future.

I'll 'fix' the -m switch now.
 Respond  
knoeki commented on a Snippet, !seen script  -  Jan 22, 2010
True, but I didn't personally need the -m switch for once. ;_)
 Respond  
knoeki commented on a Snippet, !seen script  -  Jan 22, 2010
Did you let the script initialize? it creates the table in the on START event.

regardless, if you want to create the table manually:

Code

 
 Respond  
knoeki posted a Snippet  -  Jan 22, 2010
knoeki commented on a Snippet, Sinewave/Bouncing scroller  -  Jan 19, 2010

Quote

Anyway, cool little picwin you've got there. I wish Hawkee had more of these, I love them.


I have a couple more of them, just look through my snippets tagged with 'picwin'.
 Respond  
knoeki commented on a Snippet, Sinewave/Bouncing scroller  -  Jan 18, 2010

Quote

I like it :). 6, Would be an 8 if it didnt freeze your mirc at the end :@. The while loop.


it shouldn't freeze your mIRC. it's made to end when the scroller leaves the screen... so.. no idea what happens over there. :\
 Respond  
knoeki commented on a Snippet, Text moving Dialog  -  Jan 18, 2010

Code

 


seems like a typo :_)
 Respond  
knoeki commented on a Snippet, on join whois o.O  -  Jan 17, 2010

Quote

But a whois script like this tends to easily create floods if people join at the same time...especially for a busy channel. I suppose it's ok for a small one.


Yes, but if some random botnet happens to find your channel, it's not going to be OK ;_)
 Respond  
knoeki commented on a Snippet, on join whois o.O  -  Jan 16, 2010

Quote

sounds like regex =x


not even close ;_)
 Respond  
knoeki commented on a Snippet, Sinewave/Bouncing scroller  -  Jan 15, 2010

Quote

Knoeki i dont think it was your script in general that crashed my mirc, its because i rn 64 bit win 7 and dialogs/picwin mess up alot. And in some cases totally unuasble.


Ah, I see. still good to know, though :_)
 Respond  
knoeki posted an Image  -  Jan 15, 2010
knoeki commented on a Snippet, Sinewave/Bouncing scroller  -  Jan 14, 2010
argh. I keep mixing up the dutch/english spellings of the names of the months, for some reason :<

fixed it now. ;_)
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.