[trigger]Random
Events
Conditions
Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Hero - Create (Random level (Random integer number between 1 and 6) item-type) and give it to A[/trigger]
[trigger]Random
Events
Conditions
(Number of items carried by A) Not equal to 6
Actions
Hero - Create (Random level -1 item-type) and give it to A
Trigger - Run (This trigger) (checking conditions)[/trigger]