finish deprecation

This commit is contained in:
VorTechnix 2024-09-13 10:47:42 -07:00
parent 12747f6524
commit d1c4f9bd19
No known key found for this signature in database
GPG key ID: 091E91A69545D5BA
3 changed files with 16 additions and 16 deletions

View file

@ -7,15 +7,15 @@ local Vector3 = wea_c.Vector3
-- ██ ██ ██ ██ ██
-- ███████ ██████ ██████ ███████
worldeditadditions_core.register_command("scol", {
params = "[<axis1>] <length>",
description = "Set WorldEdit region position 2 at a set distance along 1 axis.",
privs = {worldedit=true},
params = "None",
description = "Deprecated.",
privs = { worldedit = true },
require_pos = 1,
parse = function(params_text)
-------------------------
return params_text
end,
func = function(name)
return true, "DEPRECATED: please use //srel instead..."
func = function(name, paramtext)
return false, "DEPRECATED: please use //srel instead..."
end,
})

View file

@ -7,15 +7,15 @@ local Vector3 = wea_c.Vector3
-- ██ ██ ██ ██ ██ ██ ██
-- ███████ ██████ ██████ ██████ ███████
worldeditadditions_core.register_command("scube", {
params = "[<axis1> [<axis2> [<axis3>]]] <length>",
description = "Set WorldEdit region position 2 at a set distance along 3 axes.",
params = "None",
description = "Deprecated.",
privs = { worldedit = true },
require_pos = 1,
parse = function(params_text)
-------------------------
return params_text
end,
func = function(name)
return true, "DEPRECATED: please use //srel instead..."
func = function(name, paramtext)
return false, "DEPRECATED: please use //srel instead..."
end,
})

View file

@ -8,15 +8,15 @@ local Vector3 = wea_c.Vector3
-- ██ ██ ██ ██ ██ ██
-- ███████ ██ ██ ███████ ██████ ██
worldeditadditions_core.register_command("srect", {
params = "[<axis1> [<axis2>]] <length>",
description = "Set WorldEdit region position 2 at a set distance along 2 axes.",
params = "None",
description = "Deprecated.",
privs = { worldedit = true },
require_pos = 1,
parse = function(params_text)
-------------------------
return params_text
end,
func = function(name)
return true, "DEPRECATED: please use //srel instead..."
func = function(name, paramtext)
return false, "DEPRECATED: please use //srel instead..."
end,
})