d9479ad9e8e947a9a4d22791383bc5c139e877fe
[feisty_meow.git] / huffware / huffotronic_scripts / uuid_shower_mat_v0.3.txt
1 
2 // huffware script: uuid shower, by fred huffhines
3 //
4 // a simple script that shows an avatar their universally unique ID.
5 //
6 //   this script is licensed by the GPL v3 which is documented at: http://www.gnu.org/licenses/gpl.html
7 //   do not use it in objects without fully realizing you are implicitly accepting that license.
8
9 default
10 {
11     state_entry() { if (llSubStringIndex(llGetObjectName(),  "huffotronic") < 0) state real_default; }
12     on_rez(integer parm) { state rerun; }
13 }
14 state rerun { state_entry() { state default; } }
15
16 state real_default
17 {
18     state_entry() {}
19
20     touch_start(integer total_number)
21     {
22         llSay(0, "Hello " + llDetectedName(0) + ", your UUID is " + (string)llDetectedKey(0));
23     }
24 }