Jump to content
  • 0

what's wrong with this script?


Brynner

Question


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

anthell01,35,267,0	script	ant001	45,1,1, {
	if(anthell==1) goto moc15;
	moc04:	warp "moc_fild04",213,327; break;
	moc15:	warp "moc_fild15",251,248; break;
}
anthell02,171,169,0	script	ant001	45,1,2, {
	if(anthell==0) goto moc15;
	moc04:	warp "moc_fild04",213,327; break;
	moc15:	warp "moc_fild15",251,248; break;
}

thank you in advance.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

 

anthell01,35,267,0	script	ant001	45,1,1, {
	if(anthell==1) goto moc15;
	moc04:	warp "moc_fild04",213,327; break;
	moc15:	warp "moc_fild15",251,248; break;
}
anthell02,171,169,0	script	ant001	45,1,2, {
	if(anthell==0) goto moc15;
	moc04:	warp "moc_fild04",213,327; break;
	moc15:	warp "moc_fild15",251,248; break;
}

thank you in advance.

Well first explain what exactly you want to happen and is this the full script?

 

problem solved. i shouldn't put a space between the last comma and the opening curly

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   137
  • Joined:  02/26/14
  • Last Seen:  

anthell01,35,267,0	script	ant001	45,1,1, {
	if(anthell==1) goto moc15;
	moc04:	warp "moc_fild04",213,327; break;
	moc15:	warp "moc_fild15",251,248; break;
}
anthell02,171,169,0	script	ant001	45,1,2, {
	if(anthell==0) goto moc15;
	moc04:	warp "moc_fild04",213,327; break;
	moc15:	warp "moc_fild15",251,248; break;
}

thank you in advance.

Well first explain what exactly you want to happen and is this the full script?

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