The point here is that to prophecise in his name, is NOT a commandment.
Casting out devils is NOT a commandment.
Therefore these items are not 'the will of God'. The will of God is that we keep the commandments.
Now compare to Matthew 25:34 - 46 :
34 - Then the King will say to those at his right hand, "Come, O blessed of my Father, inherit the kingdom prepared for you from the foundation of the world:
35 - For I was hungry, and you gave me food, I was thristy and you gave me drink, I was a stranger and you welcomed me,
36 - I was naked and you clothed me, I was sick and you visited me, I was in prison and you came to me."
37 - Then the righteous will answer him, "Lord, when did we see thee hungry and feed thee, or thirsty and give thee drink?
38 - And when did we see thee a stranger and welcome thee, or naked and clothe thee"
39 - And when did we see thee sick or in prison and visit thee?"
40 - And the King will answer them, "Truly, I say to you, as you did it to one of the least of these my brethren, you did it to me."
41 - "Then he will say to those at his left hand, "Depart form me, you cursed, into the eternal fire prepared for the devil and his angels:
42- for I was hungry and you gave me no food, I was thirsty and you gave me no drink,
43 - I was a stranger and you did not welcome me, naked and you did not clothe me, sick and in prison and you did not visit me."
44 - Then they also answer, "Lord, when did we see thee hungry or thirsty or a stranger or naked or sick or in proison, and did not minister to thee?"
45- And he will annswer them, "Truly, I say to you, as you did it not to one of the least of these, you did it not to me."
46 - And they will go away into eternal punishment, but the righteous into eternal life."
__________________________________________________ Jesus says the RIGHTEOUS get eternal life. Who are the righteous?