yes, that script is just simple and sureley needs to be improved, however i was just trying to give you a simple idea. You could make a bool variable IF the player is moving and only then sending the new position data.
You see, i was just giving you the baasic idea, what was what you asked for, but i see you are getting the things pretty fast
Code:
while(1)
{
if(player.moving)
{
vec_set(player2.x,player.x); // set the player2 position to the actual player position
send_skill(player2.x,send_vec); // send_vec to send the 2 following skills aswell
// player2.x, .y and .z
wait(3); // wait 3 frames to save bandwidth
}
else
{
wait(1);
}
}