That is indeed very old c-script syntax, as trace_mode and trace got replaced by c_trace, and ent_move replaced by c_move. Although your code MIGHT be working with the latest version of A6 (although I doubt that), then it is because it's backward-compatible, as it's using outdated c-script syntax
Also "pos" is outdated in c-script - you can just use "my.x" to get the position vector of the "my"-entity.
For some reason "temp" doesn't exist anymore in Lite-C, and it annoys me a lot as well - but "target" and "normal" can still be used, so simply just replace temp with target.
You should check the manual: Contents -> Game Programming -> C-Script to Lite-C
Oh, and about your code:
action my_player
{
while (1)
{
vec_set (camera.x, my.x);
camera.pan = my.pan;
camera.tilt += 6 * mouse_force.y * time_step;
my.pan -= 10 * mouse_force.x * time_step;
vec_set (target, my.x);
target.z -= 1000;
target.z = -c_trace(my.x,target,IGNORE_ME |IGNORE_PASSABLE | USE_BOX);
target.x = 8 * (key_w - key_s) * time_step;
target.y = 6 * (key_a - key_d) * time_step;
c_move (my,target, nullvector,IGNORE_PASSABLE | GLIDE);
wait (1);
}
}
Edit: Oh, and "time" got renamed to "time_step"