Split command to get from either latest or message list