Kirby

Kirby

Joined:
Aug 23, 2008
Occupation:
Retired #FunBots Administrator & MSL Scripter
Location:
Florida
Website:

Interests

Cross Country, Soccer, Track & Field

Activity Stream

Kirby commented on a Snippet, Kirby's Urban Dictionary Searcher (v.9)  -  Feb 10, 2010
I will get back to this as soon as possible.
 Respond  
Kirby commented on a Snippet, Video Poker  -  Feb 10, 2010
Thank you. It seems like some of the websites that I had used for sockets have changed their layout/source, so a lot of them are broken. I've received many complaints about this, so I have to remake many of them, one by one.

Seems like you've made a much better Youtube downloader than I did.
 Respond  
Kirby commented on a Snippet, Video Poker  -  Feb 10, 2010
beast
 Respond  
Kirby commented on a Snippet, Google Translator - Auto Text-Translator v3  -  Feb 10, 2010
Please be patient, I will get to this as soon as I can. Evidently, the script is not working because of socket error; this script was posted a very long time ago, and Google Translator seems to have changed their website format, and I need to adjust to that. At the moment, please do not rate this script, or say that it does not work. Thanks.
 Respond  
Kirby commented on a Snippet, YouTube URL "Detector" (v.8)  -  Feb 10, 2010
Please check to see if you have scripts that may conflict with this one, or if you have the latest version of mIRC. I am certain that this version will work for any video with id's with 11 characters and for any region. Please double-check.
 Respond  
Kirby commented on a Snippet, YouTube URL "Detector" (v.8)  -  Feb 09, 2010
Fixed.
 Respond  
Kirby commented on a Snippet, Google Translator - Auto Text-Translator v3  -  Nov 15, 2009
Gotta fix this. :-P
 Respond  
Kirby commented on a Snippet, YouTube URL "Detector" (v.8)  -  Nov 15, 2009
Gotta fix this. :-P
 Respond  
Kirby commented on a Snippet, Kirby's Urban Dictionary Searcher (v.9)  -  Sep 25, 2009
That obviously means that Urban Dictionary changed their site source, which also means that I have to update this script again.
 Respond  
Kirby commented on a Snippet, Down for everyone or just me?  -  Jul 24, 2009
@Grant-:

Quote

Must correct (Grammar nazi mode on)
Code:
if ($sock(sitecheck)) { sockclose sitecheck }

if ($sock(sitecheck)) sockclose sitecheck

That actually slows the script down. ^_^

Quote

Using brackets speeds up processing. If an alias uses too few brackets then the statement might be ambiguous and the alias will take longer to parse, might be parsed incorrectly, or might not be parsed at all.

In retrospect, what I'm saying is true.


@Cheiron:

Quote

oh crap i know what i did forget to ask .. for the bot version .. how do i restrict it to ops only to use it and if a non op tried to use it.. it will message the user they need ops to use it

Just add:

Code

 
 Respond  
Kirby commented on a Snippet, Down for everyone or just me?  -  Jul 24, 2009
Something like this Cheiron?

Code

 

Syntax: .check <site name>

Intended for a bot...renamed the sock name...

..and thank you.

I wanted this to be simple, for personal use, rather than bot use. Otherwise, use the code above.
 Respond  
Kirby posted a Snippet  -  Jul 24, 2009
Kirby posted an Image  -  Jul 24, 2009
Kirby commented on a Snippet, /youtube - YouTube Video Download Alias  -  Jun 05, 2009
No, there's no problem with the regex...

Code

 

That would be having an & tag directly after /watch?v=, which would not be a valid video ID.
 Respond  
Kirby commented on a Snippet, /youtube - YouTube Video Download Alias  -  Jun 04, 2009
No, you don't want to use:

Code

 
because with the regex I put in, it does four things: Check to see if it's an actual YouTube URL, varies the different "types" of YouTube (as in countries), checks to see if the video ID matches 11 characters, and strips out any other & tags.
 Respond  
Kirby commented on a Snippet, /youtube - YouTube Video Download Alias  -  Jun 04, 2009
no problem..
 Respond  
Kirby posted a Snippet  -  Jun 03, 2009
Kirby posted an Image  -  Jun 03, 2009
Kirby commented on a Snippet, OP Trick  -  Jun 02, 2009

Code

 

I guess, is another way. =/
 Respond  
