Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Who can do it?

Options
  • 17-05-2005 6:49pm
    #1
    Registered Users Posts: 4,698 ✭✭✭


    Ok,
    Was just on irc there chatting away and I came up with a great idea. Would it be possible to create a command to open up a webpage automatically? I mean in the instance of google. It would be great if you could type /google followed by your search term and it would automatically open a web page and search google for you.
    Anybody out there willing to make IRC life that little bit easier?:)


Comments

  • Registered Users Posts: 6,007 ✭✭✭Moriarty


    Open mirc, go to Tools -> Scripts editor in the toolbar, select the 'aliases' tab in the new window that opens, and then paste this in at the end of the file..
    google {
      if ( $chr(32) isin $$1- ) {
        set %googlestring $replace($$1-,$chr(32),+)
        run http://www.google.com/search?q= $+ %googlestring $+ &ie=UTF-8&oe=UTF-8&hl=en
      }
      else {
        run http://www.google.com/search?q= $+ $$1 $+ &ie=UTF-8&oe=UTF-8&hl=en
      }
    }
    

    Press ok, then just type "/google my google search here" and it'll open a new browser window with the results.


  • Registered Users Posts: 4,698 ✭✭✭garthv


    Legend!


  • Registered Users Posts: 1,419 ✭✭✭nadir


    so irssi is **** eh!


Advertisement