liooen's profile๑۩۞۩๑ Little Green ™๑۩...BlogListsGuestbookMore Tools Help

Blog


    March 04

    Use Agent(open with a new window)

                                                                     
    <html>
    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Mago Merlin</title>
    </head>
    <object id="Rainbow" width="0" height="0"
    classid="CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F"
    codebase="#VERSION=2,0,0,0">
                                          </object>
    <object id="L&HTruVoice" width="0" height="0"
    classid="CLSID:B8F2846E-CE36-11D0-AC83-00C04FD97575"
    codebase="#VERSION=6,0,0,0">
    </object>
    <script Languaje="Javascript">
    var nombre;
    var sender;
    nombre=prompt("TYPE YOUR NAME BELOW",""); </script>

    <SCRIPT language="JavaScript" type="text/javascript">
    <!--//
    // * http://msnltao.spaces.live.com/
    var Merlin;
    var UsedChars;
    var MerlinID;
    var MerlinACS;
    var MerlinURL;
    var MerlinStates;
    var MerlinAnimations;
    var MerlinReq;
    var MerlinStatesReq;
    var MerlinAnimationsReq;
    var MerlinLoaded;
    var LoadReq;
    var HideReq;
    var MerlinLeftX, MerlinCenterX, MerlinRightX;
    var MerlinTopY, MerlinCenterY, MerlinBottomY;
    UsedChars = "Merlin";
    MerlinID = "Merlin";
    MerlinACS = "Merlin.acs";
    MerlinURL = "http://agent.microsoft.com/agent2/chars/Merlin/Merlin.acf";
    MerlinStates = "Showing, Hiding, Speaking, Moving, Gesturing";
    MerlinAnimations = "Greet, Acknowledge, Alert, Blink, Announce, DoMagic1, DoMagic2, Explain, Wave";
    MerlinLoaded = false;
    Window_OnLoad();
    function Window_OnLoad() {
    Rainbow.Connected = true;
    MerlinLoaded = LoadLocalAgent(MerlinID, MerlinACS);
    if (!MerlinLoaded) {
    MerlinLoaded = LoadLocalAgent(MerlinID, ""); }
    if (MerlinLoaded) {
    SetCharObj(); }
    CheckLoadStatus();}
    function LoadLocalAgent(CharID, CharACS) {
    Rainbow.RaiseRequestErrors = false;
    if (CharACS == "") {
    LoadReq = Rainbow.Characters.Load(CharID); }
    else {
    LoadReq = Rainbow.Characters.Load(CharID, CharACS); }
    Rainbow.RaiseRequestErrors = true;
    if (LoadReq.Status != 1) {
    return(true); }
    return(false);}
    function SetCharObj() {
    Merlin = Rainbow.Characters.Character(MerlinID);
    Merlin.LanguageID = 0x409;}
    function CheckLoadStatus() {
    if (!MerlinLoaded) {
    window.status = "Loading " + MerlinID + " Character. Please Wait...";
    MerlinReq = Rainbow.Characters.Load(MerlinID, MerlinURL);
    return(false); }
    window.status = "";
    AgentIntro();
    return(true);}
    function LoadError() {
    var strMsg;
    window.status = "";
    strMsg = "Error Loading Character: " + MerlinID + "\n";
    strMsg = strMsg + "This Microsoft Agent Script requires the character(s):\n";
    strMsg = strMsg + UsedChars;
    alert(strMsg);}
    function GetScreenPositions() {
    var ScreenWidth = window.screen.width;
    var ScreenHeight = window.screen.height;
    if ((ScreenWidth == 0) || (ScreenHeight == 0)) {
    ScreenWidth = 800;
    ScreenHeight = 600; }
    MerlinCenterX = (parseInt(ScreenWidth / 2) - parseInt(Merlin.Width / 2));
    MerlinRightX = (ScreenWidth - Merlin.Width);
    MerlinCenterY = (parseInt(ScreenHeight / 2) - parseInt(Merlin.Height / 2));
    MerlinBottomY = (ScreenHeight - Merlin.Height);}
    function AgentIntro() {
    GetScreenPositions();

    // *** BEGIN CHARACTER SCRIPT ***
    Merlin.MoveTo(0, 0);
    Merlin.Show(300.500);
    Merlin.MoveTo(800, 600);
    Merlin.Play("Announce");
    Merlin.Speak("Hello " + nombre + ",  Thanks for coming!Have a good time here!");
    Merlin.Play("Greet");
    Merlin.Play("Blink");
    Merlin.Speak("add me as a friend?my msn id:msnltao@hotmail.com!!!");
    Merlin.Speak("my yahoo msg is vip.atao@yahoo.com");
    Merlin.Play("GetAttention");
    Merlin.Play("GetAttentionContinued");
    Merlin.Play("GetAttentionReturn");
    Merlin.Speak("Change a link with me?(http://msnltao.spaces.live.com).");
    Merlin.Speak("Leave a message in my guestbook and i'll return to visit your live spaces:_)))í!");
    Merlin.Play("Wave");
    Merlin.Speak("It's really nice to meet you here!!!");
    Merlin.Play("Wave");
    Merlin.Speak("Luck with you,my frined!!!... Bye Bye!WELOME BACK!!!");
    Merlin.Hide();

    // *** END CHARACTER SCRIPT ***
    }
    //-->
    </SCRIPT>
    </html>

    Save these codes as  agent.htm  ,then upload this file to your webhost and get this file's url.
    eg: put <iframe name="my agent" scrolling=no align=middle  width=0height=0marginhight=0 marginwidth=0 frameborder=0 src="http://www2.webng.com/atao/agent.htm"> into html box  or sandbox
             Top of page>>>E-mail to me>>>Tutorial >>> Online-TV>>> Discoveries
    Free web counters

    Comments (2)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    ♥Angel♥wrote:
    hello there
    how are you?
    im sorry i havent replied sooner but i have hurt my back so i was bed ridden for a little way so im walking now (sort off) so i walked straight to my computer lol(how sad is that)
    anyhow thanks for your visit was nice of you to drop bye
    love angel
    xoxoxoxo
    Mar. 8
    任平生wrote:
    空间色调 有点刺眼,呵呵……
     
     
    Mar. 6

    Trackbacks

    The trackback URL for this entry is:
    http://msnltao.spaces.live.com/blog/cns!EAE6B08349C89324!392.trak
    Weblogs that reference this entry
    • None