Jump to content

ProconRulz: Operation Metro 2014 - Prohibit Explosives


ImportBot

Recommended Posts

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
  • Replies 67
  • Created
  • Last Reply

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

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

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

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

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

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:

Posted Image

 

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

Originally Posted by virusdead*:

 

Please post your version of the script so we can look at it.

-

# 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

* Restored post. It could be that the author is no longer active.
Link to comment

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

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

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

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

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

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% 0
Again thank you this script is way better than the one I did. (with help) :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

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

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 100
Does look better now. :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

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% 0
I 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

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
@chesterfield

I check the code and it looks good! I'd say, grab a clan member and test it! :ohmy:

* Restored post. It could be that the author is no longer active.
Link to comment

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 :woot:

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. :huh:

 

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

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. :huh:

 

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

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

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

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. :ohmy:

* Restored post. It could be that the author is no longer active.
Link to comment

Archived

This topic is now archived and is closed to further replies.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.