Jump to content
  • 0

Stage Game error


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

I want to make this script so that players can only enter this game only 5 times a day (this script is made by sir Emistry), and when it reached the limit it will tell to come back tomorrow
 
anyone can help me?
 
/stagegame.txt
script error on npc/papa/event/stagegame.txt line 27
parse_simpleexpr: unmatch ')'
22 :
23 : for( set .@mf,0; .@mf < getarraysize( .MapFlags ); set .@mf,.@mf + 1 ){
24 : setmapflag strcharinfo(3),.MapFlags[.@mf];
25 : }
26 :
* 27 : if( getmapmobs'(' strcharinfo(3) ) > 0 || .Level > 0){
28 : dispbottom "Just Kill All the Monster to Win the Game...";
29 : end;
30 : }
31 : set .Level,0;
32 : announce "[Level "+( (.Level/2)+1 )+"] : [ "+.
 
 
here the script
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  

The command 'getmapmobs' doens't work in rathena  :P in rathena is 'mobcount' as far as I know...

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:  

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