#ALIAS tcost {int_to = %2;#WHILE (@int_to <= %3) {#SEND "tcost train "%1" from "%2" to "@int_to;#ADD int_to 1;#WAIT 125}} or int_to = %2 #WHILE (@int_to <= %3) { #SEND "tcost train "%1" from "%2" to "@int_to #ADD int_to 1 #WAIT 125 }