Page 1 of 11 123 ... LastLast
Results 1 to 10 of 109
  1. #1
    Community Contributor
    Join Date
    Nov 2011
    Posts
    2,970

    !punish and !forgive rules for PRoConRulz plugin.

    These are some rules for creating a !punish/!forgive system for the PRoConRulz plugin. You will need to utilize the PRoConRulz plugin first in order to use these rules.

    Here is the PRoConRulz plugin:
    http://www.phogue.net/forumvb/showth...-admin-actions

    Please refer to that for general support in how to use PRoConRulz. This thread should be reserved for discussing these rules and modifications of these rules.

    No auto punishing:

    Code:
    # Team Kill Notification Rules
    On TeamKill;PlayerSay %p%: watch your fire! #%c%
    On TeamKill;Say %v%: !forgive or !punish
    # Tracking Notification
    On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: payback team kill against %v%.
    On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: team killed %v% twice in a row.
    # Team Kill Tracking Rules
    On TeamKill;Set %server_lastteamkill[%p%]% %v%
    On TeamKill;Set %server_lastteamkiller[%v%]% %p%
    # Automatic Forget
    On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkill[%p%]% 0;Set %server_lastteamkiller[%p%]% 0
    # Team Kill Punish Rule
    On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
    On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm;Set %server_lastteamkiller[%p%]% 0
    On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
    On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.;Set %server_lastteamkiller[%p%]% 0
    How it works:

    If someone is team killed, it informs the killer that they should watch their fire. It also informs the victim that they may !forgive or !punish the team kill.

    If a player team kills someone twice in a row, it reminds the victim that they were team killed by the killer twice in a row.

    If player A team kills player B and then player B team kills player A, it reminds the victim that player B 'payback' team killed player A.

    If player A team kills player B, as soon as player B kills any enemy, it forgets that player B was team killed by player A and forgets who player B last team killed. Also, the enemy player B kills will have their last team killer forgotten.

    If player A team kills player B, and player B types !punish, it kills player A.

    If player A team kills player B, and player B types !forgive, it forgets that player A team killed player B.

    With auto punishing:

    Code:
    # Team Kill Notification Rules
    On TeamKill;PlayerSay %p%: watch your fire! #%c%
    On TeamKill;Say %v%: !forgive or !punish
    # Tracking Notification
    On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: killed for payback team kill against %v%.;Kill
    On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: killed for team killed %v% twice in a row.;Kill
    # Team Kill Tracking Rules
    On TeamKill;Set %server_lastteamkill[%p%]% %v%
    On TeamKill;Set %server_lastteamkiller[%v%]% %p%
    # Automatic Forget
    On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkill[%p%]% 0;Set %server_lastteamkiller[%p%]% 0
    # Team Kill Punish Rule
    On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
    On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm;Set %server_lastteamkiller[%p%]% 0
    On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
    On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.;Set %server_lastteamkiller[%p%]% 0
    How it works:

    If someone is team killed, it informs the killer that they should watch their fire. It also informs the victim that they may !forgive or !punish the team kill.

    If a player A team kills player B twice in a row, it automatically kills player A.

    If player A team kills player B and then player B team kills player A, if automatically kills player B for 'payback' team kill agains player A.

    If player A team kills player B, as soon as player B kills any enemy, it forgets that player B was team killed by player A and forgets who player B last team killed. Also, the enemy player B kills will have their last team killer forgotten.

    If player A team kills player B, and player B types !punish, it kills player A.

    If player A team kills player B, and player B types !forgive, it forgets that player A team killed player B.
    Last edited by ty_ger07; 02-09-2012 at 16:31.

  2. #2
    thanks a lot for this rule!

    Can you add a rule to KICK or BAN a player if he gets punished 3 or 4 times?

  3. #3
    Nice one thanks :-)

  4. #4
    For some reason the punish and forgive does not work for me. Does it show a message if it is enabled to use the command? I copied the rules 1 on 1 so there is no mistake in the rules on our side. Am I doing something wrong? Its in Bf3 btw.

  5. #5
    Community Contributor
    Join Date
    Nov 2011
    Posts
    2,970
    Quote Originally Posted by pr0faker View Post
    For some reason the punish and forgive does not work for me. Does it show a message if it is enabled to use the command? I copied the rules 1 on 1 so there is no mistake in the rules on our side. Am I doing something wrong? Its in Bf3 btw.
    No, with the code above, it doesn't say anything to the player to notify them that they can !punish or !forgive. But, you can make it inform the player using this code which adds 'notifications':

    Code:
    # Team Kill Notification Rules
    On TeamKill;PlayerSay %p%: watch your fire! #%c%
    On TeamKill;PlayerSay %v%: !forgive or !punish
    # Team Kill Tracking Rules
    On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: killed for payback team kill against %v%.;Kill
    On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: killed for team killing %v% twice in a row.;Kill
    On TeamKill;Set %server_lastteamkill[%p%]% %v%
    # Team Kill Punish Rule
    On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0
    On TeamKill;Set %server_lastteamkiller[%v%]% %p%
    On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm
    On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
    On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.
    On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.

  6. #6
    Okay thanks, but still the commands don't seem to work.

  7. #7
    Community Contributor
    Join Date
    Nov 2011
    Posts
    2,970
    What?

    It works just fine...

    Umm...

    You don't see any messages at all? Have you made sure that you are not using an old version of PRoConRulz?

  8. #8
    Hi

    Is there anyway to get a message across the center of the screen to say " Teamkilling will not be tolerated"

    Ive seen something similar in a recent server.

  9. #9
    Community Contributor
    Join Date
    Nov 2011
    Posts
    2,970
    Quote Originally Posted by TRIGGA View Post
    Hi

    Is there anyway to get a message across the center of the screen to say " Teamkilling will not be tolerated"

    Ive seen something similar in a recent server.
    With the new patch, it is now supposedly possible to "Yell" messages. I have not tried it yet and don't know how to yell the message to only a specific player.

  10. #10
    Community Contributor
    Join Date
    Dec 2011
    Posts
    250
    Quote Originally Posted by TRIGGA View Post
    Hi

    Is there anyway to get a message across the center of the screen to say " Teamkilling will not be tolerated"

    Ive seen something similar in a recent server.
    This is a default BF3 setting, it will always do that.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •