tv.yahoo.com Search

By Sp3cial Person on Jul 10, 2005

This is an insanely simple script that searches some of the tv.yahoo.com sites.Thanks to aaslyfox for fixing the remotes problem.if you are using the aliases version, for Australia type "/TVAU word", for America "/TVUS word", for the UK "/TVUK word" and for France "/TVFR word", all without the quotes.If you are using the remotes version,type !tvau for Australia, !tvus for America, !tvuk for the UK and !tvfr for France.Also,this is my first bit of scripting experience ever,so please be nice.

For those without a bot,put his in aliases:

/TVAU {
  /run http://au.tv.yahoo.com/searchresults.html?kw= $1-
}
/TVUS {
  /run http://tv.yahoo.com/lineup?cf=&search=true&title= $1-
}
/TVUK {
  /run http://uk.tv.yahoo.com/search/tv?p= $1- &type=n&lineup=uk&.intl=uk&range=7&n=10
}
/TVFR {
  /run http://fr.tv.yahoo.com/search/tv?n=10&type=n&lineup=fr&.intl=fr&range=1&p= $1-
}

For those with a bot,put this in remotes:

on *:text:*:#: {
if ($1 == !tvau ) {
run http://au.tv.yahoo.com/searchresults.html?kw= $1-
}
if ($1 == !tvus ) {
/run http://tv.yahoo.com/lineup?cf=&search=true&title= $1-
}
if ($1 == !tvuk ) {
run http://uk.tv.yahoo.com/search/tv?p= $1- &type=n&lineup=uk&.intl=uk&range=7&n=10
}
if ($1 == !tvfr ) {
run http://fr.tv.yahoo.com/search/tv?n=10&type=n&lineup=fr&.intl=fr&range=1&p= $1-
}
}

Comments

Sign in to comment.
dm4sfio   -  Oct 15, 2011

Does anyone have an updated version of this the old url doesnt work anymore

 Respond  
Sp3cial Person   -  Jul 12, 2005

hmmm...we have a conundrum.without the $1- it doesn\'t search for anything.but with the $1- it searches for \"!tvxx yoursearch\".this doesn\'t seem to be a problem,since i have been using it and it seems to work fine even with the !tvxx bit at the start.i just did \"!tvau Fastlane\" \'cos that\'s what\'s on,and the results are at http://au.tv.yahoo.com/searchresults.html?kw=%20!tvau%20fastlane . so it seems to work fine.

 Respond  
Sp3cial Person   -  Jul 12, 2005

actually aeros,you do need the $1- or it doesn\'t search for anything.also,thanks for spotting the /un thing.

 Respond  
aeros   -  Jul 11, 2005

hm.. i c how this script works now after trying it :D .. You don\'t need the $1- because if you that. Once it opens the site it will have wat you typed first wit spaces in the link and it doesn\'t search for wat you typed. ..

 Respond  
aeros   -  Jul 11, 2005

if ($1 == !tvus ) {
/un http://tv.yahoo.com/lineup?cf=&search=true&title= $1-
}

change to
if ($1 == !tvus ) {
/run http://tv.yahoo.com/lineup?cf=&search=true&title= $1-
}

you had it as /un .. /un is not a command according to my mIRC

 Respond  
Sp3cial Person   -  Jul 11, 2005

Thanks aaslyfox! i\'ll add that aswell so there\'s a choice.

 Respond  
aaslyfox   -  Jul 11, 2005

this should work in the remotes section
on :text::#: {
if ($1 == !tvau ) {
run http://au.tv.yahoo.com/searchresults.html?kw= $1-
}
if ($1 == !tvus ) {
/un http://tv.yahoo.com/lineup?cf=&search=true&title= $1-
}
if ($1 == !tvuk ) {
run http://uk.tv.yahoo.com/search/tv?p= $1- &type=n&lineup=uk&.intl=uk&range=7&n=10
}
if ($1 == !tvfr ) {
run http://fr.tv.yahoo.com/search/tv?n=10&type=n&lineup=fr&.intl=fr&range=1&p= $1-
}
}

 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.