|
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
|
02-25-2009 13:46
I need a script that will shout /1show every x minutes.
Can anyone help me out?
|
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
02-25-2009 14:01
That's it, Briana? default { state_entry() { llSetTimerEvent(120.0); // Change 120.0 to x.x in seconds } timer() { llShout(1,"show"); // This shouts "show" on channel 1 llResetScript(); } }
|
|
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
|
02-25-2009 14:27
Sweet thanks Roliq!
|
|
Destiny Niles
Registered User
Join date: 23 Aug 2006
Posts: 949
|
02-25-2009 14:47
From: Rolig Loon That's it, Briana? default { state_entry() { llSetTimerEvent(120.0); // Change 120.0 to x.x in seconds } timer() { llShout(1,"show"); // This shouts "show" on channel 1 llResetScript(); } }
THE llResetScript(); line is not needed. The timer event automatically resets itself.
|