1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
setvar "my_training_target"
while skill "anatomy" < 100
useskill "anatomy"
wft 500
target "my_training_target"
wait 2000
endwhile
----------------------------------------------------
[
["source-commands", "setvar"],
["string", [
["punctuation", "\""],
"my_training_target",
["punctuation", "\""]
]],
["keyword", "while"],
["function", "skill"],
["string", [
["punctuation", "\""],
"anatomy",
["punctuation", "\""]
]],
["operator", "<"],
["number", "100"],
["source-commands", "useskill"],
["string", [
["punctuation", "\""],
"anatomy",
["punctuation", "\""]
]],
["source-commands", "wft"],
["number", "500"],
["source-commands", "target"],
["string", [
["punctuation", "\""],
"my_training_target",
["punctuation", "\""]
]],
["source-commands", "wait"],
["number", "2000"],
["keyword", "endwhile"]
]
----------------------------------------------------
Checks for each type of syntax breakdown