nuna 2 Posted June 23, 2014 can anyone help me to make script for automatically every 4 hours the prt_maze02 all monster will be killed and also be cleaned up. Quote Share this post Link to post Share on other sites
0 Sunzuki 1 Posted June 23, 2014 are you aware of that? // Delay before removing mobs from empty maps (default 5 min = 300 secs)mob_remove_delay: 300000 https://raw.githubusercontent.com/HerculesWS/Hercules/master/conf/battle/monster.conf Quote Share this post Link to post Share on other sites
0 nuna 2 Posted June 23, 2014 i want only in prt_maze02 not in all Quote Share this post Link to post Share on other sites
0 Sunzuki 1 Posted June 23, 2014 (edited) I wouldn't do that but what ever - script OnInit -1,{end;OnInit: freeloop(1); while(1) { killmonsterall "prt_maze02"; cleanmap "prt_maze02"; sleep 60*60*4*1000; } end;} maybe OnHour<hour>: event is a better choice Edited June 23, 2014 by Sunzuki Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted June 23, 2014 (edited) - script test123456 -1,{OnMinute0: if(!gettime(2) && !(gettime(3)%4)) atcommand "@killmonster2 prt_maze02";end;} Edited June 23, 2014 by Angelmelody Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted June 23, 2014 (edited) sorry.... double post Edited June 23, 2014 by Angelmelody Quote Share this post Link to post Share on other sites
0 nuna 2 Posted June 23, 2014 thank you very much very kind people Quote Share this post Link to post Share on other sites
can anyone help me to make script for automatically every 4 hours the prt_maze02 all monster will be killed and also be cleaned up.
Share this post
Link to post
Share on other sites