Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

link script.

Jumpman Lane
JUMPY!!!
Join date: 7 May 2007
Posts: 2,114
06-05-2007 16:05
i'm looking for something i see eveerywhere but can't find...
a link script that creates a menu offering to send the toucher to a url...
i've see them in vendors calle link url, touch link, and link script....i hate to IM the creators out of the blue...this is my alst resort before that!
Sterling Whitcroft
Registered User
Join date: 2 Jul 2006
Posts: 678
06-05-2007 17:38
ARe you looking for "llHTTPRequest"?

http://lslwiki.net/lslwiki/wakka.php?wakka=communications
Ron Khondji
Entirely unlike.
Join date: 6 Jan 2007
Posts: 224
06-06-2007 02:09
You're looking for: llLoadURL
Jumpman Lane
JUMPY!!!
Join date: 7 May 2007
Posts: 2,114
Thanx!
06-06-2007 07:16
i don't wanna post their name...but a kind soul got me exactly what i needed...and i really appreaciate it...

just needed a script that would load a web page when touched...
they seem to be called a lot of different things
Musical Merlin
Registered User
Join date: 22 May 2007
Posts: 1
06-06-2007 12:53
In the spirit of a forum, would you kindly post what you learned so that all readers that search this topic and read this thread can benefit?
Jumpman Lane
JUMPY!!!
Join date: 7 May 2007
Posts: 2,114
06-06-2007 21:33
yeah...just as soon as i learn to click and paste in world....

anybody know how to do that? 'cause i don't


but in the mean timee...anybody need this kind of script, im me in world...i'll be happy to slide it ovwer to you...just like i was fortunate enough to get it..

i'm to new to actually W R I T E scripts so i wouldn't want to spread some crap due to a misprint on my part
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
06-06-2007 23:46
From: Jumpman Lane
yeah...just as soon as i learn to click and paste in world....

anybody know how to do that? 'cause i don't


but in the mean timee...anybody need this kind of script, im me in world...i'll be happy to slide it ovwer to you...just like i was fortunate enough to get it..

i'm to new to actually W R I T E scripts so i wouldn't want to spread some crap due to a misprint on my part


I'm assuming you mean "cut and paste"... same as anywhere else, <CTRL>+C copies, <CTRL>+T cuts, and <CTRL>+P pastes...

You can copy text into the Windows system clipboard, and paste anywhere you normally would.
Jumpman Lane
JUMPY!!!
Join date: 7 May 2007
Posts: 2,114
06-07-2007 06:50
From: Johan Laurasia
I'm assuming you mean "cut and paste"... same as anywhere else, <CTRL>+C copies, <CTRL>+T cuts, and <CTRL>+P pastes...

You can copy text into the Windows system clipboard, and paste anywhere you normally would.

i love these forums! thanks Johan! I'll post the text soon as i'm in world again!
poopmaster Oh
The Best Person On Earth
Join date: 9 Mar 2007
Posts: 917
06-07-2007 07:53
default
{
touch_start(integer total_number)
{
llLoadURL(llDetectedKey(0), "Flame on!", "http://forums.secondlife.com";);
}
}
_____________________
InSL u find every kind of no-life retard you could possibly imagine as well as a few even Tim Burton couldnt imagine u find 12yr-olds claiming to be 40 men claiming 2 be women, women claiming 2 make sense and every1 claiming 2 have ideas that are actually worth a damn if only someone would just listen to their unique innovative and exceptionally important idea
Jumpman Lane
JUMPY!!!
Join date: 7 May 2007
Posts: 2,114
This Is The One I Got...sorry I Took So Long!
06-11-2007 21:55
default
{
state_entry()
{
llSay(0, "TOUCH ME TO GO TO SLUTMAGAZINE ";);
}

touch_start(integer total_number)
{
llSay(0, "LET S GO.";);
key giver;
giver = llDetectedKey(0);
string name = llDetectedName(0);
if (giver != NULL_KEY)
{
llLoadURL(giver,"","http://slutmagazine.blogspot.com/";);

}

}
}
Ivor Rident
The funk of 40,000 years
Join date: 27 Feb 2007
Posts: 57
06-12-2007 01:12
Hey there,

Jumpman, how do I have to change your script to have that blue options box with an URL opened when someone walks through a phantom ? Know what I mean ? Would be great if you could help me.
AWM Mars
Scarey Dude :¬)
Join date: 10 Apr 2004
Posts: 3,398
06-12-2007 03:18
From: Johan Laurasia
I'm assuming you mean "cut and paste"... same as anywhere else, <CTRL>+C copies, <CTRL>+T cuts, and <CTRL>+P pastes...

You can copy text into the Windows system clipboard, and paste anywhere you normally would.

Umm, I think you maybe using the wrong shortcut keys, the Ctrl+<insert shortcut key here> is from the old Wordperfect DOS programme and were adopted by Windows, they are Ctrl+C (copies), Ctrl+X (Deletes but holds it in your clipboard), Ctrl+V (pastes)... Ctrl+P is a print shortcut... unless you are not using a DOS based programme like windows?
_____________________
*** Politeness is priceless when received, cost nothing to own or give, yet many cannot afford -

