forgot to format descriptions correctly, also fixed ::anims

This commit is contained in:
psyopcutie 2026-07-20 20:08:31 +02:00
parent e590dd42b6
commit 27da635075

View file

@ -35,7 +35,7 @@ class AnimationCommandSet : CommandSet(Privilege.ADMIN) {
player.animate(animation)
}
define("anims", Privilege.ADMIN, "::anims <From Animation ID> <To Animation ID> <(opt) Duration Per Animation>", "Plays animations from the From ID to the To ID, with a delay of 3 between animations, unless specified otherwise"){ player, args ->
define("anims", Privilege.ADMIN, "::anims <lt>From Animation ID<gt> <lt>To Animation ID<gt> <lt>(opt) Duration Per Animation<gt>", "Plays animations from the From ID to the To ID, with a delay of 3 between animations, unless specified otherwise"){ player, args ->
if (args.size < 3) {
reject(player, "Syntax error: ::anims <From Animation ID> <To Animation ID> <(opt) Duration Per Animation>")
@ -58,7 +58,7 @@ class AnimationCommandSet : CommandSet(Privilege.ADMIN) {
}
/** Same as ::anims but only plays animations compatible with the player/humanoid skeleton. */
define("panims", Privilege.ADMIN, "::panims <From Animation ID> <To Animation ID> <(opt) Duration Per Animation>", "Same as ::anims but only plays animations compatible with the player/humanoid skeleton."){ player, args ->
define("panims", Privilege.ADMIN, "::panims <lt>From Animation ID<gt> <lt>To Animation ID<gt> <lt>(opt) Duration Per Animation<gt>", "Same as ::anims but only plays animations compatible with the player/humanoid skeleton."){ player, args ->
if (args.size < 3) {
reject(player, "Syntax error: ::panims <From Animation ID> <To Animation ID> <(opt) Duration Per Animation>")
@ -87,7 +87,7 @@ class AnimationCommandSet : CommandSet(Privilege.ADMIN) {
}
/** Cycles animations on an interface child. */
define("ianims", Privilege.ADMIN, "::ianims <Interface ID> <Child ID> <From Animation ID> <To Animation ID> <(opt) Duration>", "Cycles animations on an interface child.") { player, args ->
define("ianims", Privilege.ADMIN, "::ianims <lt>Interface ID<gt> <lt>Child ID<gt> <lt>From Animation ID<gt> <lt>To Animation ID<gt> <lt>(opt) Duration<gt>", "Cycles animations on an interface child.") { player, args ->
if (args.size !in 4..6) {
reject(player, "Syntax error: ::ianims <Interface ID> <Child ID> <From Animation ID> <To Animation ID> <(opt) Duration>")
}