Results 1 to 9 of 9
  1. #1

    ProconRulz Camperreport!

    Hallo,
    Ich hoffe hier kann mir jemand weiterhelfen, versuche gerade eine regel zu erstellen um camper zu reporten mit yell Warnung und beim 2ten Report kill beim 3ten kick.

    On Say;Text !CR;PlayerCount 1;Yell First Warning Stop Camping next is Kill
    On Say;Text !CR;PlayerCount 2;Yell Second Warning Stop Camping next is Kick;Kill 0
    On Say;Text !CR;PlayerCount 3;Kick you got kicked for camping;Kick

    soweit funktioniert alles aber nur wird derjenige gekillt und gekickt der den Report meldet.
    Last edited by dezibelmaker; 27-09-2016 at 17:35.

  2. #2
    Sie können nicht automatisch erkennen, wenn Spieler Camping sind.

  3. #3
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    219
    Quote Originally Posted by dezibelmaker View Post
    Hallo,
    Ich hoffe hier kann mir jemand weiterhelfen, versuche gerade eine regel zu erstellen um camper zu reporten mit yell Warnung und beim 2ten Report kill beim 3ten kick.

    On Say;Text !CR;PlayerCount 1;Yell First Warning Stop Camping next is Kill
    On Say;Text !CR;PlayerCount 2;Yell Second Warning Stop Camping next is Kick;Kill 0
    On Say;Text !CR;PlayerCount 3;Kick you got kicked for camping;Kick

    soweit funktioniert alles aber nur wird derjenige gekillt und gekickt der den Report meldet.

    in-game-command: !camp <playername>

    Code:
    ###### 9.6 > !camp <playername>  -  (min. 3 votes, Timeout 300Sek.)    ###############
    
    # SETTINGS: 
    On Say; PlayerFirst;
        Set %camp_enable_min_players% 6
        Set %camp_min_votes_to_kick% 3
        Set %clan_list% "@@[email protected]@[email protected]@[email protected]@"
    
    On Say;Text !votecamp,!camp;
        Set %tmp_camp_step2% 0
        If %ts1% + %ts2% < %camp_enable_min_players%; Say !camp disabled! (min. %camp_enable_min_players% players required)
        If %ts1% + %ts2% >= %camp_enable_min_players%; Set %tmp_votetarget% none;TargetPlayer; Set %tmp_votetarget% %t%;If %tmp_votetarget% != none; Set %tmp_camp_step2% 1
        If %tmp_camp_step2% == 1; If %clan_list% contains @@%tmp_votetarget%@@; Say !camp %tmp_votetarget% CANCELED (player is protected); Set %tmp_camp_step2% 2
        If %tmp_camp_step2% == 1; If %server_global_camp_status_timeout[%tmp_votetarget%]% + 300 >= %seconds%; If %server_global_camp_voted[%p%][%tmp_votetarget%]% == 1; Say !camp %tmp_votetarget% > (%server_global_camp_status[%tmp_votetarget%]%/%camp_min_votes_to_kick% votes); PlayerSay Your vote is already registered
        If %tmp_camp_step2% == 1; If %server_global_camp_status_timeout[%tmp_votetarget%]% + 300 >= %seconds%; If %server_global_camp_voted[%p%][%tmp_votetarget%]% != 1; Set %server_global_camp_voted[%p%][%tmp_votetarget%]% 1; Incr %server_global_camp_status[%tmp_votetarget%]%; Say !camp %tmp_votetarget% > (%server_global_camp_status[%tmp_votetarget%]%/%camp_min_votes_to_kick% votes)
        If %tmp_camp_step2% == 1; If %server_global_camp_status_timeout[%tmp_votetarget%]% + 300 < %seconds%; Set %server_global_camp_status_timeout[%tmp_votetarget%]% %seconds%; Set %server_global_camp_voted[%p%][%tmp_votetarget%]% 1; Set %server_global_camp_status[%tmp_votetarget%]% 1; Say !camp %tmp_votetarget% > (%server_global_camp_status[%tmp_votetarget%]%/%camp_min_votes_to_kick% votes); TargetPlayer; TargetAction PlayerYell %tmp_votetarget% do not camp! WARNING %server_global_camp_status[%tmp_votetarget%]%/%camp_min_votes_to_kick% votes; If %server_global_camp_status[%tmp_votetarget%]% >= 2; If %server_global_camp_status[%tmp_votetarget%]% != %camp_min_votes_to_kick%; Both %tmp_votetarget% do not camp! LAST WARNING - next time KICK; Kill 100
        If %tmp_camp_step2% == 1; If %server_global_camp_status[%tmp_votetarget%]% >= %camp_min_votes_to_kick%; Log ^b^8!camp^0^n  -  %tmp_votetarget% KICKED by vote for camping; Say !camp %tmp_votetarget% KICKED by vote for camping; TargetPlayer; TargetAction Kick kick by vote for camping
        If %tmp_camp_step2% == 0; PlayerSay ERROR: Playername not found. Just type ANY UNIQUE part of the name e.g. !camp <playername>
    Last edited by maxdralle; 28-09-2016 at 23:36.

  4. #4
    I dont get it, what is the purpose of this code? Perhaps reply in an English-spoken thread?

  5. #5
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    219
    Quote Originally Posted by BuRockK View Post
    I dont get it, what is the purpose of this code? Perhaps reply in an English-spoken thread?
    kick by vote for camping...

  6. #6
    @maxdralle danke dir aber gibt es das etwas vereinfacht oder das es keine ausnahmen gibt für clanmemebers oder admins?

  7. #7
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    219
    ist doch schon vereinfacht..
    die folgenden zeilen löschen und es gibt keine aushame für admins oder clan members:
    Code:
    If %tmp_camp_step2% == 1; If %clan_list% contains @@%tmp_votetarget%@@; Say !camp %tmp_votetarget% CANCELED (player is protected); Set %tmp_camp_step2% 2

  8. #8
    ok danke werds ausprobieren aber das ist ein voteing ich wollt nur ne art Report Funktion wo das alles passiert.

  9. #9
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    219
    ja, es auch ein vote wenn 3 leute "reporten" und er dann gekickt wird...
    du kannst die befehle ja umbenennen. von !votecamp in !reportcamp oder so.

 

 

Posting Permissions

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