Why do you only see typo's AFTER you have clicked submit? **
http://www.wba-advertising.com
http://www.nex-core-mm.com
http://www.eml-entertainments.com
http://www.v-innovate.com
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
06-12-2007 04:31
From: Ivor Rident
Hey there,

Jumpman, how do I have to change your script to have that blue options box with an URL opened when someone walks through a phantom ? Know what I mean ? Would be great if you could help me.


Instead of being in a touch_start() handler, you'd probably want it in a collision_start() handler, and you'd need llVolumeDetect(TRUE); to have happened to the prim at some point, perhaps in state_entry() if not in some other script.
Ivor Rident
The funk of 40,000 years
Join date: 27 Feb 2007
Posts: 57
06-12-2007 04:45
From: Qie Niangao
Instead of being in a touch_start() handler, you'd probably want it in a collision_start() handler, and you'd need llVolumeDetect(TRUE); to have happened to the prim at some point, perhaps in state_entry() if not in some other script.



err.. if you don't mind would you please be so kind and post the whole syntax of such a script cos I'm a nOOb concerning scripting and don't know where to put those handlers and classes and so on. Thx in advance.
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
06-12-2007 05:15
Well, I haven't actually tried any of this, but just mod'ing the posted script (and assuming you want the URL for slutmagazine, whatever that may be, hehehe), it should go something like:

default
{
state_entry()
{
llVolumeDetect(TRUE);
llSay(0, "TOUCH ME TO GO TO SLUTMAGAZINE ";);
}

collision_start(integer total_number)
{
llSay(0, "LET S GO.";);
key giver;
giver = llDetectedKey(0);
string name = llDetectedName(0);
if (giver != NULL_KEY)
{
llLoadURL(giver,"","http://slutmagazine.blogspot.com/";);

}

}
}
Ivor Rident
The funk of 40,000 years
Join date: 27 Feb 2007
Posts: 57
06-12-2007 05:44
wow, great !! Thanks a lot. Btw, I'm at least able to replace that url to my own blog , hehe :-)
Jumpman Lane
JUMPY!!!
Join date: 7 May 2007
Posts: 2,114
sorry dude...
06-12-2007 06:58
From: Ivor Rident
Hey there,

Jumpman, how do I have to change your script to have that blue options box with an URL opened when someone walks through a phantom ? Know what I mean ? Would be great if you could help me.



i have no idea...i havent seen instant load web links like you want... just click touch ones..maybe somebody els knows
Saijanai Kuhn
Registered User
Join date: 16 May 2007
Posts: 130
06-13-2007 08:10
From: AWM Mars
Umm, I think you maybe using the wrong shortcut keys, the Ctrl+<insert shortcut key here> is from the old Wordperfect DOS programme and were adopted by Windows, they are Ctrl+C (copies), Ctrl+X (Deletes but holds it in your clipboard), Ctrl+V (pastes)... Ctrl+P is a print shortcut... unless you are not using a DOS based programme like windows?


Actually, they are based on the Mac's cmd-key (AKA Apple key) menu convention from the early 80's. It is the key sequence directly under the touch-typing home-keys on the English keyboard:

z, x, c, v.

cmd-z redoes, cmd-x deletes, cmd-c copies, cmd-v pastes.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
06-13-2007 10:26
From: Ivor Rident
Hey there,

Jumpman, how do I have to change your script to have that blue options box with an URL opened when someone walks through a phantom ? Know what I mean ? Would be great if you could help me.



swap the touch start_event handler for a collison_start event handler.
_____________________
I'm back......
AWM Mars
Scarey Dude :¬)
Join date: 10 Apr 2004
Posts: 3,398
06-14-2007 04:18
From: Saijanai Kuhn
Actually, they are based on the Mac's cmd-key (AKA Apple key) menu convention from the early 80's. It is the key sequence directly under the touch-typing home-keys on the English keyboard:

z, x, c, v.

cmd-z redoes, cmd-x deletes, cmd-c copies, cmd-v pastes.

I hate to be corrective, especially as there are some very sensitive Apple users out there, but before the apple dropped, WordPerfect for DOS was around some 3 years beforehand. In the days when I had to write my own print drivers for programmes, these shortcut keys were a way of reducing the code required, when you only had 64kb to play with. The Apple Mac never had a Ctrl key, only a substitution, hence why the shortcuts use Ctrl and not cmd.
_____________________
*** Politeness is priceless when received, cost nothing to own or give, yet many cannot afford -

Why do you only see typo's AFTER you have clicked submit? **
http://www.wba-advertising.com
http://www.nex-core-mm.com
http://www.eml-entertainments.com
http://www.v-innovate.com
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
06-14-2007 11:40
From: Newgate Ludd
swap the touch start_event handler for a collison_start event handler.


Don't forget llVolumeDetect(TRUE);

:)