> For the complete documentation index, see [llms.txt](https://streambuddies2.felineentity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://streambuddies2.felineentity.com/example-blueprints/jump-command.md).

# Jump Command

A blueprint that reacts to a Twitch chat command and makes a Buddy jump.

This blueprint checks if a Twitch Chat Message starts with "!jump" and then adds upwards to the Velocity of their Buddy. If their Buddy doesn't exist, nothing happens. The Jump strength is also randomized.&#x20;

<figure><img src="https://1693557609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7oowhN4HFDtKmcHKVKlT%2Fuploads%2Fiq2IzbQMZhy4ueKA6P0t%2Fimage.png?alt=media&amp;token=53f1f8e2-1a7f-4f0a-a111-6e6f189058d8" alt=""><figcaption></figcaption></figure>

Import code:

```json
{"id":"29f484a2-3c7c-44e4-ac0b-5187ceb632a0","enabled":true,"name":"Buddy Jump Command","order":0,"group":null,"panningX":909.3216,"panningY":566.001465,"scaling":1.15930748,"nodes":{"e1865ab6-d472-4537-a909-5f5bdf215e81":{"id":"e1865ab6-d472-4537-a909-5f5bdf215e81","dataInputs":{},"typeId":"a535e211-f347-4544-b211-2092c5ee1d88","name":"ON_TWITCH_CHANNEL_MESSAGE","x":-600.0,"y":-400.0},"c3cc379f-212e-45a7-8193-a8eef1e02266":{"id":"c3cc379f-212e-45a7-8193-a8eef1e02266","dataInputs":{"A":{"type":"string","value":"\"!jump\""},"B":{"type":"string","value":"\"!jump\""},"IgnoreCase":{"type":"bool","value":"true"}},"typeId":"db4feaf7-d746-48e2-baac-c27d9be87112","name":"STRING_STARTS_WITH","x":-300.0,"y":-200.0},"323cc8ee-7c53-4f4d-8736-de6d9d6b0188":{"id":"323cc8ee-7c53-4f4d-8736-de6d9d6b0188","dataInputs":{"Buddy":{"type":"PluginMods.StreamBuddies2.StructuredData.BuddyData","value":null},"Velocity":{"type":"UnityEngine.Vector3","value":"{\"x\":0.0,\"y\":3.0,\"z\":0.0}"},"Mode":{"type":"PluginMods.StreamBuddies2.Nodes.SetBuddyVelocityNode+VelMode","value":"{\"label\":\"Add\",\"value\":1,\"description\":null,\"icon\":null}"}},"typeId":"Feline.SetBuddy2VelocityNode","name":"Set Buddy Velocity","x":300.0,"y":-400.0},"7869aeaa-9bdc-4084-bc0b-b9af7784a0f6":{"id":"7869aeaa-9bdc-4084-bc0b-b9af7784a0f6","dataInputs":{"BuddyName":{"type":"string","value":"\"felineentity\""}},"typeId":"Feline.GetBuddy2ByNameNode","name":"Get Buddy By Name","x":0.0,"y":-100.0},"01bd6365-ca94-4e3e-bdfb-1d47ae453340":{"id":"01bd6365-ca94-4e3e-bdfb-1d47ae453340","dataInputs":{"Condition":{"type":"bool","value":"true"}},"typeId":"1b58a074-3c70-412e-ace4-0f12c3f7f16b","name":"IF_BRANCH","x":0.0,"y":-400.0},"c06939a8-18b4-4741-95be-10436ebcdec8":{"id":"c06939a8-18b4-4741-95be-10436ebcdec8","dataInputs":{"Mode":{"type":"Warudo.Plugins.Core.Nodes.GenerateRandomVector3Node+ModeType","value":"{\"label\":\"Within Bounding Box\",\"value\":0,\"description\":null,\"icon\":null}"},"ValueMin":{"type":"UnityEngine.Vector3","value":"{\"x\":0.0,\"y\":2.0,\"z\":0.0}"},"ValueMax":{"type":"UnityEngine.Vector3","value":"{\"x\":0.0,\"y\":5.0,\"z\":0.0}"},"SphereRadius":{"type":"float","value":"1.0"}},"typeId":"6fd17913-c526-4402-a857-30c585ae6254","name":"GENERATE_RANDOM_VECTOR3","x":5.46558237,"y":104.464157}},"dataConnections":[{"outputNode":"e1865ab6-d472-4537-a909-5f5bdf215e81","inputNode":"c3cc379f-212e-45a7-8193-a8eef1e02266","outputPort":"Message","inputPort":"A"},{"outputNode":"e1865ab6-d472-4537-a909-5f5bdf215e81","inputNode":"7869aeaa-9bdc-4084-bc0b-b9af7784a0f6","outputPort":"Username","inputPort":"BuddyName"},{"outputNode":"c3cc379f-212e-45a7-8193-a8eef1e02266","inputNode":"01bd6365-ca94-4e3e-bdfb-1d47ae453340","outputPort":"Result","inputPort":"Condition"},{"outputNode":"7869aeaa-9bdc-4084-bc0b-b9af7784a0f6","inputNode":"323cc8ee-7c53-4f4d-8736-de6d9d6b0188","outputPort":"Buddy","inputPort":"Buddy"},{"outputNode":"c06939a8-18b4-4741-95be-10436ebcdec8","inputNode":"323cc8ee-7c53-4f4d-8736-de6d9d6b0188","outputPort":"Result","inputPort":"Velocity"}],"flowConnections":[{"outputNode":"e1865ab6-d472-4537-a909-5f5bdf215e81","inputNode":"01bd6365-ca94-4e3e-bdfb-1d47ae453340","outputPort":"Exit","inputPort":"Enter"},{"outputNode":"01bd6365-ca94-4e3e-bdfb-1d47ae453340","inputNode":"323cc8ee-7c53-4f4d-8736-de6d9d6b0188","outputPort":"IfTrue","inputPort":"Enter"}],"properties":{"id":"dec80fb3-e60b-4bbf-a90b-05748309f8cf","dataInputs":{"Variables":{"type":"Warudo.Core.Graphs.GraphVariable[]","value":"[]"}}}}
```
