Never mind the English if it isn't your first language, so long as your posts are organized well. Like this topic is.
What do you mean by not getting any results? The #allies map command means that those AI nations will not attack each other. So they will conquer independents, they'll attack any other AI and human players, but they will not attack each other. So if they meet on the map, they'll just ignore each other. Or they should anyway.
Your commands look like they were formatted correctly. If by alliance you mean something like that you would be able to see allied nations territory, troops etc, that's not how it works.
You do need to set some kind of special victory condition on maps with allied AIs so that the game will actually end. E.g. victory by provinces, victory points, research or dominion.
Hope that helps.