User Tools

Site Tools


samples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
samples [2012/09/25 03:10]
dexter
samples [2013/06/02 00:32]
kimoszin [Examples]
Line 19: Line 19:
  
 <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===
samples.txt ยท Last modified: 2021/11/15 16:43 (external edit)