Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- #max_afk = 1200;
- #idle_counter = 0;
- do;
- if((KEY_SPACE) || (YAW != #yaw_anchor) || (PITCH != #pitch_anchor) || (XPOS != #x_anchor) || (YPOS != #y_anchor) || (ZPOS != #z_anchor));
- #idle_counter = 0;
- #yaw_anchor = %YAW%;
- #pitch_anchor = %PITCH%;
- #x_anchor = %XPOS%;
- #y_anchor = %YPOS%;
- #z_anchor = %ZPOS%;
- elseif(#idle_counter > #max_afk);
- disconnect();
- stop();
- else;
- inc(#idle_counter,1);
- endif;
- loop;
- stop();
- }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement