JasXSL / JasX-HUD

JasX HUD v0.3 and beyond in Second Life
MIT License
9 stars 1 forks source link

SUGGESTION: Commands as a outfit #12

Closed FelixWolf closed 1 year ago

FelixWolf commented 2 years ago

Ability to add say, "/1 do the thing" for nude outfit. Can be done via internal LSL storage, web storage, or even RLV by making a sub folder of one of the states and calling it something like "# "

JasXSL commented 2 years ago

To clarify:

Add a folder as a command like "#channel:message" that can be added to an outfit state folder such as clothes to region say a message.

JasXSL commented 1 year ago

The next HUD will allow you to do this, but I'm changing the var folder syntax:

It now uses a JSON object format, but with commas replaced with + (because the RLV syntax was made for crab people). You can use + if you want to include a literal plus somewhere. You can also use \, instead of a plus.

Old: $SEX=6$SPEC=3 New: "sex":6+"spec":3 Using a say with escape chars: "say":[1\,"\+TEST"] - Outputs +TEST on channel 1. We may need to extend this with htmlspecialchars at some point since folder names prevent certain chars.