Difference between revisions of "Microphone"

From Second Life Wiki
Jump to navigation Jump to search
m (<lsl> tag to <source>)
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
It will repeat your chat text (channel 0) in shouting mode ;o)
It will repeat your chat text (channel 0) in shouting mode ;o)


<pre>
<source lang="lsl2">
// Created by Bman Kirax and Ziyal Ochs 13th of February 2008
// Created by Bman Kirax and Ziyal Ochs 13th of February 2008.
// This Script is intended to stay FREE!
// This script is intended to stay FREE and may NOT be sold.
// You are NOT permitted to sell this script.
// All the comments here in ORANGE must NOT be deleted.
// All the comments here in ORANGE must NOT be deleted.
// No help will be provided by the authors.
// No help will be provided by the authors.
Line 33: Line 32:


}
}
</pre>
</source>
[[Category:LSL Examples]]
[[Category:LSL Examples]]

Latest revision as of 17:20, 24 January 2015

Repeats and SHOUTS your chat

This script is useful for hosting.

Put this script in the content of any main prim and WEAR it. It will repeat your chat text (channel 0) in shouting mode ;o)

// Created by Bman Kirax and Ziyal Ochs 13th of February 2008.
// This script is intended to stay FREE and may NOT be sold.
// All the comments here in ORANGE must NOT be deleted.
// No help will be provided by the authors.
// IF YOU DO NOT AGREE WITH THIS; DO NOT USE THE SCRIPT!!!

default
{
    state_entry()
    {
        llListen(0, "", llGetOwner(), "");
    }
    
    listen(integer c,string n,key i,string m)
    {
        llSetObjectName(n);
        llShout(0, m);
    }
    on_rez(integer start_param)
    {
        llResetScript(); 
    }

}