Hawkee Reviews Searcher
Please Register to submit score.
| Average Score | 7.0 |
| Scores Submitted | 3 |
| Date Added | Feb 27, 2008 |
| Last Updated | May 09, 2008 |
| Tags | hawkee latest mirc review reviews snippet socket sockets |
Introduction
It gets the latest review from http://hawkee.com/shop/reviews/ or searches for a review in http://hawkee.com/shop/search/search+text/reviews/
All the other scripts return snippets, and no one else made one for reviews, so I took a whack at it.
Syntax: [/reviews | !reviews] <search text>
<search text> is optional
Examples:
/reviews � echo's latest Hawkee review
!reviews � msg's latest Hawkee review
/reviews plasma tv � echo's results for "plasma tv"
!reviews mp3 player black � msg's results for "mp3 player black"
Here's some screens:


It's a little slow for getting the latest review, so be patient! So people don't flood !reviews thinking it's not working, it will message/echo "Please wait until the search has been completed" if the script is in the middle of grabbing a review.
It returns the top three review results. To change the number of results it gives, change "if (%N == 3) {" to whatever number you want it to return.
Enjoy
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 27, 2008 7:44 pm
Posted on Feb 27, 2008 7:44 pm
Enjoy
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 28, 2008 12:19 am
Posted on Feb 28, 2008 12:19 am
Nice work on this an fresh idea as well i like it.And yes it is very slow hmm but is there any way to make a count down with in it be kinda fun to watch actually lol caue i had ppl like wtf !review !review im like dude its slow stfu also mite as well make it ignore commands requests till the command completes stop them annouying command abusers.Hmm another thought is maybe make si search for a specific review entry as well.Be neato.any ways nice script an for your first time."Rate it or Hate it?"....7/10.`-.-´
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 28, 2008 11:58 am
Posted on Feb 28, 2008 11:58 am
Pretty neat. I think we'll have to offer an RSS feed of Hawkee member reviews. That would make this much faster.
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 28, 2008 12:04 pm
Posted on Feb 28, 2008 12:04 pm
You should modify this to take a search query. The URL format works like this:
http://www.hawkee.com/shop/search/mp3+player/reviews/
http://www.hawkee.com/shop/search/42in+hdtv/reviews/
http://www.hawkee.com/shop/search/mp3+player/reviews/
http://www.hawkee.com/shop/search/42in+hdtv/reviews/
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 28, 2008 12:12 pm
Posted on Feb 28, 2008 12:12 pm
You're got me on the bus now, mountaindew! Im going to make something similar like this, but with a bunch of more functions. May the best scripter win! Lol :D
Great work btw.
Great work btw.
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 28, 2008 12:41 pm
Posted on Feb 28, 2008 12:41 pm
| Quote: |
May the best scripter win! Lol :D |
Heh this aught to be good.`-.-´
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 28, 2008 12:50 pm
Posted on Feb 28, 2008 12:50 pm
This is very nice for your first sockets script! Not to mention, a new idea. :P However, since it is a little slow, you should implement a flood protection. Someone could flood this and lag you out.
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 28, 2008 3:32 pm
Posted on Feb 28, 2008 3:32 pm
Thanks guys
I made it so that if you trigger it (/reviews or !reviews) while the socket is already open, it'll say "Please wait until the search has been completed" and doesn't start over.
I made it so that if you trigger it (/reviews or !reviews) while the socket is already open, it'll say "Please wait until the search has been completed" and doesn't start over.
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 28, 2008 4:13 pm
Posted on Feb 28, 2008 4:13 pm
Updated it so that you can search through the reviews too. The searching is a LOT faster than getting the latest.
Syntax: [/reviews|!reviews] <search text>
Ex:
/reviews » echoes latest review
!reviews » msg's latest reviews
/reviews nintendo wii » echoes search for "nintendo wii"
!reviews mp3 player black » msg's search for "mp3 player black"
Syntax: [/reviews|!reviews] <search text>
Ex:
/reviews » echoes latest review
!reviews » msg's latest reviews
/reviews nintendo wii » echoes search for "nintendo wii"
!reviews mp3 player black » msg's search for "mp3 player black"
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 28, 2008 4:27 pm
Posted on Feb 28, 2008 4:27 pm
Nice upgrade. Searching is faster because the latest review page is very server intensive; plus searching for reviews is more useful anyway. And thanks for the flood protection because that protects the site from being hammered.
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 28, 2008 4:45 pm
Posted on Feb 28, 2008 4:45 pm
Thanks Hawkee
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 28, 2008 5:14 pm
Posted on Feb 28, 2008 5:14 pm
UPDATED: I forgot to add the "No results" part ;)
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Feb 28, 2008 5:38 pm
Posted on Feb 28, 2008 5:38 pm
Hehe, told you I was up for it ^^
Here's my version: http://www.hawkee.com/snippet/4069/
Here's my version: http://www.hawkee.com/snippet/4069/
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Mar 7, 2008 4:26 pm
Posted on Mar 7, 2008 4:26 pm
Updated the parsing with regex and made all variables %h.something so i can just do /unset %h.*
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Mar 7, 2008 6:00 pm
Posted on Mar 7, 2008 6:00 pm
%h is a pretty major variable, try %hawk.* or something.
Also, your regexes are incorrect.
You need a starting / and an ending /
and you also need to exclude /, by using \/
Also, your regexes are incorrect.
You need a starting / and an ending /
and you also need to exclude /, by using \/
mIRC Snippet:
Hawkee Reviews Searcher
Posted on Mar 7, 2008 6:16 pm
Posted on Mar 7, 2008 6:16 pm
| Quote: |
%h is a pretty major variable, try %hawk.* or something. |
updated
| Quote: |
Also, your regexes are incorrect. You need a starting / and an ending / |
I did :|
| Quote: |
if ($regex(%x,/No reviews are available for this section yet./i)) { if ($regex(%x,/<a href='(/shop/review.php?r_id=d+)' class='large'>(.+)</a>/i)) { if ($regex(%x,/class='product'>(.+)</a><br>/i)) { |
| Quote: |
and you also need to exclude /, by using / |
I did have the backslashes originally, and it seemed to stay when i submitted, but then they disappeared i guess. Hopefully they stay there now.
mIRC Snippet:
Hawkee Reviews Searcher
Posted on May 9, 2008 7:49 pm
Posted on May 9, 2008 7:49 pm
Updated:
* Works with the new site layout
* Includes the rating that the person gave the product
* Now gives the top three results; change if (%N == 3) to however many results you want
* Works with the new site layout
* Includes the rating that the person gave the product
* Now gives the top three results; change if (%N == 3) to however many results you want






