Jump to content
  • 0

Ghost script can't start


manabeast

Question


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

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 by manabeast
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

The script itself looks fine, perhaps you forgot tabs in your header?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

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 by manabeast
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

0857 is 8:57am, have to use 2057 for 8:57pm.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

oh. it's work. thank you... i was so stupid think 0857 is pm. thanks nameless.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...