• 0
Sign in to follow this  
Fresh prince

Autotrade no reward

Question

6 answers to this question

Recommended Posts

Share this post


Link to post
Share on other sites

Tried Sir Emistry edit but threw me an error and Still gave me prize. What about if there is an @afk command and used it? how can we prevent them receiving rewards after woe? 

 

Thanks you rathena

Edited by Fresh prince

Share this post


Link to post
Share on other sites

Maybe try it like...

					if (isloggedin([email protected][[email protected]],[email protected][[email protected]])) { 
						if ( !checkvending( rid2name([email protected][[email protected]]) ) ) {
							for(set [email protected],0; [email protected]<getarraysize(.Reward); set [email protected],[email protected]+2)
								getitem .Reward[[email protected]], .Reward[[email protected]+1], [email protected][[email protected]];
							message rid2name([email protected][[email protected]]),"You have been rewarded for conquering "+getcastlename(.Castles$[[email protected]])+"."; } } } }
  • Upvote 1

Share this post


Link to post
Share on other sites

Tried Sir Emistry edit but threw me an error and Still gave me prize. What about if there is an @afk command and used it? how can we prevent them receiving rewards after woe? 

 

Thanks you rathena

depend on how your @afk work, sone minor modification would be needed.

 

 

 

@skorm

haha , I totally forgotten that offline char will caused the invalid rid message to spam xD

Share this post


Link to post
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.

Sign in to follow this