mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-28 05:45:10 -06:00
forgot to format descriptions correctly, also fixed ::anims
This commit is contained in:
parent
e590dd42b6
commit
27da635075
1 changed files with 3 additions and 3 deletions
|
|
@ -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>")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue