manabeast Posted May 29, 2012 Posted May 29, 2012 (edited) This script dunno why can't Start up . - script Ghost Buster -1,{ OnClock0857: killmonster .Map$,"All"; announce "Event started at "+.Map$+" ...Hurry Up..",0; for( set .i,0; .i <= ( getarraysize( .Monster ) - 1 ); set .i,.i + 2 ){ monster .Map$,0,0,"--ja--",.Monster[.i],.Monster[.i+1],strnpcinfo(0)+"::OnEventKilled"; } sleep ( .Minute * 60000 ); if( mobcount( .Map$,strnpcinfo(0)+"::OnEventKilled" ) ){ announce "Event End due to unable to Eliminate all Monster within "+.Minute+" Minutes.",0; killmonster .Map$,"All"; } end; OnInit: set .Map$,"niflheim"; set .Minute,30; setarray .Monster[0], 1927,100, 1186,100, 1192,50, 1291,30, 1129,15, 1263,10; end; OnEventKilled: dispbottom "You killed 1 Event Monster"; getitem 501,1; end; } Edited May 30, 2012 by manabeast Quote
Euphy Posted May 29, 2012 Posted May 29, 2012 The script itself looks fine, perhaps you forgot tabs in your header? 1 Quote
manabeast Posted May 30, 2012 Author Posted May 30, 2012 (edited) the script if change this, it's working. OnMinute00; but when i change this, it's not working. =( i want every night 12AM. but i test in 8.57pm. this auto mini game start. OnClock0857: Edited May 30, 2012 by manabeast Quote
Nameless2you Posted May 30, 2012 Posted May 30, 2012 0857 is 8:57am, have to use 2057 for 8:57pm. 1 Quote
manabeast Posted May 30, 2012 Author Posted May 30, 2012 oh. it's work. thank you... i was so stupid think 0857 is pm. thanks nameless. Quote
Question
manabeast
This script dunno why can't Start up
Edited by manabeast4 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.