Difference between revisions of "User:Gordon Wendt"

From Second Life Wiki
Jump to navigation Jump to search
(changing to <pre> since <code> isn't escaping right)
 
(74 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div id="background" style="border:2px solid #AAAAAA; background-color:#EEEEEE;padding:10; visibility: visible">
{{visl
{{visl
|name=Gordon Wendt
|name=Gordon Wendt
|Mentors=*
|}}
|}}
{{skills
{{skills
Line 8: Line 9:
|}}
|}}


I'm Gordon Wendt, I do a little bit of everything in SL and recently was accepted into the volunteer program as a mentor
{{SL-hCard/2.0
 
|account=Resident
== Gallery ==
|name=Gordon Wendt
<gallery>
|image=GW.jpg
Image:VolMeet09280711am.jpg|Snapshot from the volunteers monthly meeting of 9/28/07 at 11:00am
|rezday=May 10th 2006
</gallery>
|fields={{SL-hCard/field|Achievements/Tasks|
 
*Builder
== Free code snippets ==
*Scripter
<!-- don't know why but <code> doesn't escape properly so having to use <pre> -->
}}
A couple of code snippets I"m freely releasing for anyone to use
}}
 
=== Naming Trick ===
A cheap little trick to make the object name on the way the script name then change the object name back
 
<pre>
 
default
{
    state_entry()
      {
          a = llGetObjectName(); // grabs the current object name and stores it so it can be restored later
          llSetObjectName(llGetScriptName() ); // changes the object name to the script name ( see advanced use for more info)
          llOwnerSay("this is the test statement"); // your test statement, said with the name of the script name
          llSetObjectName(a);// changes the object name back to what it originally was
          // ADVANCED USE: change llGetScriptName() to a string of text (surrounded by quotes ("") or just change the script name
      }
}


</pre>
{| class="quote" id="DIS" style="width:auto; margin: auto; border:2px solid #FFCC00; padding:5px; background-color: #FFF0D9;" cellpadding="4" cellspacing="4"
| <center>''"Around here, however, we don't look backwards for very long. We keep moving forward, opening up new doors and doing new things, because we're curious...and curiosity keeps leading us down new paths."''


=== Quick and Dirty chat repeater ===
<br><br>'''-Walt Disney'''</center>
Repeats whatever you say on a user definable channel on channel 0 (public chat), also added commented out info on how to make it shout or whisper as well as say
|}


<pre>


// Coded by Gordon Wendt, free to reuse, snip, recode, give away, or use in derivative works for all perpetuity, all I ask is that you leave this notice intact, add your name below mine if you add something to the code, and leave this and any other creator's notice intact
{| class="quote" id="Random" style="width:auto; margin: auto; border:2px solid #CCCCCC; padding:5px; background-color: #FFFFFF;" cellpadding="4" cellspacing="4"
|[[Image:Icons_parature_warning.jpg]]
|<center>'''[[Special:Random|Error 42: Universe not found,<br> please contact the mice for assistance]]'''</center>
|[[Image:Icons_parature_warning.jpg]]
|}


// -----
==People==
// GORDON WENDT
*{{User|Strife Onizuka}} - Too much useful stuff to actually describe here
*{{User|Zai Lynch}} - Wizard of the wiki markup
*{{User|Michelle2 Zenovka}} - Great cmake instructions for building the viewer
*{{User|Lex Neva}} - again, too many great contributions to count and/or describe
*{{User|Harleen Gretzky}} - one of the great people on the JIRA
*{{User|Jesse Barnett}} - Scripter Extraordinaire


== Useful pages ==
* [[:Category:Wizardry and Steamworks]] - only an archive now but has some useful things


// ACTUAL CODE STARTS HERE
*[[Special:Random]] - Directs to a random page on the wiki
*[[Special:SpecialPages]] - A list of all the special pages for the wiki
*[[Help:Editors_Toolbox]] - A list of helpful wiki templates
*[http://www.mediawiki.org/wiki/Help:Magic_words Mediawiki magic words page]


// Change the object name to whatever you want the message to be prefixed by, replace with a single space to make object name appear blank, though message will still have a semicolon (:) before it
== Miscellaneous ==
[[/sandbox]] - an internal sandbox I use to test various wiki specific changes.


integer chan = 5; // replace with whatever channel number you want the object to listen on
[[/testbed]] - For posting my experimental ideas including scripts, scraps of code, etc... --- USE AT YOUR OWN RISK


default
[[/scripts]] - Some scripts that I have written that I am freely releasing
{
    state_entry()
    {
        llListen(chan,"","",""); // sets the listen so that object listens to says on that channel
    }


    listen(integer channel,string name,key id,string message)
[[/snippets]] - Code snippets I"m freely releasing for anyone to use
    {
        llSay(0,message); // says whatever it heard on channel 5 in channel 0 which is the standard general chat
     
      // ALTERNATE MODES (ADVANCED)
     
      // to use these instead of llSay put two forward slashes (//) before llSay and remove the two slashes from oen of the lines below, to reverse just re-add the slashes to that line and remove the ones from the llSay line
     
      //  llShout(0,message); // if you'd prefer it to shout
      //  llWhisper(0,message); // if you'd prefer it to whisper
    }
}


</pre>
__NOINDEX__
__NOTOC__
__NOEDITSECTION__


[[Category:English speaking Volunteers|Gordon Wendt]]
[[Category:English speaking Volunteers|Gordon Wendt]]
[[Category:English speaking Residents|Gordon Wendt]]

Latest revision as of 21:34, 23 August 2013

Profile
GW.jpg
Born:
May 10th 2006
Account:
Resident
Achievements/Tasks:
  • Builder
  • Scripter
"Around here, however, we don't look backwards for very long. We keep moving forward, opening up new doors and doing new things, because we're curious...and curiosity keeps leading us down new paths."

-Walt Disney


Icons parature warning.jpg
Error 42: Universe not found,
please contact the mice for assistance
Icons parature warning.jpg

People

Useful pages

Miscellaneous

/sandbox - an internal sandbox I use to test various wiki specific changes.

/testbed - For posting my experimental ideas including scripts, scraps of code, etc... --- USE AT YOUR OWN RISK

/scripts - Some scripts that I have written that I am freely releasing

/snippets - Code snippets I"m freely releasing for anyone to use