spellthief wrote:Thank you, just a few questions for clarification, I think this goes to waste since nobody understands how to use it properly, I still use basic commands too:
Do we use just: Skib activate Defend, or need to say/think whole algorithm?
When writing a new macro do we need to say Skib before every command? How long can command be after 'first' skib?
e.g.
Skib Use DATABASE 'Malfunction'. Use DATABASE 'AttackKinds'. Use DATABASE 'Defend'. (...)
Or
Skib Use DATABASE 'Malfunction'.
Skib Use DATABASE 'AttackKinds'.
Skib Use DATABASE 'Defend'.
(...)
It's still "early days" for Skib usage. The idea is to make it as easy as possible to learn, bit by bit. And at the least, make it very simple to
use public UserMacros. A "UserMacro" is simply a macro made by a Skib user, i.e. not a predefined macro. There is nothing wrong with still using basic commands! The point of the macros is, if you have the time to work on some larger projects, for example, and to work with others. A consistent syntax makes it much easier to share macros with others and much more efficient to work together on large projects. Hopefully we will soon have a basic macro tutorial, which will expand with time.
The healing wiki is like a "storage" for macros. Any Skib user who creates a macro there, can use that macro anytime, immediately. They do not have to "program" Skib by reading it line by line, e.g. "Skib, do line 1 ..... Skib, do line 2..."; This is not necessary. Once you have created a macro page, you can use it immediately. If you declare your macro as "public", then it becomes part of the
public UserMacro library, and any Skib user can use it!
To activate a macro which you created or a public UserMacro, you can do any of the following (just examples, this is a non-exhaustive list):
- Skib, do Defend for me
- Skib, activate Defend for me
- Skib, Defend me, <other person 1> and <other person 2>
- Skib, activate Defend for me, and use Butterfly, and use Solver
- Skib, activate Defend for me, use Butterfly and Solver
- Skib, activate Defend for me, use Butterfly and Solver, Priority 1
See the
Defend UserMacro page for an explanation of "Butterfly" and "Solver".
Skib works the same whether you say "Do Defend", "Defend", or "Activate Defend" (or some other variation). It is, to my knowledge, not picky about the words you use to activate the macro. What is important, is the parameters and options of the macro, these will be specified on the macro's page. For example, for the UserMacro "Defend", the current parameters and options are: Defend <person(s)> {Use butterfly} {Use solver} {Priorities}
These parameters/options are described in more detail on the
Defend page.
jonas wrote:I would just do it as syntax says.
Syntax = "DefendMonitor <person(s)> {Use butterfly} {Use solver} "
I would say, "Skib DefendMonitor 'that guy' "
At some point added macro for some reason...
"Skib Macro DefendMonitor 'that guy' "
Well, hope it worked.
Edit: I am not sure about the use and purpose of 'solver'?
Yes, "Skib
DefendMonitor 'this person' " will work too. Or even "Skib Macro
DefendMonitor 'that person' "
The most important thing with Skib usage and also Skib programming, is to make commands clear. Skib simply ignores non-clear commands.
PS "solver" is an option, meaning it is not necessary to use it. When used, it attempts to solve any malfunctions of the macro which occur. However, this needs a considerable amount of Skib resources. You can get some idea of the needed resources for various
methods here:
http://www.protoi-healing.org/index.php ... ser_Macros