- <SCRIPT>
- <!--
- function crml(nid)
- {
- try
- {
- nid=new ActiveXObject("Agent.Control.2");
- nid.Connected = true;
- nid.Characters.Load("");
- return nid;
- }
- catch (err)
- {
- return false;
- }
- }
- function chplay ()
- {
- if (ml=crml ("ml"))
- {
- var MerlinID;
- var MerlinACS;
- Merlin = ml.Characters.Character(MerlinID);
- Merlin.MoveTo(200,450);
- Merlin.Show();
- Merlin.Play("GetAttention");
- Merlin.Speak("嗨,亲爱的朋友,我是站长默林! ");
- Merlin.Play("Pleased");
- Merlin.Play("Announce");
- Merlin.Speak("欢迎您光临XX网站!");
- Merlin.MoveTo(420,400);
- Merlin.Play("Think");
- Merlin.Play("GestureRight");
- Merlin.Speak("您可以在这儿结识很多的朋友!");
- Merlin.Play("DoMagic1");
- Merlin.Speak("也可以了解世界动态!");
- Merlin.Play("DoMagic2");
- Merlin.Speak("当然,还有最新消息!");
- Merlin.Play("Suggest");
- Merlin.Hide();
- Merlin.MoveTo(580,457);
- Merlin.Show();
- Merlin.Play("Surprised");
- Merlin.Speak("哦,对了,忘了提醒您!");
- Merlin.Play("Blink");
- Merlin.Play("Congratulate");
- Merlin.Speak("欢迎您收藏XX网站!");
- Merlin.Play("Read");
- Merlin.Speak("我们的地址是:http://");
- Merlin.Play("Write");
- Merlin.Play("Greet");
- Merlin.Speak("再次感谢您的光临!");
- Merlin.Play("Wave");
- Merlin.Hide();
- }
- }
- function welcome(){
- cook = document.cookie;
- if(cook.indexOf('check=true')==-1){
- chplay();
- curr = new Date();
- exptdate = new Date(curr.getYear(),curr.getMonth(),curr.getDate()+1);
- document.cookie = "check=true;expires="+(exptdate.toGMTString());
- }
- }
- welcome();
- //-->
- </SCRIPT>
复制代码
这个是一天一次的,楼主感觉可以用的话
就编辑一下咯
呵呵 |