i can't resist either. if you've downloaded two agents (in this case, merlin and genie), one can synchronize them using the wait method ... oh yeah, it's said that if you ever see an microsoft agent - you run ! - you run like hell !


break on


$merlin_path = "%windir%\msagent\chars\merlin.acs"
$genie_path = "%windir%\msagent\chars\genie.acs"


$agent = createobject ("agent.control.2")
$agent.connected = "1"


$= $agent.characters.load("merlin","$merlin_path")
$= $agent.characters.load("genie","$genie_path")


$merlin = $agent.characters.character("merlin")
$genie = $agent.characters.character("genie")


$= $genie.moveto(200,200)
$= $merlin.moveto(400,200)


$= $merlin.show()
$= $genie.show()


$wait = $merlin.play("announce" )


$= $genie.wait($wait)
$= $genie.gestureat(400,200)
$wait= $genie.speak("Hey Merlin, stop making a freak'n racket, will yeah ?")


$= $merlin.wait($wait)
$wait= $merlin.speak("Genie, why don't you go get bottled !")


$= $genie.wait($wait)
$= $genie.moveto(450,200)
$wait= $genie.play("domagic2")


$= $merlin.wait($wait)
$= $merlin.speak("Oh crap")
$wait= $merlin.hide()


$= $genie.wait($wait)
$= $genie.speak("I hate those dang-darn Microsoft Agents anyways!!!")
$= $genie.hide()


gets$

exit

-Shawn