Documentation

#FORALL

FORALL

Syntax: #FO stringlist {commands}

The specified list contains items separated by | characters. This command loops through the list, assigning each element in turn to the %i variable, and executes the commands.

FORALL example

list="sword|ring|shield"
#FORALL @list {repair %i}
Loops through the equipment in the list and repairs each one in turn.

Add comment

Login or register to post comments