Jump to content
  • 0

Question

6 answers to this question

Recommended Posts

Posted (edited)

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
Posted

Maybe try it like...

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

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...