User:Allen Kerensky/Myriad Lite Preview 5/SFX Client

From OpenSimulator

< User:Allen Kerensky | Myriad Lite Preview 5(Difference between revisions)
Jump to: navigation, search
(created)

Revision as of 11:05, 6 February 2012

Myriad Lite SFX Client

Myriad_Lite_SFX_Client-v0.0.0-20111008.lsl

// Myriad_Lite_SFX_Client-v0.0.0-20111008.lsl
// The Myriad RPG System was designed, written, and illustrated by Ashok Desai
// Myriad RPG licensed under the Creative Commons Attribution 2.0 UK: England and Wales
// http://creativecommons.org/licenses/by/2.0/uk/
// Myriad Lite software Copyright (c) 2011 by Allen Kerensky (OSG/SL)
// Myriad Lite licensed under the
// Creative Commons Attribution-Share Alike-Non-Commercial 3.0 Unported
// http://creativecommons.org/licenses/by-nc-sa/3.0/

integer dynchan;
default {
    state_entry() {
        llSetText("Client: Effects",<1,1,1>,1);
        dynchan = (integer)("0x"+llGetSubString((string)llGetKey(),0,6));
        llListen(dynchan,"",NULL_KEY,"");
        llListen(-999,"",NULL_KEY,"");    
        llRegionSay(-999,"LIST_EFFECTS");
    }
    
    touch_start(integer touched) {
        touched = 0; // LSLINT
        llRegionSay(-999,"LIST_EFFECTS");    
        llRegionSay(-999,"GET_EFFECT|Artery Strike");
        llRegionSay(-999,"GET_EFFECT|Autofire Master");
        llRegionSay(-999,"GET_EFFECT|Crippling Blow");
        llRegionSay(-999,"GET_EFFECT|Guns Akimbo");
        llRegionSay(-999,"GET_EFFECT|Hard as Nails");
        llRegionSay(-999,"GET_EFFECT|Hawkeye");
        llRegionSay(-999,"GET_EFFECT|Knockback");
        llRegionSay(-999,"GET_EFFECT|Multiple Strike");
        llRegionSay(-999,"GET_EFFECT|Power Strike");
        llRegionSay(-999,"GET_EFFECT|Superior Throw");
        llRegionSay(-999,"GET_EFFECT|Aura of Terror");
        llRegionSay(-999,"GET_EFFECT|Change the Subject");
        llRegionSay(-999,"GET_EFFECT|Husky Tones");
        llRegionSay(-999,"GET_EFFECT|The Perfect Lie");
        llRegionSay(-999,"GET_EFFECT|Witticism");
        llRegionSay(-999,"GET_EFFECT|Aspect");
        llRegionSay(-999,"GET_EFFECT|Counter-Spell");
        llRegionSay(-999,"GET_EFFECT|Damage");
        llRegionSay(-999,"GET_EFFECT|Duration");
        llRegionSay(-999,"GET_EFFECT|Heal");
        llRegionSay(-999,"GET_EFFECT|Illusion");
        llRegionSay(-999,"GET_EFFECT|Incapacitate");
        llRegionSay(-999,"GET_EFFECT|Motion");
        llRegionSay(-999,"GET_EFFECT|Range");
        llRegionSay(-999,"GET_EFFECT|Rapid Fire");
        llRegionSay(-999,"GET_EFFECT|Seeking");
        llRegionSay(-999,"GET_EFFECT|Shield");
        llRegionSay(-999,"GET_EFFECT|City Driver");
        llRegionSay(-999,"GET_EFFECT|Head 'Em Off");
        llRegionSay(-999,"GET_EFFECT|Mighty Leap");
        llRegionSay(-999,"GET_EFFECT|Peel Out");
        llRegionSay(-999,"GET_EFFECT|Ram Master");
        llRegionSay(-999,"GET_EFFECT|Strafing Attack");
        llRegionSay(-999,"GET_EFFECT|Two Wheeler");        
        llRegionSay(-999,"GET_EFFECT|Xyzzy");    
    }
    
    listen(integer channel,string name,key id,string msg) {
        name = ""; // LSLINT
        id = NULL_KEY; // LSLINT
        if ( llSubStringIndex(msg,"EFFECT") >= 0 ) {
            llSay(PUBLIC_CHANNEL,(string)channel+": "+msg);
        }
    }
}

Personal tools
General
About This Wiki