Jump to content
  • 0

WoE Reward when kill someone


Quazy

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/21/13
  • Last Seen:  

hi guys i need a script that during WoE if you kill someone you will get 3x TCG works only during WoE or in payg_cas02 and payg_cas03!

 

i tried to search for this and i found 2 but not working.. i hope you can help me! i will really appreciate it!

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   381
  • Joined:  02/03/12
  • Last Seen:  

5 hours ago, Quazy said:

I also tried this  one but its not working


-	script	kjbfksjhfkd	-1,{
OnPCKillEvent:
	if (killerrid != getcharid(3)) {
		if (( agitcheck() || agitcheck2() ) && compare(strcharinfo(3),"g_cas")) {
			getitem 512,3;
		}
    }
    end;

You're missing a curly at the end?

-	script	kjbfksjhfkd	-1,{
OnPCKillEvent:
	if (killerrid != getcharid(3))
		if (( agitcheck() || agitcheck2() ) && compare(strcharinfo(3),"g_cas"))
			getitem 512,3;
	end;
}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

OnPCKillEvent:
	if (killerrid != getcharid(3)) {
		if (( agitcheck() || agitcheck2() ) && compare(strcharinfo(3),"g_cas")) {
			getitem 512,3;
		}
    }
    end;

 

Edited by Emistry
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/21/13
  • Last Seen:  

20 hours ago, Emistry said:

OnPCKillEvent:
	if (killerrid != getcharid(3)) {
		if (( agitcheck() || agitcheck2() ) && compare(strcharinfo(3),"cas_g")) {
			getitem 512,3;
		}
    }
    end;

 

not working.. player still cant get item during woe when they killed someone

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

sometime it's good thing if you did check the previous edited post.

compare(strcharinfo(3),"cas_g")

has been fixed to

compare(strcharinfo(3),"g_cas")

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/21/13
  • Last Seen:  

8 hours ago, Emistry said:

sometime it's good thing if you did check the previous edited post.


compare(strcharinfo(3),"cas_g")

has been fixed to


compare(strcharinfo(3),"g_cas")

 

thanks for reply emisty! but still player cant get any items when they killed someone during war of emperium :(

 

321.png

i also tried this  one but its not working

-	script	kjbfksjhfkd	-1,{
OnPCKillEvent:
	if (killerrid != getcharid(3)) {
		if (( agitcheck() || agitcheck2() ) && compare(strcharinfo(3),"g_cas")) {
			getitem 512,3;
		}
    }
    end;

 

Edited by Quazy
screen shot
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/21/13
  • Last Seen:  

On 12/9/2016 at 5:23 PM, Skorm said:

You're missing a curly at the end?


-	script	kjbfksjhfkd	-1,{
OnPCKillEvent:
	if (killerrid != getcharid(3))
		if (( agitcheck() || agitcheck2() ) && compare(strcharinfo(3),"g_cas"))
			getitem 512,3;
	end;
}

 

it works now! thank you scorm and emistry! :)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  05/29/18
  • Last Seen:  

Where do i put this script? in the woe_controller??

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  136
  • Reputation:   48
  • Joined:  06/18/12
  • Last Seen:  

2 hours ago, rhoan57 said:

Where do i put this script? in the woe_controller??

 

You can make your own text file. And put it here npc/custom/ and go to your scripts_custom.conf and input your file there.

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