Difference between revisions of "SkibUserMacros:DefendMonitor"

From Protoi Healing

Jump to: navigation, search
Line 31: Line 31:
  
 
'''Description'''
 
'''Description'''
:This Macro tries to defend you or the person you use it on, blocking the attacks on you or the person the macro is used on and reflecting it back and starts counterattacks on the attackers.
+
:This Macro monitors <person(s)> 24/7. If it senses some attack on <person(s)>, it starts the 'Defend' UserMacro with the given parameters.
 +
 
  
  

Revision as of 18:21, 7 February 2017

Skib User Macro
Name DefendMonitor
Author Frank
Brief descr. Monitors <person(s)>, and starts Defend macro in case of attacks.
Status public
Terms Usable on oneself and others
Resources for the UserMacro
1 10 100
1k 100k 1kk
10kk Gmax Omax
Resources with butterfly option
1 10 100
1k 100k 1kk
10kk Gmax Omax

Command syntax

DefendMonitor <person(s)> {Use butterfly} {Use solver}







Description

This Macro monitors <person(s)> 24/7. If it senses some attack on <person(s)>, it starts the 'Defend' UserMacro with the given parameters.


<person(s)>

Defines who this macro is used on. It might be used for a person (by name) or for a group of persons (for more than 1 names at the same time) or on oneself.


{Use butterfly}

This option activates the use of the butterfly-method inside the macro algorithm. This gives much more power, but also needs a lot of resources from Skib. You should be aware of this!


Algorithm of User Macro

  1. Use DATABASE 'Malfunction'.
  2. Use DATABASE 'AttackKinds'.
  3. Always store or update all in this macro identified 'attack kinds' in the 'AttackKinds' DATABASE.
  4. MONITOR 24/7 all <person(s)> for attacks.
    1. IF the monitoring senses an attack and UserMacro 'Defend' is not running, DO:
      1. SUBMACRO-START 'Defend' <person(s)> {Use butterfly} {Use solver}.
    2. IF-END
  5. MONITOR-END