Results 1 to 10 of 10
  1. #1

    Question Guest run next round if alone at server?

    Hi,
    Does someone know how to make insane limit commands or procon rulz way to grant the guest to be able to run next round if alone at the server?
    I am using adcats also but I do not want guest to do this if not alone.
    Last edited by Talzac; 22-02-2018 at 09:40.

  2. #2
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    271
    yes, its possible with proconrulz. ingame command: !runnextmap

    Code:
    On Say; Text !runnextmap,!runnextround;
        If %ts1% + %ts2% == 1; PlayerSay Starting next round..."; Exec mapList.runNextRound
        If %ts1% + %ts2% > 1; PlayerSay Command CANCELED: You are not alone on the server";
    Developer of the VIP Slot Manager Plugin

  3. #3
    Thanks!
    Is it possible to set a time limit before the map change is allowed? Like 10 - 20 minutes?
    This is to not abuse the function changing map all the time.
    Last edited by Talzac; 22-02-2018 at 09:58.

  4. #4
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    271
    a player can enter the command every 120 seconds

    Code:
    On Say; Text !runnextmap,!runnextround;
        If %ts1% + %ts2% == 1; If 120 + %cmd_nextmap% > %seconds%; PlayerSay Command CANCELED: You can use this command every 120 sec.;
        If %ts1% + %ts2% == 1; If 120 + %cmd_nextmap% < %seconds%; PlayerSay Starting next round..."; Set %cmd_nextmap% %seconds%; Exec mapList.runNextRound
        If %ts1% + %ts2% > 1; PlayerSay Command CANCELED: You are not alone on the server";
    Last edited by maxdralle; 22-02-2018 at 10:18.
    Developer of the VIP Slot Manager Plugin

  5. #5
    Thanks! Very nice!
    Last edited by Talzac; 22-02-2018 at 10:30.

  6. #6
    Is it possible to end the round to "status score menu" instead of just switching map?

  7. #7
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    271
    replace the part
    Exec mapList.runNextRound
    with
    Exec mapList.endRound %ptk%

    it will end the round with a battlereport and points. the winning team will be the team from the player whos entered the command. but it make no sense for 1 player start server. it is statspadding. the best solution is to use the normal version from post #2.

    take a look to the proconrulz pdf:
    http://www.forsterlewis.com/proconrulz.pdf
    Developer of the VIP Slot Manager Plugin

  8. #8
    If 120 + %cmd_nextmap% > %seconds%; seems not to be working, I can not find the command %cmd_nextmap% in the pdf?

  9. #9
    Think I found the problem missing a +
    Set %cmd_nextmap% + %seconds%;

  10. #10
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    271
    no, do not put a + to this part.
    the %cmd_nextmap% is a custom temp variable. all temp variable will be reseted on round end.

    it means the 120 sec timeout will not work when it starts a new round. mhh, use the code from post #2
    Developer of the VIP Slot Manager Plugin

 

 

Posting Permissions

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