YB Forums: !google Script - YB Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

!google Script It works, and has color

#1 User is offline   MageOfTyr Icon

  • Icon
  • Group: Members
  • Posts: 1
  • Joined: 28-February 08
  • Gender:Male
  • Location:New Zealand
  • Interests:Hyper MoSFET, crashing servers, Scripting, playing with my YBbot, sitting on IRC making jokes on how this day will be, playing games

Posted 28 February 2008 - 02:14 AM

Hey all, I'm new here, but I've noticed that you all need a YBbot Google script, I'm happy to help. :)
This Google script is activated by typing !google <anything you want to Google>
A couple days project, it comes out with color, to install, copy all of the script text and paste it into a new remote in your YBbot mIRC script editor and go "save as" and save it in the Scripts folder as name google.mrc Thnx all :)

;YBbot IRC<BR>;google search script v0.01<BR>;Script by: MageOfTyr<BR>;Email me at mage_of_tyr@windowslive.com<BR><BR>;Dialog<BR>#google on<BR>on *:text:*google*:#: {<BR>  if $1 == %c $+ google && $2- { set %google.num 0 | set %google.channel $chan | set %google.suche $replace($ifmatch,$chr(32),$chr(43)) | sockclose google | sockopen google www.google.com 80 }<BR>  elseif $1 == %c $+ google { msg $chan Erm... I've no idea what to search for. Use %c $+ google keyword(s)! }<BR>}<BR>on *:sockopen:google: {<BR>  if %google.max.results == $null { set %google.max.results 3 }<BR>  sockwrite -n $sockname GET $+(/search?sourceid=navclient&hl=en&ie=UTF-8&rls=GGLD,GGLD:2004-04,GGLD:en&q=,%google.suche) HTTP/1.1<BR>  sockwrite -n $sockname Host: www.google.com<BR>  sockwrite -n $sockname $crlf<BR>}<BR>on *:sockread:google: {<BR>  $event %google.tmp<BR>  if ($regex(%google.tmp,/<h2 class=.*><a href="(.*)" class=l>.*<b>/)) { $+(.timer.google,%google.num) 1 %google.num msg %google.channel 15*** 12G4o8o12g9l4e: 3 $regml(1) | inc %google.num 1 }<BR>  if (%google.num == %google.max.results) { sockclose google | unset %google* }<BR>}<BR>#google end



Attached File  google.mrc (1.09K)
Number of downloads: 261
MageOfTyr
0

#2 User is offline   Corey Icon

  • YB Staff
  • Icon
  • Group: Admin
  • Posts: 126
  • Joined: 26-August 05
  • Gender:Male

Posted 28 February 2008 - 05:27 PM

You can also download the attached google.mrc, place it in the scripts folder of your YB directory, and use the command below to load it.
/load -rs google.mrc

 Posted Image

Web: www.ybbot.com  ---  IRC: irc.chat-addict.net  #YBbot
"Freedom to marry is a hallmark of full citizenship in our country. The civil union is a badge of inferiority." 
1

#3 User is offline   unknown Icon

  • Icon
  • Group: Members
  • Posts: 1
  • Joined: 01-April 08

Posted 01 April 2008 - 05:25 AM

Hmm.. weird, I am not allowed to download anything from here.. <_< :lol:
0

#4 User is offline   seasider Icon

  • Icon
  • Group: Members
  • Posts: 1
  • Joined: 18-May 08

Posted 18 May 2008 - 08:56 AM

hmmm i can also not download anything from here? so whats the prob ? pls help

greetz and thx
edit!

sry but it doesn t work on my bot! i made copy an paste new mrc an save it! but nothing goes! pls help
thx

edit no. 2 :D ok its fine works good :D
0

#5 User is offline   Corey Icon

  • YB Staff
  • Icon
  • Group: Admin
  • Posts: 126
  • Joined: 26-August 05
  • Gender:Male

Posted 26 May 2008 - 04:19 PM

Sorry, missed a permission. You should be able to download files without problem now.
 Posted Image

Web: www.ybbot.com  ---  IRC: irc.chat-addict.net  #YBbot
"Freedom to marry is a hallmark of full citizenship in our country. The civil union is a badge of inferiority." 
0

#6 User is offline   ajnachakra Icon

  • Icon
  • Group: Members
  • Posts: 1
  • Joined: 12-February 09

Posted 12 February 2009 - 12:03 PM

Board Message

Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information.
The error returned was:

Sorry, some required files are missing, if you intended to view a topic, it's possible that it's been moved or deleted. Please go back and try again.


:(
0

#7 User is offline   Corey Icon

  • YB Staff
  • Icon
  • Group: Admin
  • Posts: 126
  • Joined: 26-August 05
  • Gender:Male

Posted 15 February 2009 - 10:00 AM

View Postajnachakra, on Feb 12 2009, 12:03 PM, said:

Board Message

Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information.
The error returned was:

Sorry, some required files are missing, if you intended to view a topic, it's possible that it's been moved or deleted. Please go back and try again.


:(


All fixed. Sorry about that.
 Posted Image

Web: www.ybbot.com  ---  IRC: irc.chat-addict.net  #YBbot
"Freedom to marry is a hallmark of full citizenship in our country. The civil union is a badge of inferiority." 
0

#8 User is offline   cubs197 Icon

  • Icon
  • Group: Members
  • Posts: 5
  • Joined: 19-August 09

Posted 19 August 2009 - 04:22 PM

Thanks. :)
0

#9 User is offline   keksbrot Icon

  • Icon
  • Group: Members
  • Posts: 4
  • Joined: 11-February 10

Posted 11 February 2010 - 05:33 AM

cant download, no file existing
0

#10 User is offline   markcasias Icon

  • Icon
  • Group: Members
  • Posts: 1
  • Joined: 08-March 10

Posted 11 March 2010 - 02:15 AM

what seems to be the problem why we can't download.......


________________
Fisher Price Digitalkamera

This post has been edited by markcasias: 12 March 2010 - 10:08 PM

0

#11 User is offline   Corey Icon

  • YB Staff
  • Icon
  • Group: Admin
  • Posts: 126
  • Joined: 26-August 05
  • Gender:Male

Posted 11 March 2010 - 09:37 AM

 Sorry.  I've fixed the attachment and it is working now.
 Posted Image

Web: www.ybbot.com  ---  IRC: irc.chat-addict.net  #YBbot
"Freedom to marry is a hallmark of full citizenship in our country. The civil union is a badge of inferiority." 
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users