Vince Jimenez Posted July 25, 2015 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 68 Reputation: 1 Joined: 10/16/12 Last Seen: August 14, 2016 Share Posted July 25, 2015 Hello guys,can i request a Script every 10minutes auto command @killmonster2(WithoutDROP) on certain map?because on my deadbranch room NPC, some of my players spamming Bloody Branch! and some of the newbie can't hunt because so many MVP'sSo i request to have an script which is every 10minutes automtic @killmonster2(WithoutDROP)my branchroom map is New_1-3, New_2-3, New_3-3, New_4-3, New_5-3Thanks in advanceand sorry sorry for my Bad ENGLISH! Quote Link to comment Share on other sites More sharing options...
Rynbef Posted July 25, 2015 Group: Forum Moderator Topic Count: 48 Topics Per Day: 0.01 Content Count: 941 Reputation: 125 Joined: 05/23/12 Last Seen: Tuesday at 04:54 PM Share Posted July 25, 2015 (edited) I cant recommend it to send a command like this every 10 Minutes because if you haven't a good host system or too many player it can be lag a bit and sometimes the server can crash but here is a script to to this. - script KillMobs -1,{ OnInit: while(1){ killmonster2 "New_1-3"; killmonster2 "New_2-3"; killmonster2 "New_3-3"; killmonster2 "New_4-3"; killmonster2 "New_5-3"; sleep 600000; } end; } Best regards, Rynbef~ Edited July 25, 2015 by Rynbef Quote Link to comment Share on other sites More sharing options...
Kurofly Posted July 25, 2015 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 283 Reputation: 31 Joined: 07/08/14 Last Seen: January 15, 2022 Share Posted July 25, 2015 You will never make your server crash or lag with that script xD But still I wouldn't recommend you to clean the maps if players are on it because it will eventually kill the monsters they just spawned. - script KillMobs -1,{ OnInit: OnTimer600000: if (!getmapusers("New_1-3")) killmonster2 "New_1-3"; if (!getmapusers("New_2-3")) killmonster2 "New_2-3"; if (!getmapusers("New_3-3")) killmonster2 "New_3-3"; if (!getmapusers("New_4-3")) killmonster2 "New_4-3"; if (!getmapusers("New_5-3")) killmonster2 "New_5-3"; initnpctimer; end; } It will clean the map every 10 minutes only if there are no players on them Don't worry you won't lag at all even if there are thousands of mobs in them ^^ Quote Link to comment Share on other sites More sharing options...
1 Emistry Posted July 26, 2015 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted July 26, 2015 OnMinute00: OnMinute10: OnMinute20: OnMinute30: OnMinute40: OnMinute50: for ( .@i = 1; .@i <= 5; .@i++ ) if ( !getmapusers( "New_"+.@i+"-3" ) ) killmonster "New_"+.@i+"-3","All"; end; 1 Quote Link to comment Share on other sites More sharing options...
Question
Vince Jimenez
Hello guys,
can i request a Script every 10minutes auto command @killmonster2(WithoutDROP) on certain map?
because on my deadbranch room NPC, some of my players spamming Bloody Branch! and some of the newbie can't hunt because so many MVP's
So i request to have an script which is every 10minutes automtic @killmonster2(WithoutDROP)
my branchroom map is New_1-3, New_2-3, New_3-3, New_4-3, New_5-3
Thanks in advance
and sorry sorry for my Bad ENGLISH!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.