#!/usr/bin/env bash
source $HOME/.gamerc

echo "WorldServer ID Lists: $@"
PREVIOUS="$1"

for wid in "${@:2}"; do
    echo "create_new_world_from_old ${PREVIOUS} ${wid}"
    $HOME/bin/create_new_world_from_old ${PREVIOUS} ${wid}
    PREVIOUS="${wid}"
done 
