ImportBot Posted February 19, 2014 Share Posted February 19, 2014 Originally Posted by Sevendot*: Usable in a regular map cycle. This only excludes explosives on Metro 2014. Warning 1 = Kill - PlayerYell on next respawn [No explosives!] Warning 2 = Kill - PlayerYell on next respawn [NEXT WILL BE A KICK!] Warning 3 = Kick Warning 4 = Ban (30 minutes) Excluded: Flashbang kill. Because it's awesome. Remove "Not Weapon U_Flashbang" if you want it included. 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;Not Weapon U_Flashbang;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;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;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;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 * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 21, 2014 Author Share Posted February 21, 2014 Originally Posted by virusdead*: YO, the script is really good but I would allow explosive, if I removed the procon gives me errors * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 21, 2014 Author Share Posted February 21, 2014 Originally Posted by Sevendot*: Can you be more specific please? In doubt, paste your code using [ CODE][/ CODE]. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 21, 2014 Author Share Posted February 21, 2014 Originally Posted by virusdead*: Can you be more specific please? In doubt, paste your code using [ CODE][/ 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;Not Weapon U_Flashbang;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;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;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;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 I would use the explosive if I remove it myself but errors * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 22, 2014 Author Share Posted February 22, 2014 Originally Posted by Sevendot*: See below. Only Projectiles like the RPG are now disallowed. Grenades should be allowed. Make sure to test it first and adjust the lines in red. 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;Not Weapon U_Flashbang;Damage 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;Not Weapon U_Flashbang;Damage 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;Not Weapon U_Flashbang;Damage 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;Not Weapon U_Flashbang;Damage 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 * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 22, 2014 Author Share Posted February 22, 2014 Originally Posted by virusdead*: Thank you for your help it works * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 23, 2014 Author Share Posted February 23, 2014 Originally Posted by wdfstryfe*: You have anything for the frag rounds? * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 23, 2014 Author Share Posted February 23, 2014 Originally Posted by Sevendot*: In regard to which weapon(s)? Underslung explosives should already be excluded by the 'Damage Explosive' rule. It should cover anything that goes boom. Let me know. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 23, 2014 Author Share Posted February 23, 2014 Originally Posted by virusdead*: If I want to ban c4 and grenades Claymor authorized your script can do it. I tried but procon me but have error See below. Only Projectiles like the RPG are now disallowed. Grenades should be allowed. Make sure to test it first and adjust the lines in red. 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;Not Weapon U_Flashbang;Damage 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;Not Weapon U_Flashbang;Damage 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;Not Weapon U_Flashbang;Damage 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;Not Weapon U_Flashbang;Damage 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 * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 23, 2014 Author Share Posted February 23, 2014 Originally Posted by Vovan_stalker*: Hi! How to add several maps in script? Can i write so: On Kill;Map XP0_Metro,MP_Prison; ... ? What does it means "Not Weapon U_Flashbang;Damage Explosive,ProjectileExplosive"? How can i allow grenades but disallow Grenade Launchers (M320, Fugas, RPG and others)? And how can i disallow several types of grenades (such as: M67, PRO)? How can i exclude admins from these rules? * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 23, 2014 Author Share Posted February 23, 2014 Originally Posted by Sevendot*: If I want to ban c4 and grenades Claymor authorized your script can do it. I tried but procon me but have error Please post your version of the script so we can look at it. - Hi! How to add several maps in script? Can i write so: On Kill;Map XP0_Metro,MP_Prison; ... ? On Kill;Map Map1,Map2,Map3;DO SOMETHING should work indeed. What does it means "Not Weapon U_Flashbang;Damage Explosive,ProjectileExplosive"? How can i allow grenades but disallow Grenade Launchers (M320, Fugas, RPG and others)? And how can i disallow several types of grenades (such as: M67, PRO)? How can i exclude admins from these rules? On Kill;Not Weapon U_V40,U_M67,U_M34,U_Grenade_RGO,U_Flashbang;Damage Explosive,ProjectileExplosive;Kill 100 When the Weapon is NOT V40,M67,M34,RGO,FLASHBANG, continue to check if the Damage is Explosive or ProjectileExplosive. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 23, 2014 Author Share Posted February 23, 2014 Originally Posted by Vovan_stalker*: What is the difference between Damage Explosive or ProjectileExplosive? I can't understand a little bit. And what is about excluding admins? * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 24, 2014 Author Share Posted February 24, 2014 Originally Posted by Sevendot*: Check the Procon Manual, you'll find the following: Damage Explosive = Grenades, C4, Claymore etc. Damage ProjectileExplosive = RPG, SRAW, IGLA etc. To exclude admins find the option called "Protect these player from Kick or Kill". Screenshot: OR Change the code to: Code: On Kill;Not Admin;Not Weapon U_40,U_....... * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 24, 2014 Author Share Posted February 24, 2014 Originally Posted by Vovan_stalker*: Sevendot, big ths!!! I'll try. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 24, 2014 Author Share Posted February 24, 2014 Originally Posted by virusdead*: Please post your version of the script so we can look at it. - # KILL AND KICK RULESOn Kill;Map XP0_Metro;Not Weapon U_Flashbang,U_C4,U_Claymore;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;Not Weapon U_Flashbang,U_C4,U_Claymore;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;Not Weapon U_Flashbang,U_C4,U_Claymore;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;Not Weapon U_Flashbang,U_C4,U_Claymore;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 * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 24, 2014 Author Share Posted February 24, 2014 Originally Posted by Sevendot*: If I want to ban c4 and grenades Claymor authorized your script can do it. I tried but procon me but have error From what I understand from your earlier post, you wish to BAN C4 and Grenades and Claymore allowed. # KILL AND KICK RULES On Kill;Map XP0_Metro;Not Weapon U_Flashbang,U_C4,U_Claymore;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;Not Weapon U_Flashbang,U_C4,U_Claymore;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;Not Weapon U_Flashbang,U_C4,U_Claymore;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;Not Weapon U_Flashbang,U_C4,U_Claymore;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 Let's go over this, step by step: Code: On Kill; Map XP0_Metro; Not Weapon U_Flashbang,U_C4,U_Claymore; Damage Explosive,ProjectileExplosive; DO SOMETHING On Kill -The player makes a kill. Map XP0_Metro - If the map is XP0_Metro, continue. If the map is NOT XP0_Metro, stop the rest of the rule. Not Weapon U_Flashbang,U_C4,U_Claymore - When the weapon is NOT the following: Flashbang, C4, Claymore continue the rule. When the weapon IS a Flashbang, C4 or a Claymore, stop the rest of the rule. Damage Explosive,ProjectileExplosive - When the damage done IS Explosive or ProjectileExplosive (BIG BADABOOM!) continue the rule. If the damage is Explosive or ProjectileExplosive, stop the rest of the rule. DO SOMETHING - This is the part where you put in an action. For example: Kill, Kick, Ban, Say, PlayerSay etc. - If you don't understand it, read it again. I think you can edit the code to your own desire now! * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 25, 2014 Author Share Posted February 25, 2014 Originally Posted by chesterfield*: Hi Sevendot This is only for Metro yes? Can you do the same with locker pls. And i need the same script for all maps but only m320 and airburst are not allowed. Thx a lot pro * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 25, 2014 Author Share Posted February 25, 2014 Originally Posted by Sevendot*: Hi Sevendot This is only for Metro yes? Can you do the same with locker pls. And i need the same script for all maps but only m320 and airburst are not allowed. Thx a lot pro 1.Edit: Map XP0_Metro To Map XP0_Metro,MP_Prison 2. Copy and paste the code with the KILL AND KICK RULES (so you'll have 8 in stead of 4 lines) and edit: Map XP0_Metro,MP_Prison To Not Map XP0_Metro,MP_Prison Replace: Not Weapon U_Flashbang,U_C4,U_Claymore;Damage Explosive,ProjectileExplosive With Weapon U_M320_HE,U_XM25 * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 25, 2014 Author Share Posted February 25, 2014 Originally Posted by virusdead*: I did as you told me but it does not work the guy is not killed or kicked I pence I made ??a mistake. # KILL AND KICK RULES On Kill;Map XP0_Metro;Not Weapon U_Flashbang,U_C4,U_Claymore;Damage 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;Not Weapon U_Flashbang,U_C4,U_Claymore;Damage 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;Not Weapon U_Flashbang,U_C4,U_Claymore;Damage 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;Not Weapon U_Flashbang,U_C4,U_Claymore;Damage 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 * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 25, 2014 Author Share Posted February 25, 2014 Originally Posted by chesterfield*: 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 * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 25, 2014 Author Share Posted February 25, 2014 Originally Posted by Slayer*: 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% 0Again thank you this script is way better than the one I did. (with help) * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 25, 2014 Author Share Posted February 25, 2014 Originally Posted by chesterfield*: 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? * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 25, 2014 Author Share Posted February 25, 2014 Originally Posted by Slayer*: 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 100Does look better now. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 25, 2014 Author Share Posted February 25, 2014 Originally Posted by chesterfield*: 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% 0I am confused will this fit? code correct? Thx a lot * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 25, 2014 Author Share Posted February 25, 2014 Originally Posted by Sevendot*: 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 @chesterfieldI check the code and it looks good! I'd say, grab a clan member and test it! * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 26, 2014 Author Share Posted February 26, 2014 Originally Posted by Yupster*: 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:smile: 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 * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 26, 2014 Author Share Posted February 26, 2014 Originally Posted by Sevendot*: 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 * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 26, 2014 Author Share Posted February 26, 2014 Originally Posted by virusdead*: 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 * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 26, 2014 Author Share Posted February 26, 2014 Originally Posted by Sevendot*: 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. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 27, 2014 Author Share Posted February 27, 2014 Originally Posted by Slayer*: @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. * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.