|
slicertool Magician
Joined: 09 Oct 2003 Posts: 459 Location: USA
|
Posted: Tue May 11, 2004 3:58 am
Google Search |
Google search for zMUD.
Code: |
#ALIAS google {#url http:\www.google.com\search%char( 63)hl=en%char( 38)ie=UTF-8%char( 38)oe=UTF-8%char( 38)q=%replace( %-1, " ", "+")%char( 38)EandD=EyDy%char( 38)}
|
edit: fixing code that phpbb stripped. |
|
|
|
karamin Newbie
Joined: 08 Sep 2005 Posts: 4
|
Posted: Fri Sep 09, 2005 4:29 am |
This part actually needs two slashes:
http:\www
Working code below:
#ALIAS google {#url http:\\www.google.com\search%char( 63)hl=en%char( 38)ie=UTF-8%char( 38)oe=UTF-8%char( 38)q=%replace( %-1, " ", "+")%char( 38)EandD=EyDy%char( 38)} |
|
|
|
Private Adept
Joined: 10 Jan 2002 Posts: 264 Location: USA
|
Posted: Fri Sep 09, 2005 9:24 am |
IE will convert those \ to /, even http:\ is converted to http://, but for compatibility, i'd use /
Also #URL does not work on my machine as i dont use IE, so DDE might be better for some:
Code: |
#ALIAS google {#DDE IExplore WWW_OpenURL (http://www.google.com/search?q=%replace( %-1, " ", "+"))}
|
replace IExplore with your browsers DDE "Application" name
and www_OpenURL with it's "Topic"
also,
Code: |
%char( 63)hl=en%char( 38)ie=UTF-8%char( 38)oe=UTF-8%char( 38)EandD=EyDy
|
is un-needed especially if you have googles cookie and preferences set. |
|
|
|
saplingg Novice
Joined: 06 Oct 2005 Posts: 31
|
|
Last edited by saplingg on Sat Oct 22, 2005 8:44 am; edited 1 time in total |
|
|
|
saplingg Novice
Joined: 06 Oct 2005 Posts: 31
|
Posted: Sat Oct 22, 2005 8:43 am |
|
|
|
|
Private Adept
Joined: 10 Jan 2002 Posts: 264 Location: USA
|
Posted: Fri Oct 28, 2005 5:17 am |
For IE it would be:
Code: |
#ALIAS google {#DDE IExplore WWW_OpenURL (http://thesaurus.reference.com/search?q=%replace( %-1, " ", "+"))}
|
Not a user of firefox, but "Mozilla" (i.e. firefox) is:
Code: |
#ALIAS google {#DDE Mozilla WWW_OpenURL (http://thesaurus.reference.com/search?q=%replace( %-1, " ", "+"))}
|
if that fails, you might try:
Code: |
#ALIAS google {#DDE Firefox WWW_OpenURL (http://thesaurus.reference.com/search?q=%replace( %-1, " ", "+"))}
|
past that, im clueless.... |
|
|
|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Tue Nov 01, 2005 6:02 am |
I just tried #URL since I use Firefox as my primary browser and it had no issues opening a webpage.
|
|
_________________ Taz :) |
|
|
|
mercatroid Wanderer
Joined: 06 Dec 2004 Posts: 59
|
Posted: Mon Feb 19, 2007 4:48 am |
Is there any way to port the info from these aliases back into zMud?
What I'm thinking of is the following website: http://www.infoplease.com/dayinhistory.
Ideally, whenever someone logs in, I'd like zMud to navigate to this site, grab the 7 or 8 entries that appear there, drop them into a stringlist, randomly select one, then display it to the MUD.
Just a cute little idea.
-Merc-
*Edit: I didn't realize this was on the Finished Scripts forum. Going to paste it to the General board |
|
|
|
|
|