Kirby commented on a Snippet, YouTube URL "Detector" (v.8)  -  May 31, 2009
Made some updates guys. Please read the description!
 Respond  
Kirby liked a Snippet, Hash Table Editor  -  May 31, 2009
Kirby commented on a Snippet, Kirby's PasteBin Uploader/Downloader  -  May 27, 2009
WorldDMT said:

Quote

u can use isin and $remove dont need to use a regex for a smal thing like that
Although this controversy is quite over, I'd also like to add the reason why I prefer using $regex in my sockread is because not only do I use it for detection, it's easier for me to make the use of a single $regml(N) than using many $gettok and $htmlfree.
 Respond  
Kirby commented on a Snippet, Kirby's PasteBin Uploader/Downloader  -  May 24, 2009
@Kirbeh_Pr0nz
The reason why

Code

 
doesn't work is because that would mean that "blahblah.com" would be the domain, and not "pastebin.com".
 Respond  
Kirby commented on a Snippet, Kirby's PasteBin Uploader/Downloader  -  May 21, 2009
One thing I'd like to say about the dialog that I posted - the box about "Information" is designed for that size, so if you compress it, not everything will show up. Of course, the large edit box at the bottom can be compressed horizontally or vertically.
 Respond  
Kirby commented on a Snippet, Kirby's PasteBin Uploader/Downloader  -  May 20, 2009
@ WorldDMT

I see that you are trying to give me helpful suggestions, but I do not agree with some of your suggestions.

Quote

line 148 "if ($did == 3) && ($regex($did(3),/[^\w\-]/ig)) { did -ra PasteBin 3 $regsubex($did(3),/([^\w\-])/ig,$null) }"

u can use isin and $remove dont need to use a regex for a smal thing like that

if ($did == 3) && ($chr(32) isin $did(3)) { did -ra $dname 3 $remove($v2,$chr(32)) }

In this case, I had to use $regsubex there to remove all non 123-ABC characters, excluding the character '-'. Only '\w' regex strings and - are allowed for PasteBin names. So, I can't really just remove $chr(32)...

Same with:

Quote

also for $did == 5

if ($did == 5) && ($chr(32) isin $did(5)) || (.. isin $did(5)) did -ra PasteBin 5 $replace($remove($v2,$chr(32)),..,.)

All '\w' characters and, . and -, as exceptions are allowed for sub-domain names. Thus, two subsequent periods are not allowed, but -'s are, which leads to more complication. Furthermore, I had to use many $iif's and some $regsubex there to remove all possible invalid entries.
Simple $remove is not going to help.

As for checking the error of sockets...

Quote

u dont check the error of socket?? and "if ($regex(%pb,<select name="format">))" u can use isin i think

All that $regex and $regsubex used for the edit boxes try to make the PasteBin paste as "valid" as possible, hence, they are the error checkers.
In fact, about 30% ~ 40% of this snippet is for error checking. The actual script itself can be written in about 100 lines.

Not to mention my code:

Code

 
checks for invalid links...


But yes, thanks for the other suggestions, I'll take a look into them.



@ ^Neptune

Quote

Dialog is WAY too big, it won't even fit on my screen.

Well, my screen is only 800 x 600 and it fits fine.
I'll think about compressing the dialog size.
 Respond  
Kirby commented on a Snippet, Kirby's PasteBin Uploader/Downloader  -  May 19, 2009
Hello. Updates?
I was thinking of "future" updates for this script, but I would like some opinions about this.
Some things that I were thinking about were:
  • PasteBin Upload/Download History
  • Line numbers (like the mIRC editor)
  • PasteBin HELP

I would like some feedback on this. :D
 Respond  
Kirby posted a Snippet  -  May 19, 2009
Kirby posted an Image  -  May 19, 2009
Kirby commented on an Image, New MP3 Player  -  May 16, 2009
LOL

Guys stop inflicting terror upon each other, it's quite lame. :D
 Respond  
Kirby commented on a Snippet, Sphere  -  May 16, 2009
Hey BlueThen. Another cool snippet.
I've recently taken a brief look at trigonometry and I've gotten down some of the basics (cosine, sine, tangent, and their opposites); and yeah, it's quite interesting.
However, I haven't actually started making picture window animations/games yet, but they seem to be a fine challenge. :d
And to answer your question, I think it'd be a good idea to release your documentation of algorithms.
 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.