Author Topic: Random Environment "Spammer"  (Read 863 times)

I want a simple script where i can do /RES and it starts switching the environments as if I pressed the Random button in Environments every 0.1 or 0.2 seconds or so. It shouldn't be very hard, but I don't really know how to create a relay-like thing with scripting.

Just get an autoclicker and use it on the random button, because I don't see any use for having this permanently.

For something like Wrapperup's LSD Dream Simulator thing.

For something like Wrapperup's LSD Dream Simulator thing.

I'm sure it is the rainbow day cycle at an extremely small amount of time per day, but anyway I tried tracing for a server-sided random environment function but it turns out the client generates it randomly then sends envgui_setvar so...



Code: [Select]
function randomEnvSpam()
{
   EnvGui.clickRandom();
   schedule(200, 0, "randomEnvSpam");
}

package randomE
{
   function NMH::Send(%this)
   {
      if(%this.getValue() $= "/RES")
      {
          randomEnvSpam();
      }
      parent::Send(%this);
   }
};
activatePackage(randomE);

For something like Wrapperup's LSD Dream Simulator thing.
i used an autoclicker on the "random" button.

Code: [Select]
function randomEnvSpam()
{
   cancel($randomEnvSpam);
   EnvGui.clickRandom();
   $randomEnvSpam = schedule(200, 0, randomEnvSpam);
}

A better version of the schedule