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IU/BSiWE9XmefHU4FfDZw6KPadWQaOaRjoOb7nvOAAOfITa1WOIFZ7I0jdeAZ7H67cGmwe/d3d61DBnGNT0Q8OZZ2qsdicIeL1dbfq2M9dpfTgDUsh1Stcm40/gb49ghy5shmCvmlqqLHUDfEsY57nIuljij6XpVZg5zIIeNGLV8V3ENjFGQGb2bOqEm9lhY6vPFeF1ALkppWaiJ4zgdElelJlYWshkt29sD1EEUCBzqRwzqYK3IsdwvZjKBWma0AahDi2Vl7eZtc19Bv866cI/yCi+d9caaCEyxrscn2RJkmhYV2vEiDUtPGfaJKaYCiMfAPah34WXKxVjfJiyRGtnU8OTc6N6FYMXOoY87bmJdarWJSxKYdHRM7FwmrJ3VU8E1BskDA5h+9/qPXZ70+14RlL9U+6G0OfN58IWGRl0oNgj4LTSxV/F/nE7RPlcKK/3UN3z0NKuyY2sG2IIaFdgLmiu6rEnfhxz3+yvClKpW6x+I444UMR2aOJeASB2PDaf4s64kT2bU6UDcwn6yTj3We5cKcOpbDFbVZ4QGcE4W/+2vZuVThwLBdaJCXr2+xKx/p0WD/ksN5VegetFJvK5wVRbsF+Pg25ESnSDY5GAcdNKAGzBS1PDjXQEOgD+XiGhrLSczyelvDZWPfhC9UoyjSNWepnWwL0zMvmAa/lPpachW0SyVi4uUinAs1XBFqqYFtFWcA0/NC56rnW6Hn7EyDPDnKNIMc3OFV2bzI5PBykp2/C+7F+63OUabRtZie94VHOEX8JETjQo/Ptf2Tg0zPjPfaf5bWl2+Rq5r7iUnRc2xd+M5wvM0+f766NyRb34ujhNAPLg7Yp24+37nb24tN5bLHIRf++0KD43vdRrvbFRqCh90GavW7QEnPR37/yvHBJ0HIjHJPXH1klycMjMD+6iPnK1vtkliMfHBRLCFusH9kji69P86PX6+vaTJzUVySvlZvd5S6Serjymg5WBgqZ5ZX2MpSWBZFcGs8z//xP11ecIFaDwAA
Installation
In Streamer.bot in select Import
from the top left.
Copy the Import Code
and paste it into the Import String
.
Once imported check that the code inside does compiles ( if it doesn’t compile reach out in discord).
To add this to an action you are going to need 3 new Sub-Actions at the top of any of your heat actions.
A Heat Cooldown Set Args, A Cooldown Name Set Args and an Execute Method. It should look something like this.
Here is a small breakdown of each action.
This is how long you want the cooldown to be in Seconds.
This is the Name of the cooldown, if you want multiple actions in the same cooldown just add the same name.
This will trigger the cooldown check, Select User or Global depending on which cooldown you want.
Below these 3 Sub-Actions is where you will put the rest of Sub-Actions.
Remember the 3 Sub-Actions Listed Above MUST be at the top of the action.
NOTE: An Action can only have either a USER or GLOBAL Cooldown.
If a user hasn’t granted access to heat when they click, they will be declared as Someone
. Any Action with a cooldown can not be triggered by a Someone
. If a Someone
tries to trigger an action it will be ignored.