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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Who can do it?

  • 17-05-2005 5:49pm
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 4,698 ✭✭✭garthv


    Legend!


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


    so irssi is **** eh!


Advertisement