wspapers issued multiple bulletins each day -Server_announcement.pl
spapers issued multiple bulletins each day
Quote:
INSERT INTO `npc_types` () VALUES
(344043, 'Server_announcement', '', 75, 12, 1, 0, 9420000, 0, 0, 1, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, -1, '', NULL, 10, 0, 2, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'IT10', 28, 28, 7, 1.325, 0, 0, 0, 0, 0, 0, 20, 0, 0, 1, 0, 0, 0, 0, 30, 0, 75, 75, 75, 75, 80, 75, 75, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 100, 0, 0, 0, 0, 0, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `spawnentry` (`spawngroupID`, `npcID`, `chance`) VALUES (275158, 344043, 100);
INSERT INTO `spawngroup` (`id`, `name`, `spawn_limit`, `dist`, `max_x`, `min_x`, `max_y`, `min_y`, `delay`, `mindelay`, `despawn`, `despawn_timer`) VALUES (275158, 'guildlobbyServer_announcement00014711716', 0, 0, 0, 0, 0, 0, 45000, 15000, 0, 100);
INSERT INTO `spawn2` (`id`, `spawngroupID`, `zone`, `version`, `x`, `y`, `z`, `heading`, `respawntime`, `variance`, `pathgrid`, `_condition`, `cond_value`, `enabled`, `animation`) VALUES (250517, 275158, 'guildlobby', 0, -190, 351, 0.190501, 63.875, 72000, 0, 0, 0, 1, 1, 0);
|
Create a new NPC C:\EQEmuServer\quests\guildlobby\Server_announceme nt.pl
Quote:
sub EVENT_SPAWN {
quest::settimer("ShadyDepop",180); #Depop after 3 minutes
quest::shout("Server restart countdown 3 minutes!.");
quest::settimer("resta",30);
}
sub EVENT_ITEM {
if ($timer eq "resta")
quest::shout("Server restart countdown 3 minutes!");
quest::settimer("restb",24);
}
if ($timer eq "restb")
quest::shout("Server restart countdown 3 minutes!");
quest::settimer("restc",24);
}
if ($timer eq "restc")
quest::shout("Server restart countdown 3 minutes!");
quest::settimer("restD",24);
}
sub EVENT_TIMER {
quest::stoptimer("ShadyDepop");
quest::depop();
}
}
|
INSERT INTO `spawn2` () VALUES (。。。。。。。。。。。。5, 72000, 0, 0, 0, 1, 1, 0);
respawntime=72000
PL = quest::depop();
__________________
To create the most beautiful server for "!!~[BP] PLARYBOT EQ~!" Welcome to our server
|