Jump to content
  • 0

Request.


Dokie

Question


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

Request an NPC that counts how many times ( You Kick,Punch,Poke,Kiss,Hug ). (:

Sample:


 

post-12830-0-48263100-1365158860_thumb.jpg

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  182
  • Reputation:   36
  • Joined:  01/26/12
  • Last Seen:  

In total or counting by players?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

set $kick,$kick+1;

mes " kick: ^FF0000"+$kick+"^000000";
Link to comment
Share on other sites


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

set $kick,$kick+1;

mes " kick: ^FF0000"+$kick+"^000000";

Thank you very much!

Link to comment
Share on other sites


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


prontera,155,181,5 script Sample 757,{

while( 1 ){

mes "Kick : "+@action[0]+" times.";

mes "Punch : "+@action[1]+" times.";

next;

.@i = select( "Kick","Punch" ) - 1;

@action[.@i]++;

}

close;

}

Link to comment
Share on other sites


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

prontera,155,181,5	script	Sample	757,{
while( 1 ){
	mes "Kick : "+@action[0]+" times.";
	mes "Punch : "+@action[1]+" times.";
	next;
	.@i = select( "Kick","Punch" ) - 1;
	@action[.@i]++;
}
close;
}

Thanks again Emistry.. (:

Edited by whinkong019
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...