Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Clover's Intermediate RLV Glasses Control v1.0
- //Hi! I'm Clover! I made this! Please feel free to share it around and use it for things, just keep it open and keep my name on it!
- //This is meant to be used with Clover's Intermediate Glasses Script!
- //This script goes in something that won't be detached unless you're completely changing avatars, like your head for example!
- default
- {
- state_entry()
- {
- llListen(-11381138,"","","");
- }
- listen(integer chan, string name, key id, string msg)
- {
- key theirowner = llGetOwnerKey(id);
- if(theirowner == id || theirowner == llGetOwner())
- {
- list commands = llParseString2List(msg,["||"],[""]);
- integer execute = 0;
- integer length = llGetListLength(commands);
- //llOwnerSay(msg);
- for(;execute < length; execute+=2)
- {
- string cmd = llToLower(llList2String(commands,execute));
- string value =llList2String(commands,execute+1);
- if(cmd == "blur")
- {
- llOwnerSay("@setdebug_RenderResolutionDivisor:"+value+"=force");
- }
- if(cmd == "hideloc")
- {
- if(value = "1")
- {
- llOwnerSay("@showworldmap=y,showminimap=y,showloc=y");
- }
- else
- {
- llOwnerSay("@showworldmap=n,showminimap=n,showloc=n");
- }
- }
- if(cmd == "hidenames")
- {
- if(value == "1")
- {
- llOwnerSay("@shownames=n");
- }
- else
- {
- llOwnerSay("@shownames=y");
- }
- }
- if(cmd == "skypreset")
- {
- llOwnerSay("@setenv_preset:"+value+"=force");
- }
- if(cmd = "skytime")
- {
- llOwnerSay("@setenv_daytime:"+value+"=force");
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement