Jump to content
  • 0

Dead player will cast text


sweetmole

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   3
  • Joined:  02/25/13
  • Last Seen:  

hello rathena

 

i have this weird idea that when player1 dies it will automatically say "nani?"

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

7 minutes ago, melv0 said:

how to make random word? 

-	script	scriptname#100	-1,{
OnPCDieEvent:
	showscript .words$[rand(getarraysize(.words$))];
	end;
OnInit:
	setarray .words$,"nani?","mada mada","korosah!","konoooo";
	end;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

Kindly use the "OnPCDieEvent"

For referrence go to your rathena-master/doc/script_commands.txt and read how to use it properly. Line 934

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

-	script	scriptname#100	-1,{
OnPCDieEvent:
	showscript "nani?";
	end;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

On 28/3/2018 at 6:24 PM, sader1992 said:

-	script	scriptname#100	-1,{
OnPCDieEvent:
	showscript "nani?";
	end;
}

 

how to make random word? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  05/11/17
  • Last Seen:  

how to put a gender?  for a girl only die or a boy only?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

On 4/23/2018 at 5:58 AM, ichikun1 said:

how to put a gender?  for a girl only die or a boy only?

Add conditional statement Use If condition in the starting of onpcdieevent

  • Love 1
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...