2022-09-18 21:20:04 +00:00
|
|
|
local wea_c = worldeditadditions_core
|
|
|
|
local Vector3 = wea_c.Vector3
|
|
|
|
|
2021-03-09 19:05:03 +00:00
|
|
|
-- ███████ ██████ ██████ ██
|
|
|
|
-- ██ ██ ██ ██ ██
|
|
|
|
-- ███████ ██ ██ ██ ██
|
|
|
|
-- ██ ██ ██ ██ ██
|
|
|
|
-- ███████ ██████ ██████ ███████
|
2022-05-19 21:10:09 +00:00
|
|
|
worldeditadditions_core.register_command("scol", {
|
2024-09-13 17:47:42 +00:00
|
|
|
params = "None",
|
|
|
|
description = "Deprecated.",
|
|
|
|
privs = { worldedit = true },
|
2021-03-09 19:05:03 +00:00
|
|
|
require_pos = 1,
|
|
|
|
parse = function(params_text)
|
2024-09-13 17:47:42 +00:00
|
|
|
return params_text
|
2021-03-09 19:05:03 +00:00
|
|
|
end,
|
2024-09-13 17:47:42 +00:00
|
|
|
func = function(name, paramtext)
|
|
|
|
return false, "DEPRECATED: please use //srel instead..."
|
2021-03-09 19:05:03 +00:00
|
|
|
end,
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Tests
|
|
|
|
-- /multi //fp set1 -63 19 -20 //scol 5
|
|
|
|
|
|
|
|
-- lua print(worldedit.player_axis(myname))
|
|
|
|
-- tonumber(('y1'):gsub('[xyz]',''):sub(1,2))
|