help "repeat syntax"
Posted: Wed Feb 08, 2012 11:38 am
hello all 
I wonder if it would be possible to make a syntax that only repeated 3 times?
ex:
I do not know how this syntax and if it is realizable?
because occasionally the exit portal of the instance is not.
thanks for help
I wonder if it would be possible to make a syntax that only repeated 3 times?
ex:
Code: Select all
<!-- # 12 --><waypoint x="1696" z="2891" y="433" tag="Out1">
findzi()
local zoneid = RoMScript("GetZoneID()") -------------------------|
if zoneid == zid then |---------------------> repeat this action just 3 times
__WPL:setWaypointIndex(__WPL:findWaypointTag("Out1")) |
end -----------------------------|
ireset() -----------------------------------------------------------------|
cprintf(cli.lightred, " --=== !!! Portail FAIL - Leave party go OUT !!! ===--\n") |
waitForLoadingScreen(30) |------> if loadingscreen didin't appear he do this action
loadPaths("dodreturn"); -------------------------------------------------|
end
</waypoint>because occasionally the exit portal of the instance is not.
thanks for help