Change font size
It is currently Mon Apr 22, 2019 11:18 pm

Forum rules


Post a new topicPost a reply Page 1 of 1   [ 1 post ]
Author Message
 Post subject: A slightly better teleporter
PostPosted: Thu Feb 14, 2008 9:40 am 
Site Admin
User avatar

Joined: Sun Feb 03, 2008 9:10 am
Posts: 46
Location: Suburbia Americana in the Houston Texas area
// This is my crude skybox teleporter script. To use it, drop it in the teleporter prim, sit on it, and say 'up' or
// 'dn'. You do not need to be sitting on it to give it a command, so you can send it back for someone else.
// This must be done manually however.
// It doesn't use llResetScript(), so should be a lil more forgiving wrt current issues att of this post.
// a tip o' the hat to Pablo Pharmanaut :D
// teh scriptage:

integer lhandle = 0;

llSay(0, "Elevator ready! Touch and/or sit, then give command in open chat (up/dn)");

touch_start(integer num_times)
lhandle = llListen(0, "", "", "");
llSay(0, "60 seconds to be seated and give command on open chat (up/dn)");

listen(integer chan, string name, key dakey, string msg)
if(msg == "up")
else if(msg == "dn")

llSay(0, "Listen has expired - Sit/touch again to give a new command (up/dn)");

// Cheers!
// Hiro P

Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 1 post ]

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of