hyuna Posted April 5, 2013 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 144 Reputation: 4 Joined: 10/28/12 Last Seen: November 29, 2014 Share Posted April 5, 2013 Hi..I wanna ask for a script that will notify a player when killing or being killed by other players. Example: player A & player B player A kills player B: player A's chatbox : You have killed player B. player B's chatbox: You have been killed by player A. Quote Link to comment Share on other sites More sharing options...
icabit Posted April 5, 2013 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 353 Reputation: 70 Joined: 07/14/12 Last Seen: February 12, 2023 Share Posted April 5, 2013 (edited) - script fghk -1,{ OnPCKillEvent: dispbottom "You killed "+ rid2name(killedrid) ; end; OnPCDIeEvent: dispbottom "You have been killed by "+ rid2name(killerrid) ; end; } Edited April 5, 2013 by icabit Quote Link to comment Share on other sites More sharing options...
Capuche Posted April 5, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted April 5, 2013 OnPCDIeEvent: will also trigger when you are killed by monster will notify a player when killing or being killed by other players - script fghk -1,{ OnPCKillEvent: message strcharinfo(0), "You killed "+ rid2name(killedrid) ; message rid2name(killedrid), "You have been killed by "+ strcharinfo(0) ; end; } 1 Quote Link to comment Share on other sites More sharing options...
Renji Abarai Posted April 22, 2013 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 90 Reputation: 0 Joined: 03/29/13 Last Seen: September 16, 2018 Share Posted April 22, 2013 where should i paste this??? sorry i'm just a newbie in script Quote Link to comment Share on other sites More sharing options...
Patskie Posted April 22, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 1 hour ago Share Posted April 22, 2013 where should i paste this??? sorry i'm just a newbie in script Just run the script. npc/ folder Quote Link to comment Share on other sites More sharing options...
Renji Abarai Posted April 24, 2013 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 90 Reputation: 0 Joined: 03/29/13 Last Seen: September 16, 2018 Share Posted April 24, 2013 thanks working btw can you help me???http://rathena.org/board/topic/81921-req-script-effect-of-this-items-i-owe-you/ Quote Link to comment Share on other sites More sharing options...
Question
hyuna
Hi..I wanna ask for a script that will notify a player when killing or being killed by other players.
Example: player A & player B
player A kills player B:
player A's chatbox : You have killed player B.
player B's chatbox: You have been killed by player A.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.