O.P. scripting help need please
i have some code that makes merlin talk but where you see merlin.Speak("Hello" + Messenger.MyName); it is only one hello but what i want is every time i log in it is a different hello on random from a hardcoded list! but i dont no how to code it! and where you see merlin.Speak("I'm Merlin, Nice To Meet You!" + Messenger.MyStatus); i want him to say the users satus but he says the status number! any ideas? cheers gareth
function OnEvent_Initialize(MessengerStart){
if(MessengerStart==false){
startcharacter();
merlin.Show();
merlin.MoveTo(25,30);
merlin.Play("Announce");
merlin.Speak("Hello" + Messenger.MyName);
merlin.Play("Greet");
merlin.Play("RestPose");
merlin.Speak("I'm Merlin, Nice To Meet You!" + Messenger.MyStatus);
merlin.Speak("Bye");
merlin.Play("Wave");
merlin.Hide();
}else{
function OnEvent_SigninReady(Email){
startcharacter();
}
}
}
|