Results 1 to 2 of 2
  1. #1

    Cool ProconRulz command request

    Hi guys!

    i have a command in ProconRulz for voteban and not votekick!

    Can someone give me ta text to insert to ProconRulz for only votekick?

    this is the command for Vote that i have in proconrulz and i need only votekick




    # INFO: In this list you can put bf4 playernames with voteban protection (admins):
    On Spawn;PlayerFirst;
    Set %VIPList% ""
    Set %VotebanTimeoutSec% 60
    Set %server_votesneeded% 5

    # INFO: Initiate a voteban after in-game-chat request (!voteban playername):
    On Say;Text !votekick,!voteban;
    If %server_global2[%VoteOn%]% == 1;Say Vote to ban %server_votetarget% in progress (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%)
    If %server_global2[%VoteOn%]% != 1;Set %server_votetarget% none;Set %server_global3[%VoteTime%]% %seconds%;TargetPlayer;Set %server_votetarget% %t%;If %voting[%server_votetarget%]% == 0;Set %server_global2[%VoteOn%]% 1;Set %VoteReg% 0;Set %server_votekicks[%server_votetarget%]% none;Say ###########################;Say ###########################;Say ###########################;Say ####### VOTEBAN #######;Say ###########################;Yell Voteban %server_votetarget% Vote by type !yes or !no;Say %p% initiate a vote to ban %server_votetarget%;Say You can vote by type !yes or !no
    If %server_votetarget% == none;PlayerSay ERROR: Playername not found. Just type ANY UNIQUE part of the name e.g. !voteban <playername>
    If %VIPList% contains @@%server_votetarget%@@;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0;Say Vote canceled by admin. This Player is protected!

    # INFO: Ban the voted player for 24 hour (86400Seconds) after 10x yes votes
    On Say;Text !yes;If %server_global2[%VoteOn%]% == 1;
    If %VoteReg% == 1;PlayerSay Your vote is already registered (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%)
    If %VoteReg% != 1;Incr %server_votekicks[%server_votetarget%]%;Say %p% voted to ban %server_votetarget% (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%);Set %VoteReg% 1;Set %MyLastVoteTime% %server_global3[%VoteTime%]%
    If %server_votekicks[%server_votetarget%]% >= %server_votesneeded%;Yell %server_votetarget% banned for 24hour by vote;say %server_votetarget% banned for 24hour by vote;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0;TargetPlayer %server_votetarget%;TargetAction TempBan 86400 banned 24hour by vote;Set %server_votetarget% none

    # INFO: votes to not ban
    On Say;Text !no;If %server_global2[%VoteOn%]% == 1;
    Text !no;If %VIPList% contains @@%p%@@;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0;Say Vote canceled by admin
    If %VoteReg% == 1;PlayerSay Your vote is already registered (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%)
    If %VoteReg% != 1;Decr %server_votekicks[%server_votetarget%]%;Say %p% voted to NOT ban %server_votetarget% (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%);Set %VoteReg% 1;Set %MyLastVoteTime% %server_global3[%VoteTime%]%

    # INFO: Stop voteban after 360Sec. (need a kill-event for reset)
    On Kill;If %server_global2[%VoteOn%]% == 1;If %server_global3[%VoteTime%]% + %VotebanTimeoutSec% =< %seconds%;Say The vote to ban %server_votetarget% has expired! Player will stay;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0
    On Leave;If %server_global2[%VoteOn%]% == 1;If %server_votetarget% == %p%;Say The vote to ban %server_votetarget% has been canceled! Player left the server;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0


    THanks guys!

  2. #2
    The one and only Bassyboy
    Join Date
    Jul 2010
    Location
    Netherlands
    Posts
    3,274
    How many times do I have to ask you to place your questions in the plugin topics? This is the 3rd time.

    In this case you should have asked your question here:
    https://forum.myrcon.com/showthread....-admin-actions


    Again: if you have a question about a plugin, ask that question in the actual plugin topic.
    Will not ask again. Next time, wrongfully created topics will be deleted.

    Closed.
    I won't do support via PM: if you need help, make a topic on the public forums.

 

 

Posting Permissions

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