Jump to content
  • 0

Can't figure out what syntax is wrong in my script.


kyithios

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  39
  • Reputation:   5
  • Joined:  02/12/12
  • Last Seen:  

When I fix one according to the console, it pops up another until I hit a wall where it just says pretty much nothing.

new_3-1,50,113,6	script	Willcom Maan	405,{
if( !#Freebies ){
set #Freebies,1;
mes "Welcome to Exia Star RO! Here's some rewards. By the way, talk to Shion twice! She likes that!";
getitem2 1203,1,1,10;
}else{
mes "You have claim the Reward already.";
}
close;
}

I'm using tabs, but for some reason it starts with the }else{ portion.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  261
  • Reputation:   53
  • Joined:  11/11/16
  • Last Seen:  

new_3-1,50,113,6	script	Willcom Maan	405,{
if( !#Freebies ){
set #Freebies,1;
mes "Welcome to Exia Start RO, Here's some rewards";
getitem 1203,1;
}else{
mes "You have claim the Reward already.";
close;
}
}

Try that.

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