为了传奇私服可玩新更高很多GM也是费尽了脑汁,今天给大家写个(脚本是一个朋友赠送我们只做了简单修改)不讲武德活动地图脚本,
脚本是到了每天晚上20点开放不讲武德地图结束时间20.30分,时间上大家可以根据自己需求改请看以下脚本,
program mir2;
procedure _goToMonMap;
begin
if (GetHour = 20) and (GetMin >= 00) and (GetMin <= 30) then
begin
if (This_Player.Job = 1)
and (This_Player.GetSlaveCount('') < 1)
or (This_Player.Job = 2)
or (This_Player.Job = 0) then
begin
This_Player.RandomFlyTo('T139~4');
ServerSay('玩家<' + This_Player.Name + '>在≮不讲武德≯处-进入了不讲武德地图!', 3);
end else
This_Npc.NpcDialog(This_Player,
'不讲武德地图,不允许法师宝宝带入!\'
);
end else
This_Npc.NpcDialog(This_Player,
'入口已关闭\|{cmd}<返回/@main>');
end;
begin
This_NPC.NpcDialog(This_Player,
'你好<'+ This_Player.Name +'>\'
+'|不讲武德地图|开放时间每天20:00|入口关闭时间20:30 \'
+'|<领奖时间-20:40-奖品500元宝/fcolor=215> \\'
+'|{cmd}<进入地图/@goToMonMap> \'
);
end.