ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: camotbik on September 26, 2011, 06:48:56 AM
-
if #charghost = no + 3
event macro 1 1 i'm dead
wait 1s
event macro 1 1 I feel so alive, because
wait 1s
event macro 1 1 i'm not dead
wait 1s
if #charghost = no - 2
halt
Not documented? Well it is documented. But i've never seen this in use, till today.
-
umm i have never seen this at all... interesting find. I presume you tested it and it works ?
It strikes me that
event macro 1 1 i'm not dead
wait 1s
if #charghost = no - 2
is equivalent to a repeat until loop (with opposite signage)
repeat
event macro 1 1 i'm not dead
wait 1s
until #charghost <> no
-
That's the way OLLLD EUO was written. Makes code totally hard to read and very difficult to add things to. I would just not even us that method of blocking. Yuck!
-
That's the way OLLLD EUO was written. Makes code totally hard to read and very difficult to add things to. I would just not even us that method of blocking. Yuck!
totally agree TM, makes code 100% unreadable.
-
and 300% subject to breaking
-
ROFL@ Maddog's siggy
-
yes TM is correct that was the OLD way to script when EUO first came out... it sucked to edit scripts like that because you had to change every number if you added a line or even put a space in to separate subs