Jump to content
  • 0

custom drop and time limit.


Morigansan

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  08/08/12
  • Last Seen:  

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

4 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  08/08/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   2
  • Joined:  11/19/11
  • Last Seen:  

if( gettime(3) % 2 '=' 0 ){

That's the error.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

if( gettime(3) % 2 == 0 ){

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...