Well, your alert is always going to say "NO!!!" the way you have it. This works:
Your code runs fine for me in a console.
M.
alert("SPServices loaded? " + ($().SPServices == undefined ? "NO!!!" : "YES."));
What version of SharePoint are you using and what type of page are you calling the code from?Your code runs fine for me in a console.
M.