dont think you need %name should be:
alias vcmp.speed {
var %x = $vcmp.location($1,x),%y = $vcmp.location($1,y),%z = $vcmp.location($1,z),%a = $calc(%x - $2),%b = $calc(%y - $3),%c = $calc(%z - $4),%d = $round($sqrt($calc(%a * %a + %b * %b + %c * %c)),2)
vcmp.say $vcmp.name($1) - Speed: $round($calc(%d / 0.27777778),2) Kilometers Per Hour
if ($round($calc(%d / 0.27777778),2) > 200) {
vcmp.warn $1 Server To high speed
}
}
Note: UNTESTED!