Yeah, here's a copy of what I'm using;
Code:
<if condition="$bbuserinfo['pmunread']">
<!-- Script New PM -->
<OBJECT classid=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F id=ricci width="32" height="32"></OBJECT>
<SCRIPT>
var RobbyID;
var RobbyACS;
ricci.Connected = true;
RobbyLoaded = LoadLocalAgent(RobbyID, RobbyACS);
Robby = ricci.Characters.Character(RobbyID);
Robby.Show();
Robby.MoveTo(850,300);
Robby.speak("Hello. You have a new private message!");
Robby.Play("GestureRight");
Robby.MoveTo(700,75);
Robby.speak("Don't forget to check out our special offers.");
Robby.Play("Gestureleft");
Robby.speak("Just click special offers to view the latest deals.");
Robby.Play("DoMagic1");
Robby.speak("Merry Christmas.");
Robby.Hide();
function LoadLocalAgent(CharID, CharACS) {
LoadReq = ricci.Characters.Load(CharID, CharACS);
return(true);
}
</SCRIPT>
<!-- / Script New PM --></if>