Kirby's Urban Dictionary Searcher (v.9)
mIRC Code
+ 9 likes
Please Register to submit score.
| Average Score | 8.1 (of 13 scores) |
| Date Added | Dec 28, 2008 |
| Last Updated | May 10, 2009 |
| Tags | define definition dictionary kirby search searcher slang urban urbandictionary word |
Introduction
Definitions added by everyday people like you!
Okay, so I've gotten rid of the dialog. I have only left it as a channel-bot script and a personal alias, as I have noticed that people in my network who have used this snippet did not tend to use the dialog as much.
NEW THINGS!
Bot commands!
- Define a word - Use .ud[#] <word(s)> in a channel and the bot will message the definitions, examples, and more to the channel. There is 15 second antispam though.If you don't supply a parameter for [#], the script automatically thinks you want the first term.
- Word of the Day - Use .wod [1-7] in a channel to get the "Word of the Day" for the entire week.
- Info about Urban Dictionary - Use ?? ud to get the total number of words added to the online database.
What really makes this script special compared to others that I've seen is that you can define multiple words, but especially the fact that you can get ANY T ERM from the dictionary.
Whether it is term #1 for 'weenie' or term #123 for 'lol', YOU CAN GET IT!
I have also set restrictions for words that have excessively large definitions/examples, so I have provided a total list of terms available for that word, as well as a link for your convenience.
I know I could've used variables in turn for the tokenized identifiers, but I wanted to practice /sockmark and /tokenize, which has proven well in this experiment
Special thanks to Shinu and Blitzjager on Quakenet for giving me a hand with a few aliases to make this script better. =)
Here's the picture now:

