The men of Israel had made an agreement with the ambushing force that when they sent up a large amount of smoke from the city,