There is one problem with this script. It does not check vcmp.cmdcheck so you cannot put a restriction on what level players are allowed to use it.
Like this:
}
elseif ($2 == !getall) {
if ($vcmp.cmdcheck(!getall,%id) == fail) !halt
vcmp.say Getting all players to Admin %name
var %a = 0
while (%a < 20) {
if ($vcmp.name(%a) != Unknown) vcmp.setlocation %a $vcmp.location(%id)
!inc %a
}
Only you must add !getall to vcmp.cmdlevel.ini and then put the minimum level of players that are allowed to use it.