Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670
Talk:Screen Vendor Specs - TreetWiki

Talk:Screen Vendor Specs

From TreetWiki

Jump to: navigation, search
(Created page with 'According to the documentation on the LSLWiki for [http://lslwiki.net/lslwiki/wakka.php?wakka=llKey2Name llKey2Name] the owner name is only provided if the owner is on the curren...')
Comments? ([[User:Wiznord|Wiznord]] 02:27, 17 July 2009 (UTC))
Comments? ([[User:Wiznord|Wiznord]] 02:27, 17 July 2009 (UTC))
 +
 +
One way around that issue (and that will save a little bit on script resources) would be to use a global string to store the parameters and store that on state_entry:
 +
 +
<pre>
 +
 +
string param;
 +
 +
 +
setParam()
 +
{
 +
    param = "vendor=" + llEscapeUrl("TVconcepts") +
 +
            "&scrid=" + llEscapeURL("luxury100") +
 +
            "&ver=" + llEscapeURL("2") +
 +
            "&region=" + llEscapeURL(llGetRegionName()) +
 +
            "&parcel=" + llEscapeURL((string)llGetParcelDetails(llGetPos(),[PARCEL_DETAILS_NAME])) +
 +
            "&owner=" + llEscapeURL(llKey2Name(llGetOwner()));
 +
}
 +
 +
default
 +
{
 +
    state_entry()
 +
    {
 +
        setParam()
 +
    }
 +
 +
    touch_start(integer num)
 +
    {
 +
        string media = "http://streams.treet.tv/live.mov?" + param;
 +
    }
 +
}
 +
</pre>
 +
--[[User:ThraxisEpsilon|ThraxisEpsilon]] 02:51, 17 July 2009 (UTC)

Revision as of 02:51, 17 July 2009

Personal tools