Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Ideas for /skript command and script-related events and stuff @EDIT 2

Open T3sT3ro opened this issue 11 years ago • 4 comments

Please, add "/skript scripts" command to show all scripts in scripts folder - enabled - green with [enabled] prefix, disabled - red with [disabled] prefix @EDIT Some useful things:

some ideas

Expressions/conditions/events/effects:

  • on any script load/unload [when any script is load/unloaded]
  • on load of script named "abc"
  • add script [-s | named "ABC"] to {running::*}
  • send names [-s] of [enabled | disabled] script [-s | named "ABC" ] to player
  • change name of script "ABC" to "xyz"
  • add/remove script "abc" to/from project "Project No.1"
  • kill script/project "abc" - immediately stops script without saving anything
  • (if | while) (script | project ) "ABC" exist[-s]
  • NEW on script move [to | from project "ABC"]

think and write down your ideas :D

T3sT3ro avatar Feb 24 '14 14:02 T3sT3ro

For the reloading as a project suggestion, you can put all the scripts for a "project" into a folder, and with /sk reload <Folder Name>, you can reload a specific folder. I do, however, quite like the idea of having a list of enabled scripts. It makes it easier to see which ones are currently being used without having to open the scripts folder.

GrassyMoss avatar Mar 02 '14 17:03 GrassyMoss

But puting the same code in all scripts is unconfortable. I have made prototype of list-of-enabled-scripts, but it is hard to EDIT list ie. When I change name of script it is still on the disabled scripts list and it must be removed manually from {enabled:: *}. Maybe you have better script ? Can u give me link to it ?

T3sT3ro avatar Mar 03 '14 07:03 T3sT3ro

Like @GrassyMoss said, you can already put scripts into a folder and enable or disable the whole folder with a single command.

I also like some of the script-related events and stuff (BTW: edited the title).

Njol avatar Mar 07 '14 12:03 Njol

This would be awesome! :D

marium0505 avatar Apr 13 '14 22:04 marium0505