From ae215aa0db43a9311b0ff08f64f6decd8029f98e Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Wed, 28 Dec 2022 00:05:24 -0600 Subject: [PATCH] Update IDEAS.md --- IDEAS.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/IDEAS.md b/IDEAS.md index 99a64b5c..5c4236f2 100644 --- a/IDEAS.md +++ b/IDEAS.md @@ -405,7 +405,15 @@ Player police officers can issue an APB for a player suspect. NPC police drive a --- ### Multi-command one-liners -Obviously this would still be using slashes for commands still. The way this works is simple: Every command returns a value `{RETURN}`, and provides indexed numerical references to it's args that can be *piped* to another command `{1}`, `{2}`, etc. For example, the /tempveh command adds a vehicle and provides both a reference to the vehicle itself (`{RETURN}`) and a reference to it's only argument (`{1}`). Some commands already implement a final, optional command to override the default chosen entity to act on (for example, `/bizname Some Business 3` will set business ID 3's name instead of the closest business to the player. Only works for staff with the manageBusinesses permission or if the player using it owns or is in the clan that owns business ID 3 and has the ability to set it's name. So this: `/tempveh infernus | /vehrgb 0 0 0 0 {RETURN} | /vehrgb 1 {2} {3} {4} {RETURN}` Would spawn a temporary infernus and immediately set both colours as completely black RGB values. +``` +Obviously this would still be using slashes for commands still. The way this works is simple: Every command returns a value {RETURN}, and provides indexed numerical references to it's args that can be piped to another command {1}, {2}, etc. For example, the /tempveh command adds a vehicle and provides both a reference to the vehicle itself (`{RETURN}`) and a reference to it's only argument (`{1}`). Some commands already implement a final, optional command to override the default chosen entity to act on (for example, `/bizname Some Business 3` will set business ID 3's name instead of the closest business to the player. Only works for staff with the ManageBusinesses permission or if the player using it owns or is in the clan that owns business ID 3 and has the ability to set it's name. + +So this: +/tempveh infernus | /vehrgb 1 0 0 0 {RETURN} | /vehrgb 2 {2} {3} {4} {RETURN}` + +Would spawn a temporary infernus and immediately set both colours as completely black RGB values. +``` + --- ### Real time clock display *Inspiration from Steam in-game overlay*