Change font size
It is currently Thu Nov 22, 2018 5:39 am

Forum rules


{L_IMAGE}



Post a new topicPost a reply Page 1 of 1   [ 1 post ]
Author Message
 Post subject: Touch Switch
PostPosted: Tue Feb 05, 2008 9:20 am 
User avatar

Joined: Tue Feb 05, 2008 12:13 am
Posts: 24
Location: Central California
//touch switch

integer Switch = FALSE;

default
{
touch_start(integer total_number)
{
if(Switch == FALSE)
{
Switch = TRUE;
llSay(0, "On"); //turn on stuff here
}
else
{
Switch = FALSE;
llSay(0, "Off"); //turn off stuff here
}
}
}

_________________
"...a book with no readers is not a fully effective work of art." Rudy Rucker


Top
 Profile  
 
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 Gamexe.net