Jump to content

Recommended Posts

Posted

is there a method to change the duration of the event? i have an stroker and its only moving for like 3 seconds then a second stop and then again.

  • 3 weeks later...
Posted

https://xtoys.app/scripts/-P3BSbTllVIp4L0YFOnH

 

Re-upload of the XToys script.

 

If this ever goes down and XToys is still about, you can import it with this code:


{
  "initialActions": [
    {
      "type": "updateVariable",
      "value": "Started",
      "variable": "debug"
    },
    {
      "job": "stop_all",
      "type": "updateJob",
      "action": "start",
      "restart": true
    }
  ],
  "finalActions": [
    {
      "type": "updateVariable",
      "value": "Stopped",
      "variable": "debug"
    },
    {
      "type": "updateComponent",
      "action": "setVolume",
      "channel": "part-estim-a",
      "rampTime": 0,
      "percentVolume": "0"
    },
    {
      "type": "updateComponent",
      "action": "setVolume",
      "channel": "part-estim-b",
      "rampTime": 0,
      "percentVolume": "0"
    },
    {
      "type": "updateComponent",
      "action": "setVolume",
      "channel": "generic-1-a",
      "rampTime": 0,
      "percentVolume": "0"
    },
    {
      "type": "updateComponent",
      "action": "setVolume",
      "channel": "generic-1-b",
      "rampTime": 0,
      "percentVolume": "0"
    },
    {
      "type": "updateComponent",
      "action": "setVolume",
      "channel": "generic-1-c",
      "rampTime": 0,
      "percentVolume": "0"
    },
    {
      "type": "updateComponent",
      "action": "setVolume",
      "channel": "generic-1-d",
      "rampTime": 0,
      "percentVolume": "0"
    }
  ],
  "globalTriggers": [
    {
      "type": "componentState",
      "action": "vib_clit",
      "actions": [
        {
          "type": "updateVariable",
          "value": "{trigger-time}",
          "variable": "vib_clit_time"
        },
        {
          "type": "updateVariable",
          "value": "{trigger-intensity}",
          "variable": "vib_clit_intensity"
        },
        {
          "job": "vib_clit_job",
          "type": "updateJob",
          "action": "start",
          "restart": true
        }
      ],
      "channel": "webhook-a",
      "parsedAction": "vib_clit"
    },
    {
      "type": "componentState",
      "action": "vib_nipple",
      "actions": [
        {
          "type": "updateVariable",
          "value": "{trigger-time}",
          "variable": "vib_nipple_time"
        },
        {
          "type": "updateVariable",
          "value": "{trigger-intensity}",
          "variable": "vib_nipple_intensity"
        },
        {
          "job": "vib_nipple_job",
          "type": "updateJob",
          "action": "start",
          "restart": true
        }
      ],
      "channel": "webhook-a",
      "parsedAction": "vib_nipple"
    },
    {
      "type": "componentState",
      "action": "vib_vaginal",
      "actions": [
        {
          "type": "updateVariable",
          "value": "{trigger-time}",
          "variable": "vib_vaginal_time"
        },
        {
          "type": "updateVariable",
          "value": "{trigger-intensity}",
          "variable": "vib_vaginal_intensity"
        },
        {
          "job": "vib_vaginal_job",
          "type": "updateJob",
          "action": "start",
          "restart": true
        }
      ],
      "channel": "webhook-a",
      "parsedAction": "vib_vaginal"
    },
    {
      "type": "componentState",
      "action": "vib_anal",
      "actions": [
        {
          "type": "updateVariable",
          "value": "{trigger-time}",
          "variable": "vib_anal_time"
        },
        {
          "type": "updateVariable",
          "value": "{trigger-intensity}",
          "variable": "vib_anal_intensity"
        },
        {
          "job": "vib_anal_job",
          "type": "updateJob",
          "action": "start",
          "restart": true
        }
      ],
      "channel": "webhook-a",
      "parsedAction": "vib_anal"
    },
    {
      "type": "componentState",
      "action": "shock_a",
      "actions": [
        {
          "type": "updateVariable",
          "value": "{trigger-time}",
          "variable": "shock_a_time"
        },
        {
          "type": "updateVariable",
          "value": "{trigger-intensity}",
          "variable": "shock_a_intensity"
        },
        {
          "job": "shock_A_job",
          "type": "updateJob",
          "action": "start",
          "restart": true
        }
      ],
      "channel": "webhook-a",
      "parsedAction": "shock_a"
    },
    {
      "type": "componentState",
      "action": "shock_b",
      "actions": [
        {
          "type": "updateVariable",
          "value": "{trigger-time}",
          "variable": "shock_b_time"
        },
        {
          "type": "updateVariable",
          "value": "{trigger-intensity}",
          "variable": "shock_b_intensity"
        },
        {
          "job": "shock_B_job",
          "type": "updateJob",
          "action": "start",
          "restart": true
        }
      ],
      "channel": "webhook-a",
      "parsedAction": "shock_b"
    },
    {
      "type": "componentState",
      "action": "stop",
      "actions": [
        {
          "job": "stop_all",
          "type": "updateJob",
          "action": "start",
          "restart": true
        }
      ],
      "channel": "webhook-a",
      "parsedAction": "stop"
    }
  ],
  "jobs": {
    "stop_all": {
      "steps": {
        "START": {
          "actions": [
            {
              "job": "shock_A_job",
              "step": "STOP",
              "type": "updateJob",
              "action": "goTo"
            },
            {
              "job": "shock_B_job",
              "step": "STOP",
              "type": "updateJob",
              "action": "goTo"
            },
            {
              "job": "vib_anal_job",
              "step": "STOP",
              "type": "updateJob",
              "action": "goTo"
            },
            {
              "job": "vib_clit_job",
              "step": "STOP",
              "type": "updateJob",
              "action": "goTo"
            },
            {
              "job": "vib_nipple_job",
              "step": "STOP",
              "type": "updateJob",
              "action": "goTo"
            },
            {
              "job": "vib_vaginal_job",
              "step": "STOP",
              "type": "updateJob",
              "action": "goTo"
            },
            {
              "job": "stop_all",
              "type": "updateJob",
              "action": "stop"
            }
          ],
          "triggers": []
        }
      }
    },
    "shock_A_job": {
      "steps": {
        "STOP": {
          "actions": [
            {
              "type": "updateComponent",
              "action": "setVolume",
              "channel": "part-estim-a",
              "rampTime": 0,
              "percentVolume": "0"
            },
            {
              "job": "shock_A_job",
              "type": "updateJob",
              "action": "stop"
            }
          ],
          "triggers": []
        },
        "START": {
          "actions": [
            {
              "type": "updateComponent",
              "action": "setVolume",
              "channel": "part-estim-a",
              "rampTime": 0,
              "percentVolume": "{shock_a_intensity}"
            }
          ],
          "triggers": [
            {
              "type": "timer",
              "amount": "{shock_a_time}",
              "actions": [
                {
                  "job": "shock_A_job",
                  "step": "STOP",
                  "type": "updateJob",
                  "action": "goTo"
                }
              ],
              "parsedAmount": 8
            }
          ]
        }
      }
    },
    "shock_B_job": {
      "steps": {
        "STOP": {
          "actions": [
            {
              "type": "updateComponent",
              "action": "setVolume",
              "channel": "part-estim-b",
              "rampTime": 0,
              "percentVolume": "0"
            },
            {
              "job": "shock_B_job",
              "type": "updateJob",
              "action": "stop"
            }
          ],
          "triggers": []
        },
        "START": {
          "actions": [
            {
              "type": "updateComponent",
              "action": "setVolume",
              "channel": "part-estim-b",
              "rampTime": 0,
              "percentVolume": "{shock_b_intensity}"
            }
          ],
          "triggers": [
            {
              "type": "timer",
              "amount": "{shock_b_time}",
              "actions": [
                {
                  "job": "shock_B_job",
                  "step": "STOP",
                  "type": "updateJob",
                  "action": "goTo"
                }
              ],
              "parsedAmount": 5
            }
          ]
        }
      }
    },
    "vib_anal_job": {
      "steps": {
        "STOP": {
          "actions": [
            {
              "type": "updateComponent",
              "action": "setVolume",
              "channel": "generic-1-d",
              "rampTime": 0,
              "percentVolume": "0"
            },
            {
              "job": "vib_anal_job",
              "type": "updateJob",
              "action": "stop"
            }
          ]
        },
        "START": {
          "actions": [
            {
              "type": "updateComponent",
              "action": "setVolume",
              "channel": "generic-1-d",
              "rampTime": 0,
              "percentVolume": "{vib_anal_intensity}"
            }
          ],
          "triggers": [
            {
              "type": "timer",
              "amount": "{vib_anal_time}",
              "actions": [
                {
                  "job": "vib_anal_job",
                  "step": "STOP",
                  "type": "updateJob",
                  "action": "goTo"
                }
              ],
              "parsedAmount": 8
            }
          ]
        }
      }
    },
    "vib_clit_job": {
      "steps": {
        "STOP": {
          "actions": [
            {
              "type": "updateComponent",
              "action": "setVolume",
              "channel": "generic-1-a",
              "rampTime": 0,
              "percentVolume": "0"
            },
            {
              "job": "vib_clit_job",
              "type": "updateJob",
              "action": "stop"
            }
          ],
          "triggers": []
        },
        "START": {
          "actions": [
            {
              "type": "updateComponent",
              "action": "setVolume",
              "channel": "generic-1-a",
              "rampTime": 0,
              "percentVolume": "{vib_clit_intensity}"
            }
          ],
          "triggers": [
            {
              "type": "timer",
              "amount": "{vib_clit_time}",
              "actions": [
                {
                  "job": "vib_clit_job",
                  "step": "STOP",
                  "type": "updateJob",
                  "action": "goTo"
                }
              ],
              "parsedAmount": 9
            }
          ]
        }
      }
    },
    "vib_nipple_job": {
      "steps": {
        "STOP": {
          "actions": [
            {
              "type": "updateComponent",
              "action": "setVolume",
              "channel": "generic-1-b",
              "rampTime": 0,
              "percentVolume": "0"
            },
            {
              "job": "vib_nipple_job",
              "type": "updateJob",
              "action": "stop"
            }
          ]
        },
        "START": {
          "actions": [
            {
              "type": "updateComponent",
              "action": "setVolume",
              "channel": "generic-1-b",
              "rampTime": 0,
              "percentVolume": "{vib_nipple_intensity}"
            }
          ],
          "triggers": [
            {
              "type": "timer",
              "amount": "{vib_nipple_time}",
              "actions": [
                {
                  "job": "vib_nipple_job",
                  "step": "STOP",
                  "type": "updateJob",
                  "action": "goTo"
                }
              ],
              "parsedAmount": 5
            }
          ]
        }
      }
    },
    "vib_vaginal_job": {
      "steps": {
        "STOP": {
          "actions": [
            {
              "type": "updateComponent",
              "action": "setVolume",
              "channel": "generic-1-c",
              "rampTime": 0,
              "percentVolume": "0"
            },
            {
              "job": "vib_vaginal_job",
              "type": "updateJob",
              "action": "stop"
            }
          ]
        },
        "START": {
          "actions": [
            {
              "type": "updateComponent",
              "action": "setVolume",
              "channel": "generic-1-c",
              "rampTime": 0,
              "percentVolume": "{vib_vaginal_intensity}"
            }
          ],
          "triggers": [
            {
              "type": "timer",
              "amount": "{vib_vaginal_time}",
              "actions": [
                {
                  "job": "vib_vaginal_job",
                  "step": "STOP",
                  "type": "updateJob",
                  "action": "goTo"
                }
              ],
              "parsedAmount": 7
            }
          ]
        }
      }
    }
  },
  "queues": [],
  "channels": {
    "webhook-a": {
      "name": "Webhook",
      "type": "webhook",
      "outbound": false,
      "hideWebhookInfo": false
    },
    "generic-1-a": {
      "name": "Clit",
      "type": "generic-1"
    },
    "generic-1-b": {
      "name": "Nipples",
      "type": "generic-1"
    },
    "generic-1-c": {
      "name": "Vaginal",
      "type": "generic-1"
    },
    "generic-1-d": {
      "name": "Anal",
      "type": "generic-1"
    },
    "part-estim-a": {
      "name": "Chanel A",
      "type": "part-estim"
    },
    "part-estim-b": {
      "name": "Chanel B",
      "type": "part-estim"
    }
  },
  "controls": [],
  "controlPresets": [],
  "media": {
    "audio": {},
    "voices": {},
    "patterns": {}
  },
  "customFunctions": ""
}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...