Jump to content
  • 0

custom drop and time limit.


Question

Posted (edited)

Anyone can edit this script to every 2 hours it will announce that the event is starteD and you will talk in npc in prontera then it will warp you in nov_02 map. auto summon 50 porings, after the 50 porings get killeD all the players will automatically warp in prontera.

- script PoringEvent -1,{
OnClock0000:
OnClock0200:
OnClock0400:
OnClock0600:
OnClock0800:
OnClock1000:
OnClock1200:
OnClock1400:
OnClock1600:
OnClock1800:
OnClock2000:
OnClock2200:
  monster "prontera",0,0,"Poring",1725,50,strnpcinfo(3)+"::OnPoringDead";
  announce "A special poring has spawned in Prontera!",0;
  end;
OnPoringDead:
  announce strcharinfo(0)+" has killed the Poring!",0;
  end;
}

Edited by Morigansan

4 answers to this question

Recommended Posts

Posted (edited)

i got this error

script error on npc/custom/poringevent.txt line 7
parse_simpleexpr: unmatch ')'
 2 : if( .Event )
 3 :		warp "nov_01",0,0;
 4 : end;
 5 :
 6 : OnMinute00:
*	7 : if( gettime(3) % 2 '=' 0 ){
 8 :		set .Event,1;
 9 :		for( set .@i,0; .@i < getarraysize(.Moblist)-1; set .@i,.@i + 2 )
10 :				monster .Map$,0,0,"--ja--",.Moblist[.@i],.Moblist[.@i+1],strnpcinfo(3)+"::OnMobDead";
11 :	announce "Total "+mobcount( .Map$,strnpcinfo(3)+"::OnMobDead" )+" special poring has spawned in "+.Map$+"!",0;
12 : }

Edited by Morigansan

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...