Jump to content
Sign in to follow this  
Mosquitos

Merlin

Recommended Posts

I found this on the microsoft website but it is vbs.

Is this possible to translate it in autoit?

This is a example...

strAgentName = "Merlin"
strAgentPath = "c:\windows\msagent\chars\" & strAgentName & ".acs"
Set objAgent = CreateObject("Agent.Control.2")

objAgent.Connected = TRUE
objAgent.Characters.Load strAgentName, strAgentPath
Set objCharacter = objAgent.Characters.Character(strAgentName)

objCharacter.Show

objCharacter.Play "Announce"
objCharacter.Speak "Verdomme,ik moet gaan werken!!!"
objCharacter.Play "Process"
objCharacter.Speak "Zo mijn bammekes zijn klaar."
objCharacter.Play "LookDown"
objCharacter.Think "Ik zal eens naar de stieven vliegen..."
objCharacter.MoveTo 500,500,4000
objCharacter.Play "Think"
objCharacter.Speak "Euh,de stieven is nog niet wakker precies."
objCharacter.Play "GetAttention"
objCharacter.Play "GetAttentionContinued"
objCharacter.Speak "STIEVEN, WAKKER WORDEN!!!"
objCharacter.Play "Confused"
objCharacter.Speak "Godverdomme,het is nog maar 2u!!!"
objCharacter.Play "Alert"
objCharacter.Play "Sad"
objCharacter.Speak "Dan maar terug in mijn bedje kruipen."
objCharacter.Play "Idle3_1"
objCharacter.Play "Idle1_1"
objCharacter.MoveTo 0,0,4000
objCharacter.Speak "Slaapwel"
objCharacter.Think "Lekker over MIEKE dromen se"
objCharacter.Hide

Do While objCharacter.Visible = TRUE
    Wscript.Sleep 100
Loop

and this is the site:

http://www.microsoft.com/technet/scriptcen...zone/agent.mspx

Edited by Mosquitos

Sapiente vince, rex, noli vincere ferro!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...