Page 606 of 608 FirstFirst ... 106506556596604605606607608 LastLast
Results 6,051 to 6,060 of 6077
  1. #6051
    Senior Member
    Join Date
    Feb 2015
    Location
    netherlands
    Posts
    278
    Grr,, doesnt work, this is confusing,, al other weps are working with it.

  2. #6052
    Senior Member
    Join Date
    Mar 2014
    Location
    Russia, Moscow
    Posts
    484
    Maybe try %ini_prohibitionshotgun_kills[%p%]%
    Better %ini_prohibitionshotgun_kills[%ea_guid%]%

    Code:
    On kill;damage shotgun;Incr %ini_prohibitionshotgun_kills[%ea_guid%]%
    	If %ini_prohibitionshotgun_kills[%ea_guid%]% >= 6;Set %ini_prohibitionshotgun_kills[%ea_guid%]% 1
    	If %ini_prohibitionshotgun_kills[%ea_guid%]% == 1;playersay %p% killed for using shotguns 1/4;kill 1500;say NO SHOTGUNS HERE!
    	If %ini_prohibitionshotgun_kills[%ea_guid%]% == 2;playersay %p% killed for using shotguns 2/4;kill 1500;say NO SHOTGUNS HERE!
    	If %ini_prohibitionshotgun_kills[%ea_guid%]% == 3;playersay %p% killed for using shotguns 3/4 next is kick;kill 1500;say NO SHOTGUNS HERE!
    	If %ini_prohibitionshotgun_kills[%ea_guid%]% == 4;playersay %p% kicked for using shotguns;kick cant u read? NO shotguns;say %p% got kicked for shotgun abuse;say NO SHOTGUNS HERE!
    	If %ini_prohibitionshotgun_kills[%ea_guid%]% == 5;playersay %p% timebanned for using shotguns;tban 3600 cant u read? NO shotguns;say %p% got timebanned for shotgun abuse;say NO SHOTGUNS HERE!
    Last edited by Hodor; 10-08-2017 at 02:17.

  3. #6053
    Senior Member
    Join Date
    Mar 2014
    Location
    Russia, Moscow
    Posts
    484
    Why this shit happens? When i try to restart proconrulz i got errors sometimes (not not always
    ) and my _proconrulz.ini goes to 0 KB from 2400 KB... How to fix this shit?

    Code:
    [23:56:43 85] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:43 85] ProconRulz: process_part rule.unparsed_rule = [	Set %ini_weaponrestrictmsg_msgp5% "Без Взрывов/Дробовиков | Гранаты разрешены, но есть лимит!"]
    [23:56:43 85] ProconRulz: process_part player_name = (null)
    [23:56:43 85] ProconRulz: process_part p.part_type = Set
    [23:56:43 85] ProconRulz: process_part k.Killer.SoldierName = (k=null)
    [23:56:43 85] ProconRulz: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
      at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2+KeyCollection+Enumerator[TKey,TValue].MoveNext () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x0009f] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0 
    [23:56:44 20] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:44 20] ProconRulz: process_part rule.unparsed_rule = [	Set %ini_weaponrestrictmsg_msgp6% "НЕ НАРУШАЙ, А ТО ЗАБАНИТ"]
    [23:56:44 20] ProconRulz: process_part player_name = (null)
    [23:56:44 20] ProconRulz: process_part p.part_type = Set
    [23:56:44 20] ProconRulz: process_part k.Killer.SoldierName = (k=null)
    [23:56:44 20] ProconRulz: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
      at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2+KeyCollection+Enumerator[TKey,TValue].MoveNext () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x00080] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0 
    [23:56:45 20] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:45 20] ProconRulz: process_part rule.unparsed_rule = [	Set %ini_weaponrestrictmsg_msgp9% "-----------------------------------------------------------------------"]
    [23:56:45 20] ProconRulz: process_part player_name = (null)
    [23:56:45 20] ProconRulz: process_part p.part_type = Set
    [23:56:45 20] ProconRulz: process_part k.Killer.SoldierName = (k=null)
    [23:56:45 20] ProconRulz: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
      at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2+KeyCollection+Enumerator[TKey,TValue].MoveNext () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x00080] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0 
    [23:56:45 31] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:45 31] ProconRulz: process_part rule.unparsed_rule = [	Set %ini_srank_%ea_guid%% %ini_srank_%ea_guid%%+3]
    [23:56:45 32] ProconRulz: process_part player_name = [_SSXXXXXXXX]
    [23:56:45 32] ProconRulz: process_part p.part_type = Set
    [23:56:45 32] ProconRulz: process_part k.Killer.SoldierName = [_SSXXXXXXXX]
    [23:56:45 32] ProconRulz: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
      at System.ThrowHelper.ThrowKeyNotFoundException () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x00021] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x00074] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0 
    [23:56:45 54] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:45 54] ProconRulz: process_part rule.unparsed_rule = [	Set %ini_weaponrestrictmsg_msgp10% "No Explosives/Shotguns"]
    [23:56:45 54] ProconRulz: process_part player_name = (null)
    [23:56:45 54] ProconRulz: process_part p.part_type = Set
    [23:56:45 54] ProconRulz: process_part k.Killer.SoldierName = (k=null)
    [23:56:45 54] ProconRulz: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
      at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2+KeyCollection+Enumerator[TKey,TValue].MoveNext () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x00080] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0 
    [23:56:45 61] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:45 62] 
    ProconRulz: process_part rule.unparsed_rule = [	Headshot;Set %ini_srank_%ea_guid%% %ini_srank_%ea_guid%%+20;PlayerSay :::Got 20XP [%ini_srank_%ea_guid%% of %server_srankxpneed_%ea_guid%%]]
    [23:56:45 62] ProconRulz: process_part player_name = [_SSXXXXXXXX]
    [23:56:45 62] ProconRulz: process_part p.part_type = Set
    [23:56:45 62] ProconRulz: process_part k.Killer.SoldierName = [_SSXXXXXXXX]
    [23:56:45 62] ProconRulz: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
      at System.ThrowHelper.ThrowKeyNotFoundException () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x00021] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x00061] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0 
    [23:56:46 77] ProconRulz: recoverable exception in process_part (ProconRulz will continue...)
    [23:56:46 77] ProconRulz: process_part rule.unparsed_rule = [	Set %ini_weaponrestrictmsg_msgv2% "We gave him a warning! | Learn more about the system !asp"]
    [23:56:46 77] ProconRulz: process_part player_name = (null)
    [23:56:46 77] ProconRulz: process_part p.part_type = Set
    [23:56:46 77] ProconRulz: process_part k.Killer.SoldierName = (k=null)
    [23:56:46 77] ProconRulz: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
      at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at System.Collections.Generic.Dictionary`2+KeyCollection+Enumerator[TKey,TValue].MoveNext () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
      at PRoConEvents.ProconRulz+VarsClass.ini_save (System.String filename) [0x00080] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz+VarsClass.set_value (System.String player_name, System.String var_name, System.String assign_value, System.Collections.Generic.Dictionary`2[TKey,TValue] keywords) [0x00141] in <ee55f6234090425684568259e70f05c3>:0 
      at PRoConEvents.ProconRulz.process_part (PRoConEvents.ProconRulz+ParsedRule rule, PRoConEvents.ProconRulz+PartClass p, System.String player_name, PRoCon.Core.Kill k, System.String msg, System.Collections.Generic.Dictionary`2[PRoConEvents.ProconRulz+SubstEnum,System.String]& keywords) [0x0097c] in <ee55f6234090425684568259e70f05c3>:0
    Part of code:
    Code:
    On Init;
    	Set %ini_weaponrestrictmsg_msgp1% "[WARNING: VIOLATION OF THE RULES]"
    	Set %ini_weaponrestrictmsg_msgp2% "No Explosives/Shotguns | Grenades allowed but limited!"
    	Set %ini_weaponrestrictmsg_msgp3% "YOU MAY BE BANNED FOR VIOLATIONS"
    	Set %ini_weaponrestrictmsg_msgp4% "[ВНИМАНИЕ: НАРУШЕНИЕ ПРАВИЛ!]"
    	Set %ini_weaponrestrictmsg_msgp5% "Без Взрывов/Дробовиков | Гранаты разрешены, но есть лимит!"
    	Set %ini_weaponrestrictmsg_msgp6% "НЕ НАРУШАЙ, А ТО ЗАБАНИТ"
    	Set %ini_weaponrestrictmsg_msgp7% "-----------------------------------------------------------------------"
    	Set %ini_weaponrestrictmsg_msgp8% "--- WARNING: VIOLATION OF THE RULES --"
    	Set %ini_weaponrestrictmsg_msgp9% "-----------------------------------------------------------------------"
    	Set %ini_weaponrestrictmsg_msgp10% "No Explosives/Shotguns"
    	Set %ini_weaponrestrictmsg_msgp11% "Grenades allowed but limited!"
    	Set %ini_weaponrestrictmsg_msgp12% "Follow the !rules"
    	Set %ini_weaponrestrictmsg_msgp13% "-----------------------------------------------------------------------"
    	Set %ini_weaponrestrictmsg_msgp14% "---- ВНИМАНИЕ: НАРУШЕНИЕ ПРАВИЛ ----"
    	Set %ini_weaponrestrictmsg_msgp15% "-----------------------------------------------------------------------"
    	Set %ini_weaponrestrictmsg_msgp16% "Без Взрывов/Дробовиков"
    	Set %ini_weaponrestrictmsg_msgp17% "Гранаты разрешены, но есть лимит!"
    	Set %ini_weaponrestrictmsg_msgp18% "Соблюдайте правила !rules"
    	Set %ini_weaponrestrictmsg_msgv2% "We gave him a warning! | Learn more about the system !asp"
    	Set %ini_weaponrestrictmsg_msgv3% "We punished him for it! | Learn more about the system !asp"
    	Set %ini_weaponrestrictmsg_msgv5% "Мы дали ему предупреждение! | Узнайте больше о системе !asp"
    	Set %ini_weaponrestrictmsg_msgv6% "Мы наказали его за это! | Узнайте больше о системе !asp"
    	Set %ini_weaponrestrictmsg_msgv8% "You were killed by prohibited weapon"
    	Set %ini_weaponrestrictmsg_msgv9% "We gave him a warning"
    	Set %ini_weaponrestrictmsg_msgv10% "We punished him for it"
    	Set %ini_weaponrestrictmsg_msgv11% "Learn more about the system !asp"
    	Set %ini_weaponrestrictmsg_msgv13% "Вас убили запрещенным оружием"
    	Set %ini_weaponrestrictmsg_msgv14% "Мы дали ему предупреждение"
    	Set %ini_weaponrestrictmsg_msgv15% "Мы наказали его за это"
    	Set %ini_weaponrestrictmsg_msgv16% "Узнайте больше о системе !asp"

  4. #6054
    Senior Member
    Join Date
    Feb 2015
    Location
    netherlands
    Posts
    278
    hmm, seems that BF4 ,or the combo procon with rconnet has a bug with the %seconds% variable.
    i was making a round time script, but it keeps saying 0.0.0 round time

    Code:
    # round time
    On Round;Set %server_rst% %seconds%
    +On Say;Text !roundtime,!rt,/roundtime,/rt
    +	Set %server_sec.0% %seconds% - %server_rst%
    +	Set %server_min.0% %server_sec.0% / 60
    +	Set %server_hour.0% %server_min.0% / 60
    +	Playersay Round time: %server_hour.0% hour;
    +	PlayerSay Round time: %server_min.0% minutes;
    +	Playersay Round time: %server_sec.0% seconds;
    +	playersay seconds %server_rst% %seconds%
    seems the %server_rst% variable equals the %seconds% variable

  5. #6055
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    229
    Quote Originally Posted by spatieman View Post
    hmm, seems that BF4 ,or the combo procon with rconnet has a bug with the %seconds% variable.
    i was making a round time script, but it keeps saying 0.0.0 round time

    Code:
    # round time
    On Round;Set %server_rst% %seconds%
    +On Say;Text !roundtime,!rt,/roundtime,/rt
    +	Set %server_sec.0% %seconds% - %server_rst%
    +	Set %server_min.0% %server_sec.0% / 60
    +	Set %server_hour.0% %server_min.0% / 60
    +	Playersay Round time: %server_hour.0% hour;
    +	PlayerSay Round time: %server_min.0% minutes;
    +	Playersay Round time: %server_sec.0% seconds;
    +	playersay seconds %server_rst% %seconds%
    seems the %server_rst% variable equals the %seconds% variable
    its a bug by the function '.0'. replace '%server_sec.0%' with '%server_sec%' and it will work, but the numbers looks ugly...
    Developer of the VIP Slot Manager Plugin

  6. #6056
    Senior Member
    Join Date
    Feb 2015
    Location
    netherlands
    Posts
    278
    nop, server_rst keeps the same as seconds
    i tried to make a huge works around.

    not gonna post its complete, that is useless.

    1st block
    Code:
    on init
    if %hms% contains 1: ;set %server_hours% 1 (from 1 to 24)
    if %hms% contains :00: ;set %server_minutes% 00 (from 00 to 59)
    if %hms% contains :00 ;set %server_seconds% 00 (from 00 to 59)
    Etc,etc, for hours,minutes, and seconds.

    2nd block
    Code:
    if %ini_round_time% contains 1: ;set %server_hrs% 1
    if %ini_round_time% contains :00: ;set %server_min% 00
    if %ini_round_time% contains :00 ;set %server_sec% 00
    etc,etc, for stored (fake) start round time

    ok, now the test stuff i made to see if it works (and if it works, i can start calculating.)
    Code:
    # Round time checker
    on say;admin;text /set rt;playersay Setting current time %hms%;set %ini_round_time% %hms%
    on say;admin;text /read rt;playersay Reading set time %ini_round_time%
    
    On Say;admin;Text /set fakert;set %ini_round_time% %targettext%;playersay U set fake RT to -> %ini_round_time%
    if %targettext% = 0;set %ini_round_time% %hms%;playersay U set fake RT to %hms% -> %ini_round_time%
    
    on say;text /rt
    playersay Current time:%hms% Round started at %ini_round_time%
    playersay current round time: %hms% -> %server_hours%:%server_minutes%:%server_seconds%
    playersay storred round time: %ini_round_time% -> %server_hrs%:%server_min%:%server_sec%
    This pure for testing the initial stuff
    /set rt set the the real time in the ini file as round start time
    /set fakert sets a fake time example 11:12:23 as time a round started ,yes, i write in in the INI file
    if no time is set, it uses the realtime

    /read rt reads the fake round time, that works correctly
    /rt reads all variables and post them as playersay.

    reading the realtime %hms% block works as it should be.
    but it goes wrong when reading the %ini_round_time% converted from the 2nd block

    confused......i am....

  7. #6057
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    229
    Quote Originally Posted by spatieman View Post
    nop, server_rst keeps the same as seconds
    i tried to make a huge works around.

    not gonna post its complete, that is useless.

    1st block
    Code:
    on init
    if %hms% contains 1: ;set %server_hours% 1 (from 1 to 24)
    if %hms% contains :00: ;set %server_minutes% 00 (from 00 to 59)
    if %hms% contains :00 ;set %server_seconds% 00 (from 00 to 59)
    Etc,etc, for hours,minutes, and seconds.

    2nd block
    Code:
    if %ini_round_time% contains 1: ;set %server_hrs% 1
    if %ini_round_time% contains :00: ;set %server_min% 00
    if %ini_round_time% contains :00 ;set %server_sec% 00
    etc,etc, for stored (fake) start round time

    ok, now the test stuff i made to see if it works (and if it works, i can start calculating.)
    Code:
    # Round time checker
    on say;admin;text /set rt;playersay Setting current time %hms%;set %ini_round_time% %hms%
    on say;admin;text /read rt;playersay Reading set time %ini_round_time%
    
    On Say;admin;Text /set fakert;set %ini_round_time% %targettext%;playersay U set fake RT to -> %ini_round_time%
    if %targettext% = 0;set %ini_round_time% %hms%;playersay U set fake RT to %hms% -> %ini_round_time%
    
    on say;text /rt
    playersay Current time:%hms% Round started at %ini_round_time%
    playersay current round time: %hms% -> %server_hours%:%server_minutes%:%server_seconds%
    playersay storred round time: %ini_round_time% -> %server_hrs%:%server_min%:%server_sec%
    This pure for testing the initial stuff
    /set rt set the the real time in the ini file as round start time
    /set fakert sets a fake time example 11:12:23 as time a round started ,yes, i write in in the INI file
    if no time is set, it uses the realtime

    /read rt reads the fake round time, that works correctly
    /rt reads all variables and post them as playersay.

    reading the realtime %hms% block works as it should be.
    but it goes wrong when reading the %ini_round_time% converted from the 2nd block

    confused......i am....

    what do you want to do with your script? you want to see only the round time??

    Code:
    on init; Set %server_roundstart% %seconds%
    
    on say;
        Set %tmp_roundtime% %seconds% - %server_roundstart%;
        Set %tmp_roundtime% %tmp_roundtime% / 60;
        Set %tmp_hours% 0
        if %tmp_roundtime% >= 240; Set %tmp_hours% %tmp_hours% + 4; Set %tmp_roundtime% %tmp_roundtime% - 240
        if %tmp_roundtime% >= 120; Set %tmp_hours% %tmp_hours% + 2; Set %tmp_roundtime% %tmp_roundtime% - 120
        if %tmp_roundtime% >= 60; Set %tmp_hours% %tmp_hours% + 1; Set %tmp_roundtime% %tmp_roundtime% - 60
        Set %tmp_minutes% 0
        if %tmp_roundtime% >= 30; Set %tmp_minutes% %tmp_minutes% + 30; Set %tmp_roundtime% %tmp_roundtime% - 30
        if %tmp_roundtime% >= 15; Set %tmp_minutes% %tmp_minutes% + 15; Set %tmp_roundtime% %tmp_roundtime% - 15
        if %tmp_roundtime% >= 8; Set %tmp_minutes% %tmp_minutes% + 8; Set %tmp_roundtime% %tmp_roundtime% - 8
        if %tmp_roundtime% >= 4; Set %tmp_minutes% %tmp_minutes% + 4; Set %tmp_roundtime% %tmp_roundtime% - 4
        if %tmp_roundtime% >= 2; Set %tmp_minutes% %tmp_minutes% + 2; Set %tmp_roundtime% %tmp_roundtime% - 2
        if %tmp_roundtime% >= 1; Set %tmp_minutes% %tmp_minutes% + 1; Set %tmp_roundtime% %tmp_roundtime% - 1
        say round time: %tmp_hours% hours %tmp_minutes% minutes
    Last edited by maxdralle; 24-09-2017 at 12:26. Reason: optimized
    Developer of the VIP Slot Manager Plugin

  8. #6058
    Senior Member
    Join Date
    Feb 2015
    Location
    netherlands
    Posts
    278
    hehe, that did the job.
    i only added on the on say a !rt command.
    pretty anoying when on every thing some1 says the RT is spammed !
    to be honnest, i never tought about this.

  9. #6059
    Senior Member
    Join Date
    Feb 2015
    Location
    netherlands
    Posts
    278
    not sure if it ever cames around here.

    cheap Roundban command
    Where rounds 2 stands for player ban for 2 rounds.(or what ever u want)

    Code:
    on say;admin;text /rban,!rban;targetplayer;say %t% got ROUNDBAN for %targettext%;exec banlist.add name %t% rounds 2 "%targettext%";exec banlist.save;exec banlist.list;

  10. #6060
    Hello I need some help to configure the !rules command for my bf4 server please. On our oldserver in the procon layer this plugin was installed for us. How ever we moved to new provider so need to manually set it up. This is what we have in the proconrulez_rules txt file

    ################################################## ##
    # Server !rules messages
    ################################################## ###

    On Say;Text !rules

    and then we list what we want the rules to be. But no matter what way I do it no response is given to the !rules command. Can some please point me in the direction I need to go to fix this.

 

 

Tags for this Thread

Posting Permissions

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