Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 68
  1. #21
    Hello,

    First off I'd like to say your script is awesome, I have had a go at making this one up with your script.

    I'm hoping it's right what I was after was 1-warn,1-kick, then the temp-ban, yours is 2 warns then a kick, then temp-ban not sure if I have messed it up I haven't had a chance to test this modified one.

    Yes we allow certain weapons on the server is why I redid it.

    So to cut out the dribble is this 1-warn, 1-kick, then temp-ban I like how if you rejoin after the temp ban has expired if the player does it again it's straight back to the temp ban.

    I changed the values to what I thought were right for one warn.

    Code:
    ## BY COLONELSEVEN
    # INFORMATION ON FIRST SPAWN
    On Spawn;PlayerFirst;PlayerSay ::: No M320HE,M320LVG,Rockets!;PlayerYell ::: No M320HE,M320LVG,Rockets!
    
    # KILL AND KICK RULESyyesy
    On Kill;Not Weapon U_Flashbang;On Kill;Not Weapon U_C4;On Kill;Not Weapon U_C4_Support;On Kill;Not Weapon U_Claymore;On Kill;Not Weapon U_Claymore_Recon;On Kill;Not Weapon U_Grenade_RGO;On Kill;Not Weapon U_M34;On Kill;Not Weapon U_M67;On Kill;Not Weapon U_V40;On Kill;Not Weapon U_XM25;Damage Explosive,ProjectileExplosive;PlayerCount 2;Log ::: ^1%p% ^0was BANNED for using a ^1%w%;Say ::: BANNED: %p% for using a %w%;TempBan 1800 %p%, No M320HE,M320LVG,Rockets! (30m ban)! You used a %w%.
    On Kill;Not Weapon U_Flashbang;On Kill;Not Weapon U_C4;On Kill;Not Weapon U_C4_Support;On Kill;Not Weapon U_Claymore;On Kill;Not Weapon U_Claymore_Recon;On Kill;Not Weapon U_Grenade_RGO;On Kill;Not Weapon U_M34;On Kill;Not Weapon U_M67;On Kill;Not Weapon U_V40;On Kill;Not Weapon U_XM25;Damage Explosive,ProjectileExplosive;PlayerCount 1;Log ::: ^1%p% ^0was KICKED for using a ^1%w%;Say ::: KICKED: %p% for using a %w%;Kick %p%, No M320HE,M320LVG,Rockets! You used a %w%.
    On Kill;Not Weapon U_Flashbang;On Kill;Not Weapon U_C4;On Kill;Not Weapon U_C4_Support;On Kill;Not Weapon U_Claymore;On Kill;Not Weapon U_Claymore_Recon;On Kill;Not Weapon U_Grenade_RGO;On Kill;Not Weapon U_M34;On Kill;Not Weapon U_M67;On Kill;Not Weapon U_V40;On Kill;Not Weapon U_XM25;Damage Explosive,ProjectileExplosive;PlayerCount 0;Log ::: ^1%p% ^0has ^1%c%/1 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/1 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/1 for using a %w%;Kill 100
    On Kill;Not Weapon U_Flashbang;On Kill;Not Weapon U_C4;On Kill;Not Weapon U_C4_Support;On Kill;Not Weapon U_Claymore;On Kill;Not Weapon U_Claymore_Recon;On Kill;Not Weapon U_Grenade_RGO;On Kill;Not Weapon U_M34;On Kill;Not Weapon U_M67;On Kill;Not Weapon U_V40;On Kill;Not Weapon U_XM25;Damage Explosive,ProjectileExplosive;Log ::: ^1%p% ^0has ^1%c%/1 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/1 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/1 for using a %w%;Kill 100
    
    # WARNING YELL ON SPAWN
    On Spawn;If %warnyell% == 1;Log ::: warning yell^1 1/1 ^0given to ^1%p%;PlayerYell %p%, you've 1/1 offenses! No M320HE,M320LVG,Rockets! NEXT WILL BE A KICK;Set %warnyell% 0
    Again thank you this script is way better than the one I did. (with help)
    Last edited by -Slayer-; 25-02-2014 at 13:43.


    Donating keeps them going, please help out. (click sigs)

  2. #22
    Quote Originally Posted by chesterfield View Post
    Sevendot
    Is this correct? Pls take a look, thx

    ## BY COLONELSEVEN
    # INFORMATION ON FIRST SPAWN Metro 2014
    On Spawn;Map XP0_Metro;PlayerFirst;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerYell ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED

    # INFORMATION ON FIRST SPAWN O. Locker
    On Spawn;Map MP_Prison;PlayerFirst;PlayerSay ::: O. Locker: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: O. Locker: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: O. Locker: EXPLOSIVES ARE NOT ALLOWED;PlayerYell ::: O. Locker: EXPLOSIVES ARE NOT ALLOWED

    # KILL AND KICK RULES
    On Kill;Map XP0_Metro,MP_Prison;Not Weapon U_Flashbang;Damage Explosive,ProjectileExplosive;PlayerCount 2;Log ::: ^1%p% ^0was KICKED for using a ^1%w%;Say ::: KICKED: %p% for using a %w%;Kick %p%, No Explosives on Metro 2014! You used a %w%.
    On Kill;Map XP0_Metro,MP_Prison;Not Weapon U_Flashbang;Damage Explosive,ProjectileExplosive;PlayerCount 1;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 2;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100
    On Kill;Map XP0_Metro,MP_Prison;Not Weapon U_Flashbang;Damage Explosive,ProjectileExplosive;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100

    # WARNING YELL ON SPAWN
    On Spawn;Map XP0_Metro;If %warnyell% == 2;Log ::: METRO 2014 warning yell^2 2/2 ^0given to ^1%p%;PlayerYell %p%, you've 2/2 offenses! NEXT WILL BE A KICK;Set %warnyell% 0
    On Spawn;Map XP0_Metro;If %warnyell% == 1;Log ::: METRO 2014 warning yell^2 1/2 ^0given to ^1%p%;PlayerYell %p%, you've 1/2 offenses! No explosives!;Set %warnyell% 0

    # KILL AND KICK RULES M320 & Airburst
    On Kill;Not Map XP0_Metro,MP_Prison;Weapon U_M320_HE,U_M320_LVG,U_XM25;PlayerCount 2;Log ::: ^1%p% ^0was KICKED for using a ^1%w%;Say ::: KICKED: %p% for using a %w%;Kick %p%, No Explosives on Metro 2014! You used a %w%.
    On Kill;Not Map XP0_Metro,MP_Prison;Weapon U_M320_HE,U_M320_LVG,U_XM25;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 2;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100
    On Kill;Not Map XP0_Metro,MP_Prison;Weapon U_M320_HE,U_M320_LVG,U_XM25;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100
    How can i post this with a code window?

  3. #23
    Quote Originally Posted by chesterfield View Post
    How can i post this with a code window?
    chesterfield instead of
    Code:
    [quote][ /quote]
    use the word code in place of quote, this is what yours look like in the code box.

    Code:
    ## BY COLONELSEVEN
    # INFORMATION ON FIRST SPAWN Metro 2014
    On Spawn;Map XP0_Metro;PlayerFirst;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerYell ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED
    
    # INFORMATION ON FIRST SPAWN O. Locker
    On Spawn;Map MP_Prison;PlayerFirst;PlayerSay ::: O. Locker: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: O. Locker: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: O. Locker: EXPLOSIVES ARE NOT ALLOWED;PlayerYell ::: O. Locker: EXPLOSIVES ARE NOT ALLOWED
    
    # KILL AND KICK RULES
    On Kill;Map XP0_Metro,MP_Prison;Not Weapon U_Flashbang;Damage Explosive,ProjectileExplosive;PlayerCount 2;Log ::: ^1%p% ^0was KICKED for using a ^1%w%;Say ::: KICKED: %p% for using a %w%;Kick %p%, No Explosives on Metro 2014! You used a %w%.
    On Kill;Map XP0_Metro,MP_Prison;Not Weapon U_Flashbang;Damage Explosive,ProjectileExplosive;PlayerCount 1;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 2;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100
    On Kill;Map XP0_Metro,MP_Prison;Not Weapon U_Flashbang;Damage Explosive,ProjectileExplosive;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100
    
    # WARNING YELL ON SPAWN
    On Spawn;Map XP0_Metro;If %warnyell% == 2;Log ::: METRO 2014 warning yell^2 2/2 ^0given to ^1%p%;PlayerYell %p%, you've 2/2 offenses! NEXT WILL BE A KICK;Set %warnyell% 0
    On Spawn;Map XP0_Metro;If %warnyell% == 1;Log ::: METRO 2014 warning yell^2 1/2 ^0given to ^1%p%;PlayerYell %p%, you've 1/2 offenses! No explosives!;Set %warnyell% 0
    
    # KILL AND KICK RULES M320 & Airburst
    On Kill;Not Map XP0_Metro,MP_Prison;Weapon U_M320_HE,U_M320_LVG,U_XM25;PlayerCount 2;Log ::: ^1%p% ^0was KICKED for using a ^1%w%;Say ::: KICKED: %p% for using a %w%;Kick %p%, No Explosives on Metro 2014! You used a %w%.
    On Kill;Not Map XP0_Metro,MP_Prison;Weapon U_M320_HE,U_M320_LVG,U_XM25;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 2;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100
    On Kill;Not Map XP0_Metro,MP_Prison;Weapon U_M320_HE,U_M320_LVG,U_XM25;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100
    Does look better now.
    Last edited by -Slayer-; 25-02-2014 at 13:44.


    Donating keeps them going, please help out. (click sigs)

  4. #24
    Code:
    ## BY COLONELSEVEN
    # INFORMATION ON FIRST SPAWN Metro 2014
    On Spawn;Map XP0_Metro;PlayerFirst;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerYell ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED
    
    # INFORMATION ON FIRST SPAWN O. Locker
    On Spawn;Map MP_Prison;PlayerFirst;PlayerSay ::: O. Locker: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: O. Locker: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: O. Locker: EXPLOSIVES ARE NOT ALLOWED;PlayerYell ::: O. Locker: EXPLOSIVES ARE NOT ALLOWED
    
    # INFORMATION ON FIRST SPAWN ALL OTHER MAPS
    On Spawn;Not Map XP0_Metro,MP_Prison;PlayerFirst;PlayerSay ::: !rules: No M320 HE/LVG & XM25 Airb.!;PlayerSay ::: !rules: No M320 HE/LVG & XM25 Airb.!;PlayerSay ::: !rules: No M320 HE/LVG & XM25 Airb.!;PlayerYell ::: !rules: No M320 HE/LVG & XM25 Airb.!
    
    # KILL AND KICK RULES METRO & LOCKER
    On Kill;Map XP0_Metro,MP_Prison;Not Weapon U_Flashbang;Damage Explosive,ProjectileExplosive;PlayerCount 2;Log ::: ^1%p% ^0was KICKED for using a ^1%w%;Say ::: KICKED: %p% for using a %w%;Kick %p%, No Explosives ON Metro/Locker! You used a %w%.
    On Kill;Map XP0_Metro,MP_Prison;Not Weapon U_Flashbang;Damage Explosive,ProjectileExplosive;PlayerCount 1;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 2;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100
    On Kill;Map XP0_Metro,MP_Prison;Not Weapon U_Flashbang;Damage Explosive,ProjectileExplosive;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100
    
    # KILL AND KICK RULES OTHER MAPS M320 & Airburst
    On Kill;Not Map XP0_Metro,MP_Prison;Weapon U_M320_HE,U_M320_LVG,U_XM25;PlayerCount 2;Log ::: ^1%p% ^0was KICKED for using a ^1%w%;Say ::: KICKED: %p% for using a %w%;Kick %p%, No M320 HE/LVG & XM25 Airb.! You used a %w%.
    On Kill;Not Map XP0_Metro,MP_Prison;Weapon U_M320_HE,U_M320_LVG,U_XM25;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 2;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100
    On Kill;Not Map XP0_Metro,MP_Prison;Weapon U_M320_HE,U_M320_LVG,U_XM25;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100
    
    # WARNING YELL ON SPAWN Metro
    On Spawn;Map XP0_Metro;If %warnyell% == 2;Log ::: METRO 2014 warning yell^2 2/2 ^0given to ^1%p%;PlayerYell %p%, you've 2/2 offenses! NEXT WILL BE A KICK;Set %warnyell% 0
    On Spawn;Map XP0_Metro;If %warnyell% == 1;Log ::: METRO 2014 warning yell^2 1/2 ^0given to ^1%p%;PlayerYell %p%, you've 1/2 offenses! No explosives!;Set %warnyell% 0
    
    # WARNING YELL ON SPAWN LOCKER
    On Spawn;Map MP_Prison;If %warnyell% == 2;Log ::: O. Locker warning yell^2 2/2 ^0given to ^1%p%;PlayerYell %p%, you've 2/2 offenses! NEXT WILL BE A KICK;Set %warnyell% 0
    On Spawn;Map MP_Prison;If %warnyell% == 1;Log ::: O. Locker warning yell^2 1/2 ^0given to ^1%p%;PlayerYell %p%, you've 1/2 offenses! No explosives!;Set %warnyell% 0
    
    # WARNING YELL ON ALL OTHER MAPS
    On Spawn;Not XP0_Metro,MP_Prison;If %warnyell% == 2;Log ::: warning yell^2 2/2 ^0given to ^1%p%;PlayerYell %p%, you've 2/2 offenses! NEXT WILL BE A KICK;Set %warnyell% 0
    On Spawn;Not XP0_Metro,MP_Prison;If %warnyell% == 1;Log ::: warning yell^2 1/2 ^0given to ^1%p%;PlayerYell %p%, you've 1/2 offenses! No M320 HE/LVG & XM25 Airb.!;Set %warnyell% 0

    I am confused will this fit? code correct?

    Thx a lot

  5. #25
    Quote Originally Posted by virusdead View Post
    I did as you told me but it does not work the guy is not killed or kicked
    I pence I made ​​a mistake.
    The code is still the same. You didn't change it. It's ignoring C4 and Claymore's and kicking on Explosives.

    @Doom69

    Looks great! I've made a few changes to shrink the code down a bit. It's untested (I'm at work) but give it a shot!
    I've added a temp ban check. You can change the value below. You can uncomment (#) the automated ban as well.

    Code:
    ## BY COLONELSEVEN - Modified by Doom69
    # INFORMATION ON FIRST SPAWN
    On Spawn;PlayerFirst;PlayerSay ::: No M320HE,M320LVG,Rockets!;PlayerYell ::: No M320HE,M320LVG,Rockets!
    
    # BAN CHECK
    #On Spawn;PlayerFirst;If %ini_bans_[%p%]% == 5;TempBan 86400 %p%, you've been banned 5 times before. Therefore a 24 hour ban.;Set %ini_bans_[%p%]% 0
    On Spawn;PlayerOnce;If %ini_bans_[%p%]% > 0;Log ^1%p% ^0has ^2%ini_bans_[%p%]% ^0previous temporary bans.
    
    # KILL AND KICK RULES
    On Kill;Not Weapon U_Flashbang,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon,U_Grenade_RGO,U_M34,U_M67,U_V40,U_XM25;Damage Explosive,ProjectileExplosive;PlayerCount 2;Log ::: ^1%p% ^0was BANNED for using a ^1%w%;Incr %ini_bans_[%p%]%;Say ::: BANNED: %p% for using a %w%;TempBan 1800 %p%, No M320HE,M320LVG,Rockets! (30m ban)! You used a %w%.
    On Kill;Not Weapon U_Flashbang,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon,U_Grenade_RGO,U_M34,U_M67,U_V40,U_XM25;Damage Explosive,ProjectileExplosive;PlayerCount 1;Log ::: ^1%p% ^0was KICKED for using a ^1%w%;Say ::: KICKED: %p% for using a %w%;Kick %p%, No M320HE,M320LVG,Rockets! You used a %w%.
    On Kill;Not Weapon U_Flashbang,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon,U_Grenade_RGO,U_M34,U_M67,U_V40,U_XM25;Damage Explosive,ProjectileExplosive;PlayerCount 0;Log ::: ^1%p% ^0has ^1%c%/1 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/1 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/1 for using a %w%;Kill 100
    
    # WARNING YELL ON SPAWN
    On Spawn;If %warnyell% == 1;Log ::: warning yell^1 1/1 ^0given to ^1%p%;PlayerYell %p%, you've 1/1 offenses! No M320HE,M320LVG,Rockets! NEXT WILL BE A KICK;Set %warnyell% 0
    @chesterfield
    I check the code and it looks good! I'd say, grab a clan member and test it!
    Last edited by Sevendot; 25-02-2014 at 21:06.

  6. #26
    Hi Sevendot

    Great script and I really like the repeated t ban, it's really good for nade spammers and the whole script is sooo much better than my original attempt at no explosives

    I tried modding it to warn once,kick and then t ban for all explosives including shotgun frag ammo and made a mess of it
    It still works but still warns twice

    Also, is there any way of stopping all the METRO 2014: EXPLOSIVES ARE NOT ALLOWED spam in the procon chat, I've tried all the different logging options and it still does it.

    The player say/yell rules are also a mess, my fault again!

    I would also like the option of changing it to kill then kick with no warning, would a hash on the kill line do this?

    Thanks

    Yupster

    Edit: Can the !rules option be turned on by script?

    Code:
    ## BY COLONELSEVEN
    # INFORMATION ON FIRST SPAWN
    On Spawn;Map XP0_Metro;PlayerFirst;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerYell ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED
    
    # KILL AND KICK RULES
    On Kill;Map XP0_Metro;Damage Explosive,ProjectileExplosive;PlayerCount 3;Log ::: ^1%p% ^0was BANNED for using a ^1%w%;Say ::: BANNED: %p% for using a %w%;TempBan 1800 %p%, No Explosives (30m ban)! You used a %w%.
    On Kill;Map XP0_Metro;Damage Explosive,ProjectileExplosive;PlayerCount 2;Log ::: ^1%p% ^0was KICKED for using a ^1%w%;Say ::: KICKED: %p% for using a %w%;Kick %p%, No Explosives on Metro 2014! You used a %w%.
    #On Kill;Map XP0_Metro;Damage Explosive,ProjectileExplosive;PlayerCount 1;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 2;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/2 for using a %w%;Kill 100
    On Kill;Map XP0_Metro;Damage Explosive,ProjectileExplosive;Log ::: ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning  for using a %w%;PlayerSay ::: WARNING: %p%, warning for using a %w%;Kill 100
    
    # WARNING YELL ON SPAWN
    On Spawn;Map XP0_Metro;If %warnyell% == 2;Log ::: METRO 2014 warning yell given to ^1%p%;PlayerYell %p%, you've 1 offense! NEXT WILL BE A KICK;Set %warnyell% 0
    #On Spawn;Map XP0_Metro;If %warnyell% == 1;Log ::: METRO 2014 warning yell^2 1/2 ^0given to ^1%p%;PlayerYell %p%, you've 1/2 offenses! No explosives!;Set %warnyell% 0
    Last edited by Yupster; 25-02-2014 at 22:18.

  7. #27
    Quote Originally Posted by Yupster View Post
    Also, is there any way of stopping all the METRO 2014: EXPLOSIVES ARE NOT ALLOWED spam in the procon chat, I've tried all the different logging options and it still does it.

    The player say/yell rules are also a mess, my fault again!

    I would also like the option of changing it to kill then kick with no warning, would a hash in the kill line do this?
    I don't think you can disable the display in chat. ProconRulz displays all chat output in the chat window of Procon per default.

    I've edited it. Now does a shout in chat first spawn and a yell. Then on second spawn another chat shout. Now people can not say they haven't been warned about the rules.

    Offense 1 = Warning 1/1 (1 out of 1) and Kills the player.
    Offense 2 = Kick
    Offense 3 = Ban

    If a user kills 3 people with a grenade, instant ban for 30 mins.

    Have a look:

    Code:
    ## BY COLONELSEVEN
    # INFORMATION ON FIRST SPAWN ONLY
    On Spawn;Map XP0_Metro;PlayerFirst;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerYell ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;Set %broadcastagain% 1
    # INFORMATION ON SECOND SPAWN ONLY
    On Spawn;Map XP0_Metro;Not PlayerFirst;If %broadcastagain% == 1;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: METRO 2014: EXPLOSIVES ARE NOT ALLOWED;Set %broadcastagain% 0
    
    # KILL AND KICK RULES
    On Kill;Map XP0_Metro;Damage Explosive,ProjectileExplosive;PlayerCount 2;Log ::: ^1%p% ^0was BANNED for using a ^1%w%;Say ::: BANNED: %p% for using a %w%;TempBan 1800 %p%, No Explosives (30m ban)! You used a %w%.
    On Kill;Map XP0_Metro;Damage Explosive,ProjectileExplosive;PlayerCount 1;Log ::: ^1%p% ^0was KICKED for using a ^1%w%;Say ::: KICKED: %p% for using a %w%;Kick %p%, No Explosives on Metro 2014! You used a %w%.
    On Kill;Map XP0_Metro;Damage Explosive,ProjectileExplosive;Log ::: ^1%p% ^0has ^2%c%/1 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning 1/1 for using a %w%;PlayerSay ::: WARNING: %p%, warning 1/1 for using a %w%;Kill 100
    
    # WARNING YELL ON SPAWN
    On Spawn;Map XP0_Metro;If %warnyell% == 1;Log ::: METRO 2014 warning yell 1/1 given to ^1%p%;PlayerYell %p%, you've 1/1 offenses! NEXT WILL BE A KICK;Set %warnyell% 0

  8. #28
    Senior Member
    Join Date
    Oct 2012
    Location
    FRANCE
    Posts
    146
    Can you tell me if the script is correct

    Code:
    # INFORMATION ON FIRST SPAWN
    ## BY COLONELSEVEN
    On Spawn;Map XP0_Metro;PlayerFirst;PlayerSay ::: METRO 2014: P_EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: METRO 2014: P_EXPLOSIVES ARE NOT ALLOWED;PlayerSay ::: METRO 2014: P_EXPLOSIVES ARE NOT ALLOWED;PlayerYell ::: METRO 2014: P_EXPLOSIVES ARE NOT ALLOWED
    
    # BAN CHECK
    #On Spawn;PlayerFirst;If %ini_bans_[%p%]% == 3;TempBan 86400 %p%, you've been banned 3 times before. Therefore a 24 hour ban.;Set %ini_bans_[%p%]% 0
    On Spawn;PlayerOnce;If %ini_bans_[%p%]% > 0;Log ^1%p% ^0has ^2%ini_bans_[%p%]% ^0previous temporary bans.
    
    # KILL AND KICK RULES
    On Kill;Not Weapon U_Flashbang,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon,U_XM25;Damage Explosive,ProjectileExplosive;PlayerCount 2;Log ::: ^1%p% ^0was BANNED for using a ^1%w%;Incr %ini_bans_[%p%]%;Say ::: BANNED: %p% for using a %w%;TempBan 1800 %p%, No M320HE,M320LVG,Rockets! (30m ban)! You used a %w%.
    On Kill;Not Weapon U_Flashbang,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon,U_XM25;Damage Explosive,ProjectileExplosive;PlayerCount 1;Log ::: ^1%p% ^0was KICKED for using a ^1%w%;Say ::: KICKED: %p% for using a %w%;Kick %p%, No M320HE,M320LVG,Rockets! You used a %w%.
    On Kill;Not Weapon U_Flashbang,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon,U_XM25;Damage Explosive,ProjectileExplosive;PlayerCount 0;Log ::: ^1%p% ^0has ^1%c%/1 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/1 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/1 for using a %w%;Kill 100
    
    # WARNING YELL ON SPAWN
    On Spawn;If %warnyell% == 1;Log ::: warning yell^1 1/1 ^0given to ^1%p%;PlayerYell %p%, you've 1/1 offenses! No M320HE,M320LVG,Rockets! NEXT WILL BE A KICK;Set %warnyell% 0

  9. #29
    Yes, that script works.

    It excludes Flashbang, C4, Claymore, Airburst. Meaning, they're allowed. All other explosives are not.

    Take note that it applies this rule on ALL maps. Not just Metro 2014.
    Because On Kill;Not Weapon U_Flashbang is written. Not On Kill;Map XP0_Metro;Not Weapon U_Flashbang.

  10. #30
    Quote Originally Posted by Sevendot View Post
    @Doom69

    Looks great! I've made a few changes to shrink the code down a bit. It's untested (I'm at work) but give it a shot!
    I've added a temp ban check. You can change the value below. You can uncomment (#) the automated ban as well.

    Code:
    ## BY COLONELSEVEN - Modified by Doom69
    # INFORMATION ON FIRST SPAWN
    On Spawn;PlayerFirst;PlayerSay ::: No M320HE,M320LVG,Rockets!;PlayerYell ::: No M320HE,M320LVG,Rockets!
    
    # BAN CHECK
    #On Spawn;PlayerFirst;If %ini_bans_[%p%]% == 5;TempBan 86400 %p%, you've been banned 5 times before. Therefore a 24 hour ban.;Set %ini_bans_[%p%]% 0
    On Spawn;PlayerOnce;If %ini_bans_[%p%]% > 0;Log ^1%p% ^0has ^2%ini_bans_[%p%]% ^0previous temporary bans.
    
    # KILL AND KICK RULES
    On Kill;Not Weapon U_Flashbang,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon,U_Grenade_RGO,U_M34,U_M67,U_V40,U_XM25;Damage Explosive,ProjectileExplosive;PlayerCount 2;Log ::: ^1%p% ^0was BANNED for using a ^1%w%;Incr %ini_bans_[%p%]%;Say ::: BANNED: %p% for using a %w%;TempBan 1800 %p%, No M320HE,M320LVG,Rockets! (30m ban)! You used a %w%.
    On Kill;Not Weapon U_Flashbang,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon,U_Grenade_RGO,U_M34,U_M67,U_V40,U_XM25;Damage Explosive,ProjectileExplosive;PlayerCount 1;Log ::: ^1%p% ^0was KICKED for using a ^1%w%;Say ::: KICKED: %p% for using a %w%;Kick %p%, No M320HE,M320LVG,Rockets! You used a %w%.
    On Kill;Not Weapon U_Flashbang,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon,U_Grenade_RGO,U_M34,U_M67,U_V40,U_XM25;Damage Explosive,ProjectileExplosive;PlayerCount 0;Log ::: ^1%p% ^0has ^1%c%/1 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/1 for using a %w%;PlayerSay ::: WARNING: %p%, warning %c%/1 for using a %w%;Kill 100
    
    # WARNING YELL ON SPAWN
    On Spawn;If %warnyell% == 1;Log ::: warning yell^1 1/1 ^0given to ^1%p%;PlayerYell %p%, you've 1/1 offenses! No M320HE,M320LVG,Rockets! NEXT WILL BE A KICK;Set %warnyell% 0
    Thank you, much appreciated, I see where you shrunk it down by removing all the On Kill;Not Weapon it does make it much neater still getting the hang of this code stuff for proconrulz.

    It works well been running it the last couple of days on the server thought I'd let you know it's working.


    Donating keeps them going, please help out. (click sigs)

 

 

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
  •