Search from mIRC - Aliases and Popups

By Nilbmar on Aug 26, 2012

Provides a set of Aliases and Popups in mIRC for quick web searches and other useful tidbits.

Most aliases follow the form of /alias search terms

/com Facebook (Goes to www.Facebook.com)
/down Hawkee (Uses downornot.com to find out if a website is down)
/hawk Pokemon (Searches Hawkee Code Snippet section for the term.)
/youtube Nyan Cat (Searches youtube)
/google rick roll (Searches google)
/imdb Batman (Searches IMDB)
/wiki Troll doll (Searches wikipedia)
/pin Johnny Depp (Searches pinterest)

/F12
Special case - It takes no search terms
type /f12 or hit the F12 button for a popup box
This will issue an op notice to the active channel if you're an op there.

The bottom section uses those aliases as Popups so you can easily access them with a right click.
The /f12 popup should only be placed in the Channel section of popups.

;----  Created by: Nilbmar on Hawkee.com
;----  Pasted on:  8/26/2012
;----  Purpose:    Provide a set of Aliases and Popups in mIRC for quick web searches
;----                       and other useful tidbits.

;----  This first section is to go in your Alias tab

;----  This alias will go directly to a website that uses www. and .com  on the ends.
;----  (ie.) /com Facebook

/com /run www. $+ $1 $+ .com

;----  The following aliases will search a particular website for keyword(s)
;----  The command to use them is simply /alias search_terms 
;----  (ie) /down hawkee (will go to a website to find out if hawkee.com is down)
;----  (ie) /hawk Slap! (will search the code snippets section of hawkee.com)

/down /run http://www.downornot.com/ $+ $1-
/hawk /run http://www.hawkee.com/snippets/search/ $+ $1- $+ /
/youtube /run http://www.youtube.com/results?search_query= $1-
/google /run https://www.google.com/search?q= $1-
/imdb /run http://www.imdb.com/find?q= $+ $1- $+ &s=all
/wiki /run http://en.wikipedia.org/wiki/ $+ $1-
/pin /run http://pinterest.com/search/?q= $+ $1-

;----  Display Dialog box to enter an Op Notice on Channel where you're an op 
;----  Simply type /f12 or hit the F12 on keyboard, fill in the box and hit enter
/f12 onotice #  $$?="Op chat"

;-------------------------------------------------------------------------------------
;----  The following code should be placed in your Popup tabs
;----  Include the dashes above and below to separate Searches onto it's own section
;----  This lets you right click in various windows to use the aliases above
;----  with a dialog box displayed to prompt for information
;----  The Op Notice popup I only  have placed in the section for channels
;----  All others I have in the Status, Channel, and Query popup views

-
Op Notice :/f12
-
Searches
.Down :/down $$?="Is this website down?"
.Wepage :/com $$?="Open a Website"
.-
.Youtube :/youtube $$?="Youtube Search"
.Hawkee :/hawk $$?="Hawkee Search: Code Snippets"
.Google :/google $$?="Google Search"
.Wiki :/wiki $$?="Wikipedia Search"
.IMDB :/imdb $$?="IMDB Search"
.Pinterest :/pin $$?="Pinterest Search"

Comments

Sign in to comment.
Nilbmar   -  Aug 26, 2012

Thanks, I knew the one to create the aliases in remote but not that menu was used for the popups.

 Respond  
Sorasyn   -  Aug 26, 2012

Could just create a menu item, which can be contained in the Remotes section.

 Respond  
Nilbmar   -  Aug 26, 2012

I plan to improve this later to make it self contained into one script file rather than having to separate them yourselves.

 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.