mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
feat (core/cs): Make .go xyz ignore non-numeric data to improve copy-paste usability (#17772)
* Flexible `.go xyz` working well with existing syntax order. * Make `.go xyz` ignore non-numeric characters * Support values separated by something other than a space. * Use current player orientation instead of `0.0f` * Rename `inputCoords` to `args` per request.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- Update `.go xyz` syntax
|
||||
DELETE FROM `command` WHERE `name`='go xyz';
|
||||
INSERT INTO `command` (`name`, `security`, `help`) VALUES
|
||||
('go xyz', 1, '\rSyntax: .go xyz #x #y [#z [#mapid [#orientation]]]\r\rTeleport player to point with (#x,#y,#z) coordinates at map #mapid with orientation #orientation.\r\rIf #z is not provided, ground/water level will be used. If #mapid is not provided, the current map will be used. If #orientation is not provided, the current orientation will be used.\r\rNon-numbers are allowed and will be ignored.');
|
||||
Reference in New Issue
Block a user