Updates:
Update #1 - (Mon Dec 29, 7:01 PM): Fixed author errors + added bot command (30 second floor per. player) + changed messaging the channel to 3 lines, instead of 1. (help from PunkTuReD)
Update #2 - (Sun Jan 18, 9:06 PM): Fixed $crlf error messages (thanks to NIGathan) and enabled searching for more than one definition meaning for the bot trigger (30 seconds per user).
Update #3 - (Tue Jan 20, 9:01 PM): Fixed cut-off messages by dividing them into sections + Full multi-term definitions/examples of words on bot.
Update #4 - (Thu Jan 22, 9:43 PM): Fixed error with total number of terms for multi-word terms and added an "echo" for if you're not connected to a server.
Update #5 - (Mon Mar 16, 6:53 PM): CHANGED EVERYTHING! Removed dialog, changed it into a bot script and an alias, as well as added error checks (if word does not exist or term # specified is greater than the total # added), strip bold/underline if mode +c is active in a channel, and limit text input per line (good for long definitions).
Update #6 - (Mon Mar 23, 10:41 PM): Added Word of the Day (choose between 1 - 7, number of days in a week) and another command to display total number of words added to the whole database.
Update #7 - (Tue Mar 31, 9:21 PM): Added menu function to turn parts on/off. Fixed some things too.
Updates to come:
- Menu function to turn parts of script On/Off
Enjoy! :D
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Dec 28, 2008 8:01 pm
Posted on Dec 28, 2008 8:01 pm
you should also write it so it can be used like a channel with like !ud or something and have the results post in the channel.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Dec 28, 2008 8:10 pm
Posted on Dec 28, 2008 8:10 pm
| Quote: |
| you should also write it so it can be used like a channel with like !ud or something and have the results post in the channel. |
Yeah, I was thinking of that.
I'll add it in later when I have time.
Anything you would like to suggest in which I can improve upon?
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Dec 28, 2008 9:48 pm
Posted on Dec 28, 2008 9:48 pm
it seems otherwise to work really nice thats why I suggested making it larger by including channel functions 7/10
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Dec 28, 2008 10:44 pm
Posted on Dec 28, 2008 10:44 pm
in your code you have
do you mean?
$didtok(name,id,C)
| Code: |
didtok urban 4 32 %urb |
do you mean?
$didtok(name,id,C)
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Dec 28, 2008 11:01 pm
Posted on Dec 28, 2008 11:01 pm
PunkTuReD said:
No, I meant what I put.
Puts the total number of definitions for a specific word (which is like: %urb 1 2 3 4 5 6 7 8..., separated by spaces), and puts them into the combo.
| Quote: |
| do you mean? $didtok(name,id,C) |
No, I meant what I put.
| Code: |
| /didtok urban 4 32 %urb |
Puts the total number of definitions for a specific word (which is like: %urb 1 2 3 4 5 6 7 8..., separated by spaces), and puts them into the combo.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Dec 29, 2008 1:52 am
Posted on Dec 29, 2008 1:52 am
there is actually alot of bugs in this
anonymous authors get skipped because the author name is not a link
definitions do not get msgd to the channel properly
also %urb is not being set when searching such terms as "napa"
napas definition
but when msging the channel, on my end looks fine but it stops after the "." on other users screens ( so it only msgs " A small wine vine-growing town in the North Bay area." ) then treats the next part as a new command
The, At and The
are the start words of each sentence, i just dont know y it is not messaging the whole thing
here it is again to show anonymous authors
EDITED now shows napas definitions
anonymous authors get skipped because the author name is not a link
definitions do not get msgd to the channel properly
also %urb is not being set when searching such terms as "napa"
napas definition
| Quote: |
• Definition: A small wine vine-growing town in the North Bay area. The population is about 50-50 whites to other ethnic groups. It's NOT 92% white, not even close, so M. Du, shut up. At the junior college, whites are a minority. I live here, I know this. And we like being called Napkins, it's a funny term we enjoy. Nap-kins. Yessss. We also have a state hospital to get locked up in if we're naughty. There is NOTHING to do in this town. We're bored out of out minds. Seriously. ..and we don't hate surrounding towns. If you're a tourist and you come to visit - drive the speed limit. Nothing gets people crazier than being behind drivers going 30 in a 45 zone. |
but when msging the channel, on my end looks fine but it stops after the "." on other users screens ( so it only msgs " A small wine vine-growing town in the North Bay area." ) then treats the next part as a new command
| Quote: |
(--SassIRC--) [ ERROR ] Unknown Command [ The Unknown command ] (--SassIRC--) [ ERROR ] Unknown Command [ At Unknown command ] (--SassIRC--) [ ERROR ] Unknown Command [ And Unknown command ] |
The, At and The
are the start words of each sentence, i just dont know y it is not messaging the whole thing
here it is again to show anonymous authors
| Code: |
/* edited by PuNkTuReD Fixed: author find problem: could not find Anonymous authors because they were not links definition number problem: now displays amount of definitions for searches that previously wouldnt Others: definition problem: ill use napa as an example you look for <div class='definition'> with your socket the source page is like this <div class='definition'> A small wine vine-growing town in the North Bay area. <br/> <br/>The population is about 50-50 whites to other ethnic groups. It's NOT 92% white, not even close, so M. Du, shut up. <br/> <br/>At the junior college, whites are a minority. I live here, I know this. <br/> <br/>And we like being called Napkins, it's a funny term we enjoy. Nap-kins. Yessss. <br/> <br/>We also have a state hospital to get locked up in if we're naughty. <br/> <br/>There is NOTHING to do in this town. We're bored out of out minds. Seriously. <br/> <br/>..and we don't hate surrounding towns. etc etc so all the lines that begin with <br/> are being ignored and even if they werent, they would over write your previously set definition examples problem: */ ; ; Menu ; menu * { Urban Dictionary : urban } ; ; Dialog ; dialog urban { title "Urban Dictionary" size -1 -1 196 115 option dbu edit "", 1, 10 11 68 11 button "URBAN!", 2, 137 2 49 18 edit "", 3, 7 42 85 29, read multi vsbar combo 4, 100 11 20 45, size vsbar drop box "Definition #", 5, 91 2 38 23 box "Word to define", 6, 4 2 80 26 box "Definition", 7, 4 34 92 42 box "Example(s)", 8, 102 34 90 42 edit "", 9, 105 42 83 30, read multi vsbar box "Author:", 10, 4 95 92 18 box "Date added:", 11, 102 95 90 18 edit "", 12, 29 100 65 11, read autohs edit "", 13, 139 100 51 11, read autohs button "Message Results!", 14, 137 23 49 12 box "Urban Dictionary URL", 15, 4 76 188 19 edit "", 16, 9 82 178 11, read center } on *:dialog:urban:*:*: { if ($devent == init) && ($did == 0) { did -b urban 2,3,4,9,12,13,14,16 set %urtest 1 set %urterm 1 set %uractive $active } if ($devent == sclick) { if ($did == 2) { unset %urb* if ($did(urban,1).text) { did -e urban 2 } set %urban.name $did(urban,1) did -b urban 2,14 did -r urban 3,9,12,13,16 urbans %urban.name } if ($did == 4) { set %urtest $did(urban,4) set %urban.author $did(urban,4) set %urterm %urtest } if ($did == 14) { msg %uractive %urbmsg1 msg %uractive %urbmsg2 msg %uractive %urbmsg3 } } if ($devent == edit) { if ($did == 1) { did $iif($did(urban,1).text,-e,-b) urban 2,3,9,12,13,16 unset %urb* set %urtest 1 did -r urban 3,4,9,12,13,16 did -b urban 14 } } if ($devent == close) { unset %ur* } } ; ; Aliases ; alias urban dialog $iif($dialog(urban),-v,-m) urban urban alias -l urbans { if (!$sock(urban)) { if ($dialog(urban)) { set %urban.name $replace($1-,$chr(32),$chr(43)) sockopen urban www.urbandictionary.com 80 } } } alias -l htmlfree { var %x, %i = $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$null,%x), %x = $remove(%x, ,") return %x } ; ; Socket ; on *:sockopen:urban: { set %urban.page $ceil($calc(%urtest / 7)) sockwrite -n $sockname GET /define.php?page= $+ %urban.page $+ &term= $+ %urban.name HTTP/1.0 sockwrite -n $sockname Host: www.urbandictionary.com $+ $crlf $+ $crlf set %urburl http://www.urbandictionary.com/define.php?page= $+ %urban.page $+ &term= $+ %urban.name } on *:sockread:urban: { if ($sockerr) { echo -a * There was a problem retrieving data from the website. Please try again. } else { sockread %urban if (<meta content= isin %urban) { set %urbannum $gettok(%urban,4,32) } while (%urtest > 7) { set %urtest $calc(%urtest - 7) } if (<div class='definition'> isin %urban) { inc %urban.def if (%urban.def == %urtest) { set %urban $remove(%urban,<br/>) set %urban.definition $htmlfree(%urban) sockread %urban.definition } } ; ; ELSEIF for adding %urb ; elseif (<td class='index'> isin %urban) { var %i = 1 while (%i <= %urbannum) { if (!%urb) { set %urb 1 | inc %i } else { set %urb $addtok(%urb,%i,32) inc %i } } did -r urban 4 didtok urban 4 32 %urb } ; ; ; if (<div class='example'> isin %urban) { inc %urban.ex if (%urban.ex == %urtest) { set %urban $remove(%urban,<br/>) set %urban.example $htmlfree(%urban) sockread %urban.example } } if (<span class='date'> isin %urban) { inc %urban.date if (%urban.date == %urtest) { set %urban.date sockread %urban.date } } ; ; Recognises Anonymous User ; if (by Anonymous isin %urban) { inc %urban.author if (%urban.author == %urtest) { set %urban.author Anonymous haltdef } } ; ; ; if (by <a href="/author.php?author isin %urban) { inc %urban.author if (%urban.author == %urtest) { set %urban.author $remove($htmlfree(%urban),by) haltdef } } } } on *:sockclose:urban: { if ($dialog(urban)) { if (!%urban.definition) && (!%urban.author) { did -a urban 3,9 It appears that the word cannot be found. Are you looking for the word: WEENIE? did -r urban 1 did -e urban 2 did -b urban 4,12,13 } else { did -e urban 2,3,4,9,12,13,14 did -a urban 3 $htmlfree(%urban.definition) did -a urban 9 $htmlfree(%urban.example) did -a urban 12 %urban.author did -a urban 13 %urban.date did -a urban 16 %urburl set %urbmsg1 9• 4Word: %urban.name 4Added: $($+(%,urban.date),2) 4Author: $($+(%,urban.author),2) set %urbmsg2 9• 4Definition: $htmlfree(%urban.definition) set %urbmsg3 9• 4Example(s): $htmlfree(%urban.example) 4Term #: $($+(%,urterm),2) 4URL: $($+(%,urburl),2) } } } |
EDITED now shows napas definitions
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Dec 29, 2008 5:58 pm
Posted on Dec 29, 2008 5:58 pm
Made some updates on the snippet.
As said in the description, I added a bot command for getting a definition + example for a word, changed the message to channel to 3 lines instead of 1, as well as fixed the author errors.
Thanks to PunkTuReD for spending time to help fix this script!.
As said in the description, I added a bot command for getting a definition + example for a word, changed the message to channel to 3 lines instead of 1, as well as fixed the author errors.
Thanks to PunkTuReD for spending time to help fix this script!.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Dec 29, 2008 11:31 pm
Posted on Dec 29, 2008 11:31 pm
I don't see how this thing should be rated less than a 2.0...
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Dec 29, 2008 11:34 pm
Posted on Dec 29, 2008 11:34 pm
/me rates 7
ill up it when the bugs have been exterminated
ill up it when the bugs have been exterminated
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 2, 2009 9:47 am
Posted on Jan 2, 2009 9:47 am
[9/10]+Like Really Well Done
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 4, 2009 8:14 pm
Posted on Jan 4, 2009 8:14 pm
Bullet_Dodger said:
:P Thanks man.
I'll update the bot command thing later so you can get more than 1 definition and fix the little error with incomplete definition/example for it by using .txt files or something.
| Quote: |
| [9/10]+Like Really Well Done |
:P Thanks man.
I'll update the bot command thing later so you can get more than 1 definition and fix the little error with incomplete definition/example for it by using .txt files or something.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 4, 2009 8:21 pm
Posted on Jan 4, 2009 8:21 pm
Neat.. i would give 8/10 but since my name's in the screenie. 9/10 it is :P
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 4, 2009 8:38 pm
Posted on Jan 4, 2009 8:38 pm
Haha. :P
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 4, 2009 8:45 pm
Posted on Jan 4, 2009 8:45 pm
good scores for a script that still needs work,
when its working properly you gonna up your score to a 10 jonesy44?
when its working properly you gonna up your score to a 10 jonesy44?
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 4, 2009 10:29 pm
Posted on Jan 4, 2009 10:29 pm
It... works for me? I've made the changes stated above & two others i can't remember :/
The only thing that would boost it to 10 for me is a nicer (much nicer :P) dialog & more error logging etc. but i'll see what i can do with it tmara :P
And to add; it pisses me right off when i've put a lot of time & effort into a script and get a shoot score if someone doesn't know how to work it, it isn't exactly to their taste, or there are bugs in it. not everyone can pick up every bug.
The only thing that would boost it to 10 for me is a nicer (much nicer :P) dialog & more error logging etc. but i'll see what i can do with it tmara :P
And to add; it pisses me right off when i've put a lot of time & effort into a script and get a shoot score if someone doesn't know how to work it, it isn't exactly to their taste, or there are bugs in it. not everyone can pick up every bug.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 4, 2009 10:39 pm
Posted on Jan 4, 2009 10:39 pm
jonesy44 said:
What would you recommend for a better dialog?
Also: I realized there was a bug with some definitions/examples after I submitted it. :S
| Quote: |
| The only thing that would boost it to 10 for me is a nicer (much nicer :P) dialog |
What would you recommend for a better dialog?
Also: I realized there was a bug with some definitions/examples after I submitted it. :S
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 5, 2009 8:17 am
Posted on Jan 5, 2009 8:17 am
I have dialog ocd as many know :P i'm a bit of a perfectionist. so as close to genuine microsoft basically.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 5, 2009 2:46 pm
Posted on Jan 5, 2009 2:46 pm
jonesy44 said:
Yes...but if you were to be in my place, what would you change for the dialog?
I would appreciate constructive criticism. :P
| Quote: |
| I have dialog ocd as many know :P i'm a bit of a perfectionist. so as close to genuine microsoft basically. |
Yes...but if you were to be in my place, what would you change for the dialog?
I would appreciate constructive criticism. :P
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 10, 2009 8:44 pm
Posted on Jan 10, 2009 8:44 pm
lol what is that am i doing something wrong? thats all that comes up no matter what i typ
[ 21:34:07 ] Â [ ~darkarrow ] !define HELP
[ 21:34:08 ] Â [ +netserv ] It appears that the word cannot be found. Are you looking for the word: WEENIE?
[ 21:33:33 ] Â [ ~darkarrow ] !define WEENIE
[ 21:33:35 ] Â [ +netserv ] It appears that the word cannot be found. Are you looking for the word: WEENIE?
[ 21:34:07 ] Â [ ~darkarrow ] !define HELP
[ 21:34:08 ] Â [ +netserv ] It appears that the word cannot be found. Are you looking for the word: WEENIE?
[ 21:33:33 ] Â [ ~darkarrow ] !define WEENIE
[ 21:33:35 ] Â [ +netserv ] It appears that the word cannot be found. Are you looking for the word: WEENIE?
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 10, 2009 9:34 pm
Posted on Jan 10, 2009 9:34 pm
| Quote: |
| [ 21:34:07 ] [ ~darkarrow ] !define HELP [ 21:34:08 ] [ +netserv ] It appears that the word cannot be found. Are you looking for the word: WEENIE? [ 21:33:33 ] [ ~darkarrow ] !define WEENIE [ 21:33:35 ] [ +netserv ] It appears that the word cannot be found. Are you looking for the word: WEENIE? |
As an inside joke in my channel, I just put "Are you looking for the word: WEENIE?" as when the dictionary does not have that word you are looking for.
I'm not sure why it doesn't work for you, but I will test now and look into it.
And darkarrow, when you look those words up in the dialog, do they come up?
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 12, 2009 9:11 pm
Posted on Jan 12, 2009 9:11 pm
no nothings does it just sits there
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 13, 2009 1:01 am
Posted on Jan 13, 2009 1:01 am
Are you sure you put the definition in first, then Urban!'d it?
I re-tested this on another mIRC file and it worked perfectly for me.
I don't know why it doesn't work for you.
I re-tested this on another mIRC file and it worked perfectly for me.
I don't know why it doesn't work for you.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 13, 2009 8:16 am
Posted on Jan 13, 2009 8:16 am
yes i put in the word then hit urban
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 13, 2009 8:19 am
Posted on Jan 13, 2009 8:19 am
but i just noticed that it said this when i tried to use it
* /did: 'urban' invalid id '0' (line 105, dictonary)
* /did: 'urban' invalid id '0' (line 105, dictonary)
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 13, 2009 12:48 pm
Posted on Jan 13, 2009 12:48 pm
Replace line 105 with
I don't think this will fix your original problem but it should fix that.
| Code: |
| if ($dialog(urban)) { did -a urban 3,9 It appears that the word cannot be found. Are you looking for the word: WEENIE? | did -r urban 1 | did -e urban 2 | did -b urban 2,4,12,13 } |
I don't think this will fix your original problem but it should fix that.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 13, 2009 7:55 pm
Posted on Jan 13, 2009 7:55 pm
yes it did fix that thanks:
It appears that the word cannot be found. Are you looking for the word: WEENIE?
but now it does the same thing in the dialog so yes its in both
It appears that the word cannot be found. Are you looking for the word: WEENIE?
but now it does the same thing in the dialog so yes its in both
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 18, 2009 9:20 pm
Posted on Jan 18, 2009 9:20 pm
Updated. Please tell me if you find other bugs other than the "Input line too long" error that I'll fix in a bit.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 19, 2009 8:51 pm
Posted on Jan 19, 2009 8:51 pm
what about adding word of the day to the channel part?
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 20, 2009 12:05 am
Posted on Jan 20, 2009 12:05 am
| Quote: |
| what about adding word of the day to the channel part? |
What do you mean by that?
Like a random word picked from the dictionary?
How would that become of?
Would someone just like request word of the day and that would be it?
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 20, 2009 8:25 pm
Posted on Jan 20, 2009 8:25 pm
Added something neat to the dictionary:
You can now define words by their definition by the first term or a term that you want.
It also displays what number term is being defined out of the total number of terms for a specific word.
I'll add it so you can view a random term number for a word in a bit.
Not only that, but it divides giant blocks of text exceeding 400 into smaller parts.
| Quote: |
| <+Kirby> .define Kirby <@\GoFish\> [define] (1/18) Kirby: 1. a pink, ballooned shaped video game character who features the ability to suck up enemies. Kirby is owned by Nintendo and has been in more than 15 video games (even more if you count his Super Smash Bros. and Super Smash Bros. Melee appearances).. . 2. because of a similar color, the name kirby is used to describe a women's c!%$.. . 3. (less commonly used) a Kirby is the <@\GoFish\> name for a massage that ends with a happy ending. (1. Tom: Did you buy the new kirby game?. Steve: Those games are for kids, besides all Kirby does is suck (laughs).. . 2. Mike: So what happened after the party with you and Cindy?. John: Let's just say I got close but I never saw a "Kirby".. . 3. Jim: After the massage, I slipped her $1000 dollars in chinese money, and she gave me hand.. Sam: Damn I wish I had gotten a "Kirby".) |
| Quote: |
| <+Kirby> .define 123 lol <@\GoFish\> [define] (123/178) lol: short for both "laugh out loud" and "lots of love" but has often become strangely combined to something like "laughs of love" a basic symbol of affection towards friends. Often used in a reply to a typical remark of friend that makes you laugh or smile because it is exactly what they are like. (person1: and then the cream came flying out of the fridge and covered me but not <@\GoFish\> her. person2: lol) |
You can now define words by their definition by the first term or a term that you want.
It also displays what number term is being defined out of the total number of terms for a specific word.
I'll add it so you can view a random term number for a word in a bit.
Not only that, but it divides giant blocks of text exceeding 400 into smaller parts.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 20, 2009 9:05 pm
Posted on Jan 20, 2009 9:05 pm
word of the day is a section on urbandictionary itself I thought you could code it to retrive that info too its on like the main page or click the word of the day tab ive seen this done the command was like !wod
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 20, 2009 9:16 pm
Posted on Jan 20, 2009 9:16 pm
Ahh right.
I'll check on that tomorrow. Thanks for the idea. :)
Edit: How many words do you prefer to be on the "words of the day"?
On http://www.urbandictionary.com/, they list 7.
I'll check on that tomorrow. Thanks for the idea. :)
Edit: How many words do you prefer to be on the "words of the day"?
On http://www.urbandictionary.com/, they list 7.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 21, 2009 2:25 pm
Posted on Jan 21, 2009 2:25 pm
i have noticed that when i restart mirc it lets me search for one word then it says that it can't find it every time i restart it lets me look for one word and gives me the definition but after that one time it says it can't find any word even if its the same one
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 21, 2009 6:07 pm
Posted on Jan 21, 2009 6:07 pm
well see each of those are past and present word of the days todays word of the day is obamamama I guess you could go like !wod for the word of the current day and !pwod for the previous word of the day
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 21, 2009 8:47 pm
Posted on Jan 21, 2009 8:47 pm
darkarrow said:
I don't get you. :\
| Quote: |
| i have noticed that when i restart mirc it lets me search for one word then it says that it can't find it every time i restart it lets me look for one word and gives me the definition but after that one time it says it can't find any word even if its the same one |
I don't get you. :\
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 22, 2009 3:35 pm
Posted on Jan 22, 2009 3:35 pm
when i first get into mirc and i search for a word it finds it and shows me the definition and stuff but i can't search for anything after that cause it won't let me but if i get out of mirc and then back into it i can search for a word it gives me the definition but then i can't search for another one
so it only lets me search for one word every time i getout then start mirc again
so it only lets me search for one word every time i getout then start mirc again
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 22, 2009 8:40 pm
Posted on Jan 22, 2009 8:40 pm
| Quote: |
| when i first get into mirc and i search for a word it finds it and shows me the definition and stuff but i can't search for anything after that cause it won't let me but if i get out of mirc and then back into it i can search for a word it gives me the definition but then i can't search for another one so it only lets me search for one word every time i getout then start mirc again |
That shouldn't be happening...o_O
What version of mIRC are you using?
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 23, 2009 2:32 pm
Posted on Jan 23, 2009 2:32 pm
6.31
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 23, 2009 2:32 pm
Posted on Jan 23, 2009 2:32 pm
with anaconda modifcations
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 23, 2009 3:23 pm
Posted on Jan 23, 2009 3:23 pm
Works fine on 6.17
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 23, 2009 5:04 pm
Posted on Jan 23, 2009 5:04 pm
I gave it a 10 now because its way better than when I first used it and you are steadily improving the code and in full what all it does ive now switch to using this fully on my bot the fact you can look up every definition and it works on many triggers is excellent once you add the word of the day it will be by far the best i've used keep up the good work.
Also im using 6.35 and it works perfect id watch it isn't something anaconda is doing darkarrow
Also im using 6.35 and it works perfect id watch it isn't something anaconda is doing darkarrow
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Jan 25, 2009 10:05 pm
Posted on Jan 25, 2009 10:05 pm
Alright, thanks for the comment greenlanter.
You probably won't see another update for a while as I am working on other pieces of code right now.
I'll hopefully add the "Word of the Day" command in a bit..just not in the mood it at the moment.
If you find any bugs (if any, although I highly doubt so), please let me know.
You probably won't see another update for a while as I am working on other pieces of code right now.
I'll hopefully add the "Word of the Day" command in a bit..just not in the mood it at the moment.
If you find any bugs (if any, although I highly doubt so), please let me know.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Feb 6, 2009 10:50 am
Posted on Feb 6, 2009 10:50 am
I seem to be having a bit of trouble.
I use the snippet on mibbit.com (!urban) and it doesnt seem to look right =\
for example, if i !urban lawlipawpz, it gives me this:
) lawlipawpz: A really 1337 word to use when....well.....you want to spiec up teh werd 'lawl' (Josh: Omg, Sally can suck lolipops for ten seconds!. Dale: Zomg, lawlipawpz!)
it doesnt say [Define] nor the urban number (1/1)
plz halp ;-;
also idk why it adds an ) at the beginning =\
I use the snippet on mibbit.com (!urban) and it doesnt seem to look right =\
for example, if i !urban lawlipawpz, it gives me this:
) lawlipawpz: A really 1337 word to use when....well.....you want to spiec up teh werd 'lawl' (Josh: Omg, Sally can suck lolipops for ten seconds!. Dale: Zomg, lawlipawpz!)
it doesnt say [Define] nor the urban number (1/1)
plz halp ;-;
also idk why it adds an ) at the beginning =\
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Feb 7, 2009 5:06 pm
Posted on Feb 7, 2009 5:06 pm
Hello Kirbeh_Pr0nz.
Very interesting name...
Anyways, sorry if it's a little buggy.
I recently updated the code with the wrong information (code that was previously being tested).
I will update it soon.
Very interesting name...
Anyways, sorry if it's a little buggy.
I recently updated the code with the wrong information (code that was previously being tested).
I will update it soon.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Feb 7, 2009 5:32 pm
Posted on Feb 7, 2009 5:32 pm
lol, ty
Great snippet btw =}
Great snippet btw =}
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Feb 7, 2009 8:44 pm
Posted on Feb 7, 2009 8:44 pm
Hopefully it works..it might actually be the same one.
Never know until you try it. =)
Never know until you try it. =)
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Feb 7, 2009 8:45 pm
Posted on Feb 7, 2009 8:45 pm
Try defining Alternate; I get that same little bug as you did lol.
I think it happens for some sorts of words...not sure why though.
Everything else works fine though.
I think it happens for some sorts of words...not sure why though.
Everything else works fine though.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Feb 8, 2009 10:05 am
Posted on Feb 8, 2009 10:05 am
ok, i changed a few things around, i changed the definition color, but when it cant fit it all into 1 message, it switches back to default color, where can i place the color for the rest of the definition .
i hope im not losing you here x_x
im a beginner at this, sorry. :P
i hope im not losing you here x_x
im a beginner at this, sorry. :P
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Feb 8, 2009 10:09 am
Posted on Feb 8, 2009 10:09 am
Well, I made it so that if it (as in the "[define] (x/xx) word" and the definition & examples) exceeds 400 chr, it automatically goes to the next line.
So you'll have to configure with that by yourself. :p
It starts around:
So you'll have to configure with that by yourself. :p
It starts around:
| Code: |
| if ($len(%urtext) > 400) |
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Feb 8, 2009 5:03 pm
Posted on Feb 8, 2009 5:03 pm
Idk. im a complete n00b at this stuff.
;o;
;o;
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 16, 2009 6:18 pm
Posted on Mar 16, 2009 6:18 pm
Updates are done! Urban Dictionary Word Search v.6 is now fully operational!
Tell me if you have any other suggestions (or if you find any bugs) for this script.
Tell me if you have any other suggestions (or if you find any bugs) for this script.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 18, 2009 10:06 am
Posted on Mar 18, 2009 10:06 am
Made some drastic changes.
Added bold/underline stripping if there's mode +c active in a channel.
Added /lt to limit input of text in a single line if it's excessively long (excess goes to the next line until it can "fit") - Thank you for that Shinu.
Added error checks if the word defined does not exist or it the term # specified is greater than the total # of terms added.
Things to fix: Defining numbers and other words that have "other" characters (ex:o_O).
Things to add: Word of the week (1 to 7, standing for days).
If you have any more suggestions, feel free to post it here.
Added bold/underline stripping if there's mode +c active in a channel.
Added /lt to limit input of text in a single line if it's excessively long (excess goes to the next line until it can "fit") - Thank you for that Shinu.
Added error checks if the word defined does not exist or it the term # specified is greater than the total # of terms added.
Things to fix: Defining numbers and other words that have "other" characters (ex:o_O).
Things to add: Word of the week (1 to 7, standing for days).
If you have any more suggestions, feel free to post it here.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 18, 2009 6:47 pm
Posted on Mar 18, 2009 6:47 pm
ummmm
i have a small request please
could ihave a version that doesn't show:
[Urban Dictionary] ~ Author: Mh ~ Date: [X] ~ Url: http://www.urbandictionary.com/define.php?page=1&term=[X]
please ;)
i have a small request please
could ihave a version that doesn't show:
[Urban Dictionary] ~ Author: Mh ~ Date: [X] ~ Url: http://www.urbandictionary.com/define.php?page=1&term=[X]
please ;)
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 18, 2009 7:31 pm
Posted on Mar 18, 2009 7:31 pm
I think I'll add that thing to turn it on or off in v7.
ES: Use this temporary version without the "Author", "Date", and "Url".
http://nopaste.com/p/ap0m5up8c
ES: Use this temporary version without the "Author", "Date", and "Url".
http://nopaste.com/p/ap0m5up8c
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 19, 2009 6:08 pm
Posted on Mar 19, 2009 6:08 pm
thanks Kirby
cant wait for the next update :D
cant wait for the next update :D
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 24, 2009 7:35 pm
Posted on Mar 24, 2009 7:35 pm
Next update will (probably) be the last one, unless I can think of ideas.
Have fun.
(And ES, I'm making changes for the one that doesn't show Author, Date, and URL for v.8, sorry :P)
Have fun.
(And ES, I'm making changes for the one that doesn't show Author, Date, and URL for v.8, sorry :P)
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 25, 2009 6:58 pm
Posted on Mar 25, 2009 6:58 pm
kirby just noticed you added word of the day this script works great but is it just me or does it not let you chose the # like if I go !ud 2 hooker it gives me a error that 2 hooker couldn't be found.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 27, 2009 1:43 pm
Posted on Mar 27, 2009 1:43 pm
try using .ud2 hooker instead of !ud 2 hooker ;]
dont space the number from .ud
Kirby, it would be a little easier to follow if you were able to use
instead of
dont space the number from .ud
Kirby, it would be a little easier to follow if you were able to use
| Code: |
.ud # word |
instead of
| Code: |
.ud# word |
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 27, 2009 2:44 pm
Posted on Mar 27, 2009 2:44 pm
I was thinking of that, but I had to change it because it got a little too confusing. ;/
I'll actually try to bring it back to normal now, but
(no space between the command and the number) is what you should be using.
I'll set examples in the introduction for clarification.
I'll actually try to bring it back to normal now, but
| Code: |
| .ud[#] word |
I'll set examples in the introduction for clarification.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 27, 2009 3:20 pm
Posted on Mar 27, 2009 3:20 pm
It is a nice, useful script, Kirby. I'll give you a 10 for the time and hard work you put into this.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 27, 2009 5:25 pm
Posted on Mar 27, 2009 5:25 pm
ah I see the issue now its in the second part of the script it only looks for the . command to search I just went along an changed the . in the second par to - now it all works on -ud word or -ud2 word.great script
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 27, 2009 5:28 pm
Posted on Mar 27, 2009 5:28 pm
| Quote: |
| so like only . works for the search ? not any other command? |
No, Kirbeh_Pr0nz is incorrect.
I just allowed triggers . ! and @ to be possible triggers people could use, since people have different tastes.
I'm making some updates right now. Check back in 1 ~ 2 hours or so.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 31, 2009 7:43 pm
Posted on Mar 31, 2009 7:43 pm
I had a hard drive crash so I lost the copy I was using now I tried this script the wod part works but not the other part? I just get this
Urban Dictionary] ~ Error: Unexpected or corrupt data from www.urbandictionary.com ~ Look here: http://www.urbandictionary.com/define.php?page=1&term=fark ~ Total number of term(s) found for "fark": 134 terms.
Urban Dictionary] ~ Error: Unexpected or corrupt data from www.urbandictionary.com ~ Look here: http://www.urbandictionary.com/define.php?page=1&term=fark ~ Total number of term(s) found for "fark": 134 terms.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Mar 31, 2009 8:18 pm
Posted on Mar 31, 2009 8:18 pm
greenlanter: What term # did you define?
Remember, the new syntax is: .ud[#] <word>
Also: It was most likely the semicolon I added to the /echo. I think it works now. Sorry for my mistakes.
Anyways, updated. Added menus to turn parts of the script off.
Remember, the new syntax is: .ud[#] <word>
Also: It was most likely the semicolon I added to the /echo. I think it works now. Sorry for my mistakes.
Anyways, updated. Added menus to turn parts of the script off.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Apr 1, 2009 9:29 pm
Posted on Apr 1, 2009 9:29 pm
I dunno I managed to put my hard drive in the freezer in a ziplock and got my copy i edited off it along with everything else actually now the drive appears to be back to normal pretty funny but i'll take a look at the update
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Apr 2, 2009 11:05 am
Posted on Apr 2, 2009 11:05 am
| Quote: |
| No, Kirbeh_Pr0nz is incorrect. I just allowed triggers . ! and @ to be possible triggers people could use, since people have different tastes. |
Using .ud2 test shows me the second definition, using !ud2 test still shows me the 1st definition. Thats what i was aiming at earlier. =\
So really, .ud[#] word is the way to go :P
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on May 4, 2009 7:06 pm
Posted on May 4, 2009 7:06 pm
hmmm... useful and cool. i lurve it.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on May 9, 2009 4:27 pm
Posted on May 9, 2009 4:27 pm
how hard would it be to just make it say the current word of the day?
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on May 9, 2009 4:57 pm
Posted on May 9, 2009 4:57 pm
| Quote: |
| how hard would it be to just make it say the current word of the day? |
What do you mean, the script has that available...
Use: .wod 1, numbers can range from 1-7; it's more of "words of the week".
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on May 10, 2009 1:44 pm
Posted on May 10, 2009 1:44 pm
wouldn't it make more sense if !wod did the current word of the day and if you enter a # it goes to that day
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on May 10, 2009 2:12 pm
Posted on May 10, 2009 2:12 pm
| Quote: |
| wouldn't it make more sense if !wod did the current word of the day and if you enter a # it goes to that day |
Edit: Updated
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Sep 7, 2009 9:50 am
Posted on Sep 7, 2009 9:50 am
I get this:
What's going on?
| Code: |
| (15:53:34) (~Neptune) .urban potatoes (15:53:36) (~Spoink) [Urban Dictionary] ~ (1/11) ~ potatoes: something you can boil, mash, or stick in a stew. (PO-TAT-OES! Boil 'em, Mash 'em, Stick 'em in a stew.) (15:53:37) (~Spoink) [Urban Dictionary] ~ Author: DaChazman ~ Date: <a href="#" id="share_this_632417" onclick="emailer.toggle($("share_this_632417"), "http:\/\/potatoes.urbanup.com\/632417", 632417, "http:\/\/twitter.com\/home?status=potatoes%20-%20Food%20that%20Irish%20people%20really%20like.%20-%20http%3A%2F%2Fpotatoes.urbanup.com%2F632417"); return false;">share this</a> ~ Url: http://www.urbandictionary.com/d |
What's going on?
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Sep 25, 2009 8:38 pm
Posted on Sep 25, 2009 8:38 pm
That obviously means that Urban Dictionary changed their site source, which also means that I have to update this script again.
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Sep 27, 2009 1:48 pm
Posted on Sep 27, 2009 1:48 pm
how are you going to get a mirc bot to run html?
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Nov 11, 2009 4:20 am
Posted on Nov 11, 2009 4:20 am
kirby great script... 10/10 :D nice work
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Nov 11, 2009 4:33 am
Posted on Nov 11, 2009 4:33 am
ok i find one fault though...
[12:26:16] <Hyperion> !ud milf
[12:26:19] <LordOfWaR> [Urban Dictionary] ~ (1/139) ~ milf: mothers, whether married, separated or divorced, that a male individual sees as physical attractive enough to want to have sexual intercourse with them. Just cuz their moms doesn't mean that they don't need a spark in their love life. If they've ever breastfed,they have really responsive nipples and a core of erectile tissue in their breasts. The ones in good shape have
[12:27:31] <Hyperion> !ud ass monger
[12:27:33] <LordOfWaR> [Urban Dictionary] ~ (1/9) ~ ass monger: mothers, whether married, separated or divorced, that a male individual sees as physical attractive enough to want to have sexual intercourse with them. Just cuz their moms doesn't mean that they don't need a spark in their love life. If they've ever breastfed,they have really responsive nipples and a core of erectile tissue in their breasts. The ones in good shape
[12:28:21] <Hyperion> !ud boob
[12:28:25] <LordOfWaR> [Urban Dictionary] ~ (1/31) ~ boob: mothers, whether married, separated or divorced, that a male individual sees as physical attractive enough to want to have sexual intercourse with them. Just cuz their moms doesn't mean that they don't need a spark in their love life. If they've ever breastfed,they have really responsive nipples and a core of erectile tissue in their breasts. The ones in good shape have
might be a small quick fix... ill see what i can do to it :D
[12:26:16] <Hyperion> !ud milf
[12:26:19] <LordOfWaR> [Urban Dictionary] ~ (1/139) ~ milf: mothers, whether married, separated or divorced, that a male individual sees as physical attractive enough to want to have sexual intercourse with them. Just cuz their moms doesn't mean that they don't need a spark in their love life. If they've ever breastfed,they have really responsive nipples and a core of erectile tissue in their breasts. The ones in good shape have
[12:27:31] <Hyperion> !ud ass monger
[12:27:33] <LordOfWaR> [Urban Dictionary] ~ (1/9) ~ ass monger: mothers, whether married, separated or divorced, that a male individual sees as physical attractive enough to want to have sexual intercourse with them. Just cuz their moms doesn't mean that they don't need a spark in their love life. If they've ever breastfed,they have really responsive nipples and a core of erectile tissue in their breasts. The ones in good shape
[12:28:21] <Hyperion> !ud boob
[12:28:25] <LordOfWaR> [Urban Dictionary] ~ (1/31) ~ boob: mothers, whether married, separated or divorced, that a male individual sees as physical attractive enough to want to have sexual intercourse with them. Just cuz their moms doesn't mean that they don't need a spark in their love life. If they've ever breastfed,they have really responsive nipples and a core of erectile tissue in their breasts. The ones in good shape have
might be a small quick fix... ill see what i can do to it :D
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Nov 11, 2009 4:38 am
Posted on Nov 11, 2009 4:38 am
ok nvm... somethign went wrong but i just took out the % and itsok now
mIRC Snippet:
Kirby's Urban Dictionary Searcher (v.9)
Posted on Nov 15, 2009 10:14 pm
Posted on Nov 15, 2009 10:14 pm
When I trigger the script from my bot:
[22:04] <+Weapon-X> !ud cock block
[22:04] <+Botthole> [Urban Dictionary] ~ (1/90) ~ cock block: Trudy and Dan frequently had time alone but her cockblocking roommate ruined any chances they had to have sex. (*No example given*)
[22:04] <+Botthole> [Urban Dictionary] ~ Author: Apr 13, 2003 ~ Date: ~ Url: http://www.urbandictionary.com/define.php?page=1&term=cock+block - (15 seconds until next definition)
[22:04] <+Weapon-X> !wod 1
[22:04] <+Botthole> [Word of Day ~ 1] ~ gaydar detector: (Les's gaydar detector was going crazy when she drove to Laramie.)
[22:04] <+Botthole> [Word of Day] ~ Author: ~ Date: Nov 15, 2009 ~ Url: Check the homepage @ http://www.urbandictionary.com/ - (15 seconds until next word of the day)
The first line, where it gives the definition of the word, does not get posted.
[22:04] <+Weapon-X> !ud cock block
[22:04] <+Botthole> [Urban Dictionary] ~ (1/90) ~ cock block: Trudy and Dan frequently had time alone but her cockblocking roommate ruined any chances they had to have sex. (*No example given*)
[22:04] <+Botthole> [Urban Dictionary] ~ Author: Apr 13, 2003 ~ Date: ~ Url: http://www.urbandictionary.com/define.php?page=1&term=cock+block - (15 seconds until next definition)
[22:04] <+Weapon-X> !wod 1
[22:04] <+Botthole> [Word of Day ~ 1] ~ gaydar detector: (Les's gaydar detector was going crazy when she drove to Laramie.)
[22:04] <+Botthole> [Word of Day] ~ Author: ~ Date: Nov 15, 2009 ~ Url: Check the homepage @ http://www.urbandictionary.com/ - (15 seconds until next word of the day)
The first line, where it gives the definition of the word, does not get posted.















