Change font size
It is currently Tue Jul 17, 2018 11:22 pm

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 2 guests


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:  
cron


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