Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
samples [2012/09/18 22:35] dexter |
samples [2013/06/02 00:32] kimoszin [Examples] |
| |
<code>3000 {Auto Mount} Status.InPZ()==0 Self.Mount()==0 Self.ToggleMount()</code> | <code>3000 {Auto Mount} Status.InPZ()==0 Self.Mount()==0 Self.ToggleMount()</code> |
| |
| === Equip/Unequip ring with x monsters === |
| |
| <code>1500 {Equip/Unequip ring with x monsters} monstersCount:=2 idRingOFF:=3052 idRingON:=3089 Creatures.ByName(Cyclops)>=!monstersCount! [else] Self.Inventory.Ring()<>!idRingON! Self.Equip.Ring(!idRingOFF!) Exit() {else} Self.Inventory.Ring()==!idRingON! Self.UnEquip.Ring(0)</code> |
| |
=== Utura with conditions=== | === Utura with conditions=== |
| |
<code>2000 {AutoAreaAttack} Creatures.Beside()>=2 [exoriGran] Self.Mana()>=150 Self.Say(exori) Exit() {exoriGran} Creatures.Beside()>=4 Self.Mana()>=340 Self.Say(exori gran) Exit()</code> | <code>2000 {AutoAreaAttack} Creatures.Beside()>=2 [exoriGran] Self.Mana()>=150 Self.Say(exori) Exit() {exoriGran} Creatures.Beside()>=4 Self.Mana()>=340 Self.Say(exori gran) Exit()</code> |
| |
| === Auto Drop Empty Flask === |
| |
| <code>3000 {Drop Empty Flask} X:=Self.X() Y:=Self.Y() Z:=Self.Z() X1:=1 Y1:=1 VarAdd(X, !X1!) VarSub(Y, !Y1!) Self.Capacity()<=150 Map.Thrown(285, 100, !X!, !Y!, !Z!) Exit()</code> |