function script Test { mes "[Test]"; for(set .@i,1; getd(".@F"+.@i+"[0]"); set .@i,.@i+1) mes " .@F+.@i+"[0] is exist"; close; OnInit: setarray .@F1[0],30712,1,30711,2; setarray .@F2[0],30713,1,30712,2; end;}
How to make FOR work in case the conditions of the test variables exist?
I made this script and work good with rAthena, but did not work in Hercules
How to make FOR work in case the conditions of the test variables exist?
I made this script and work good with rAthena, but did not work in Hercules
Somebody help me pls!!!!
Share this post
Link to post
Share on other sites