Skip to content

Instantly share code, notes, and snippets.

@jfmherokiller
Last active October 25, 2019 18:07
Show Gist options
  • Save jfmherokiller/480a8cda1e36605e71143c8146733d6f to your computer and use it in GitHub Desktop.
Save jfmherokiller/480a8cda1e36605e71143c8146733d6f to your computer and use it in GitHub Desktop.
PuddlePantsProjectArrousalAddon
key ownerID;
integer currentState;
integer addOnChannel;
integer BaseChannel;
integer generateChan(key id) {
return 0x80000000 | ((integer)("0x"+(string)id) ^ 121111);
}
runOgasmCheck() {
if(coin_toss()) {
llSay(BaseChannel,"Get❤Soggy");
llSay(BaseChannel,"Get❤Stinky");
}
}
integer coin_toss()
{
if (llFrand(1.0) < 0.5) return TRUE;
return FALSE;
}
default {
state_entry() {
ownerID = llGetOwner();
BaseChannel = generateChan(llGetOwner());
}
link_message(integer sender_number, integer number, string message, key id) {
list args = llParseString2List(message,["|"], ["eaharag"]);
string arousal = llList2String(args, 0);
string command = llList2String(args, 1);
if (arousal == "arousal" + (string)ownerID) {
if (command == "orgasmEnd" || command == "superOrgasmEnd") runOgasmCheck();
}
}
}
key owner;
integer addOnChannel;
integer addOnChannelHandle;
integer toggleChannelHandle;
string last_anim;
integer generateChan(key id) {
return 0x80000000 | ((integer)("0x"+(string)id) ^ 121111);
}
integer generateAddOnChan(key id) {
return generateChan(id) + 8;
}
default
{
state_entry() {
owner = llGetOwner();
addOnChannel = generateAddOnChan(owner);
addOnChannelHandle = llListen(addOnChannel, "", "", "");
//llOwnerSay("Say /10 squish to toggle squishing.");
}
attach(key id) {
if(id) {
owner = id;
addOnChannel = generateAddOnChan(owner);
addOnChannelHandle = llListen(addOnChannel, "", "", "");
//llOwnerSay("Say /10 squish to toggle squishing.");
} else {
llListenRemove(addOnChannelHandle);
}
}
changed(integer change) {
if((change & CHANGED_OWNER) || (change & CHANGED_INVENTORY)) {
llResetScript();
//llOwnerSay("reset");
}
}
listen(integer chan, string name, key id, string msg) {
if(chan == addOnChannel) {
string avatar = (string)llGetOwner();
list keyval = llCSV2List(msg);
string detectedEvent = llList2String(keyval, 0);
string value = llList2String(keyval, 1);
if(~llListFindList(["Plugged", "Self Unplugged", "Self Plugged", "Self Enema Plugged", "Self Enema Unplugged", "Enema Plugged", "Unplugged", "Tickle Fail", "Rub Fail", "Diuretic Given", "Laxative Given", "Enema Started", "Diaper Wet", "Tickle Success", "Plugged Mess", "Diaper Messed", "Rub Success", "Checked", "Changed", "Enema Release", "Enema Unplugged Release", "Enema Update", "Locked", "Unlocked", "Spanked", "Raspberried", "Wedgied"], [detectedEvent])) {
if (detectedEvent == "Diaper Wet") {
llMessageLinked(LINK_SET,0,"caeilarousalup"+avatar+"|50|penis","");
llMessageLinked(LINK_SET,0,"caeilarousalup"+avatar+"|50|vagina","");
} else if(detectedEvent == "Diaper Messed") {
llMessageLinked(LINK_SET,0,"caeilarousalup"+avatar+"|75|anus","");
} else if(detectedEvent == "Wedgied") {
llMessageLinked(LINK_SET,0,"caeilarousalup"+avatar+"|80|butt","");
} else if (detectedEvent == "Spanked") {
llMessageLinked(LINK_SET,0,"caeilarousalup"+avatar+"|30|butt","");
}
}
}
}
}
//: This script was generated by the Master Particle Studio HUD v11.6 on 2019-10-25.
ParticleEngine(string xTexture)
{
//: Particle Mask
integer flags = 0 | PSYS_PART_INTERP_COLOR_MASK | PSYS_PART_INTERP_SCALE_MASK;
//: Particle Engine
llParticleSystem([
PSYS_PART_FLAGS , flags, PSYS_SRC_PATTERN, 1, PSYS_SRC_TEXTURE, xTexture,
PSYS_SRC_MAX_AGE, 1.000000, PSYS_PART_MAX_AGE, 1.000000, PSYS_SRC_BURST_RATE, 0.000000, PSYS_SRC_BURST_PART_COUNT, 2,
PSYS_SRC_BURST_RADIUS, 0.000000, PSYS_SRC_BURST_SPEED_MIN, 0.000000, PSYS_SRC_BURST_SPEED_MAX, 0.000000, PSYS_SRC_ACCEL, <0.00000, 0.00000, -24.50000>,
PSYS_PART_START_COLOR, <0.96132, 0.78497, 0.00832>, PSYS_PART_END_COLOR, <1.00000, 1.00000, 1.00000>,
PSYS_PART_START_ALPHA, 0.042373, PSYS_PART_END_ALPHA, 0.000000,
PSYS_PART_START_SCALE, <0.30000, 0.30000, 2.00000>, PSYS_PART_END_SCALE, <0.30000, 0.30000, 5.00000>,
PSYS_SRC_ANGLE_BEGIN, 0.000000, PSYS_SRC_ANGLE_END, 0.000000, PSYS_SRC_OMEGA, <-24.00000, -24.50000, -24.50000>]);
}
//: Particle State (Default)
string particle_texture = "a9ee4f1f-c115-7834-6483-2e150ce6621e";
default
{
state_entry(){
ParticleEngine(particle_texture);
llSetTimerEvent(0.200000);
}
timer(){ ParticleEngine(particle_texture);}
}
//: Particle State (Off)
state off{
state_entry(){llParticleSystem([]);}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment