为奥运会开幕式庆祝2008年8月8日8点8分 8分钟时间放烟花脚本
首先打开:D:\Mirserver\Mir200\Envir\Robot_def\AutoRunRobot.txt 加入以下内容
#AutoRun NPC RUNONDAY 8:08 @放烟花
#AutoRun NPC RUNONDAY 8:08 @放烟花
#AutoRun NPC RUNONDAY 8:08 @放烟花
#AutoRun NPC RUNONDAY 8:08 @放烟花
#AutoRun NPC RUNONDAY 8:08 @放烟花
#AutoRun NPC RUNONDAY 8:08 @放烟花
#AutoRun NPC RUNONDAY 8:08 @放烟花
#AutoRun NPC RUNONDAY 8:08 @放烟花
#AutoRun NPC RUNONDAY 8:08 @放烟花
#AutoRun NPC RUNONDAY 20:08 @放烟花
#AutoRun NPC RUNONDAY 20:08 @放烟花
#AutoRun NPC RUNONDAY 20:08 @放烟花
#AutoRun NPC RUNONDAY 20:08 @放烟花
#AutoRun NPC RUNONDAY 20:08 @放烟花
#AutoRun NPC RUNONDAY 20:08 @放烟花
#AutoRun NPC RUNONDAY 20:08 @放烟花
#AutoRun NPC RUNONDAY 20:08 @放烟花
#AutoRun NPC RUNONDAY 20:08 @放烟花
二、打开D:\Mirserver\Mir200\Envir\Robot_def\RobotManage.txt
[@放烟花]
#IF
#ACT
Gmexecute 开始提问 @庆典蛋糕
再打开:D:\Mirserver\Mir200\Envir\Market_def\QFunction-0.txt 加入以下内容
[@庆典蛋糕]
#IF
small M3 60
#Act
INC M3 2
Gmexecute showeffect 78
Gmexecute showeffect 79
Gmexecute showeffect 80
SENDMSG 0 [%s]在:%m%x:%y处放庆典蛋糕、大家快去欣赏哦。
DelayCall 2000 @庆典蛋糕1
#ELSEAct
MOV M3 0
ClearDelayGoto
[@庆典蛋糕1]
#IF
small M3 60
#Act
INC M3 2
Gmexecute showeffect 79
Gmexecute showeffect 80
Gmexecute showeffect 81
DelayCall 2000 @庆典蛋糕2
#ELSEAct
MOV M3 0
ClearDelayGoto
[@庆典蛋糕2]
#IF
small M3 60
#Act
INC M3 2
Gmexecute showeffect 80
Gmexecute showeffect 81
Gmexecute showeffect 82
DelayCall 2000 @庆典蛋糕3
#ELSEAct
MOV M3 0
ClearDelayGoto
[@庆典蛋糕3]
#IF
small M3 60
#Act
INC M3 2
Gmexecute showeffect 81
Gmexecute showeffect 82
Gmexecute showeffect 83
DelayCall 2000 @庆典蛋糕4
#ELSEAct
MOV M3 0
ClearDelayGoto
[@庆典蛋糕4]
#IF
small M3 60
#Act
INC M3 2
Gmexecute showeffect 82
Gmexecute showeffect 83
Gmexecute showeffect 84
DelayCall 2000 @庆典蛋糕5
#ELSEAct
MOV M3 0
ClearDelayGoto
[@庆典蛋糕5]
#IF
small M3 60
#Act
INC M3 2
Gmexecute showeffect 78
Gmexecute showeffect 83
Gmexecute showeffect 84
DelayCall 2000 @庆典蛋糕6
#ELSEAct
MOV M3 0
ClearDelayGoto
[@庆典蛋糕6]
#IF
small M3 60
#Act
INC M3 2
Gmexecute showeffect 78
Gmexecute showeffect 79
Gmexecute showeffect 84
DelayCall 2000 @庆典蛋糕
#ELSEAct
MOV M3 0
ClearDelayGoto