Jump to content

ProconRulz V44j1 - weapon limits and other event-triggered admin actions


ColColonCleaner

Recommended Posts

Originally Posted by m4gnet*:

 

Hello!

If i want to reduce snipers on spawn in proconrulz(for example, 2 snipers per team and if > then a person will be killed after the spawn, not after the kill with sniper rifle) what will be the code? Thanks for help

 

P.S. i need something easier than this myrcon.net/.../proconrulz-sniper-limiter-v27-by-tarreltje, without kill after damage, free sniper slote and so on.

Hello!

On Spawn;Damage SniperRifle 2;Not Admin;PlayerSay %p%, already have 2 snipers per %pt%. You killed.;PlayerYell 3000 only 2 snipers allowed;Kill 3000

On Kill;Not Kit Recon;Damage SniperRifle;Not Admin;PlayerSay %p% - NO SNIPER PICKUP. You killed.;PlayerYell 3000 NO SNIPER PICKUP;Kill 3000

 

:biggrin:

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

Originally Posted by ty_ger07*:

 

Hello!

On Spawn;Damage SniperRifle 2;Not Admin;PlayerSay %p%, already have 2 snipers per %pt%. You killed.;PlayerYell 3000 only 2 snipers allowed;Kill 3000

On Kill;Not Kit Recon;Damage SniperRifle;Not Admin;PlayerSay %p% - NO SNIPER PICKUP. You killed.;PlayerYell 3000 NO SNIPER PICKUP;Kill 3000

 

:biggrin:

So admins don't have to follow the rules? That's a pretty easy way to upset your players and cause confrontations. Also, your code seems to not take into consideration how many recons are on each team. Instead, it seems to allow only 2 recons total in the whole server (1 per team or 2 on the same team and 0 on the other team).
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by mimimimi*:

 

Hello!

On Spawn;Damage SniperRifle 2;Not Admin;PlayerSay %p%, already have 2 snipers per %pt%. You killed.;PlayerYell 3000 only 2 snipers allowed;Kill 3000

On Kill;Not Kit Recon;Damage SniperRifle;Not Admin;PlayerSay %p% - NO SNIPER PICKUP. You killed.;PlayerYell 3000 NO SNIPER PICKUP;Kill 3000

 

:biggrin:

Yell for 3000 seconds______________?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Webrene*:

 

Is there a way to limit the rank for a game?

 

Example: Noob Only Server Max Rank 100 or something like that... Something which can check the rank and if the rank is higher then 100 people will be kicked with a message?

 

thx

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

Originally Posted by ty_ger07*:

 

Is there a way to limit the rank for a game?

 

Example: Noob Only Server Max Rank 100 or something like that... Something which can check the rank and if the rank is higher then 100 people will be kicked with a message?

 

thx

According to the Conditions listed on page 32 of the ProconRulz documentation, player rank is not something available to ProconRulz.

 

The Insane Limits plugin surely would be able to do what you want.

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

Originally Posted by RubenEsveld*:

 

Hi everyone,

 

I and a friend of mine are trying to make a weapon to count the kills, using proconrulz. in this case the a knife count that get reset every round.

The thing behind this is so you se a other message every time you knife. till 6 when its just saying how much you got a knife kill this round.

Procon is reading it. and it is making sense to us but it will not count or show the message. this is why I ask for help from you.

 

this is what we have done already:

 

First try.

#Knife counter

On Spawn;Set %playerknives% 0;Set %knife_incr% 0

On Kill;Weapon Melee;Incr %knife_incr%;Incr %playerknives%;If %knife_incr% == 1 Set %knife_incr% 0;Say %p% violated %v% giving them a permanenet smile

On Kill;Weapon Melee;Incr %knife_incr%;Incr %playerknives%;If %knife_incr% == 2 Set %knife_incr% 0;Say %p% stuck one right up %v%

On Kill;Weapon Melee;Incr %knife_incr%;Incr %playerknives%;If %knife_incr% == 3 Set %knife_incr% 0;Say %p% did %v% for 10 dollar!!!!!!!

On Kill;Weapon Melee;Incr %knife_incr%;Incr %playerknives%;If %knife_incr% == 4 Set %knife_incr% 0;Say %p% cut %v% a new arse hole!

On Kill;Weapon Melee;Incr %knife_incr%;Incr %playerknives%;If %knife_incr% == 5 Set %knife_incr% 0;Say %p% stuck one right up %v%

On Kill;Weapon Melee;Incr %knife_incr%;Incr %playerknives%;If %knife_incr% >= 6 Set %knife_incr% 0;Say %p% is tacking the piss with %knife_incr% kills

Second try:

#Knife counter

 

On Kill;Weapon Melee;Incr %knifeincr%;Incr %melee_streak[%p%]%;

 

On Join;If %melee_streak[%p%]% == 0;Set %knifeincr% 0

On Round;PlayerFirst; Set %melee_streak[%v%]% 0

On Kill;If %melee_streak[%p%]% == 1;Say %p% violated %v% giving them a permanenet smile

On Kill;If %melee_streak[%p%]% == 2;Say %p% stuck one right up %v%

On Kill;If %melee_streak[%p%]% == 3;Say %p% did %v% for 10 dollar!!!!!!!

On Kill;If %melee_streak[%p%]% == 4;Say %p% cut %v% a new arse hole!

On Kill;If %melee_streak[%p%]% == 5;Say %p% stuck one right up %v%

On Kill;If %melee_streak[%p%]% == 6;Say %p% is tacking the piss with %knife_incr% kills

and the third:

################################################## ####

# Knife counter

################################################## ####

 

#### Reset on kill

On Kill;Set %melee_streak[%v%]% 0

On TeamKill;Set %melee_streak[%v%]% 0

On Suicide;Set %melee_streak[%v%]% 0

 

#### Reset Meleeincr to 0 if server_streak is 0

On Kill;If %melee_streak[%p%]% == 0;Set %meleeincr% 0

 

#### Accumulate the kill count for each player in a var %server_streak[playername]%

On Kill;Incr %meleeincr%;Incr %melee_streak[%p%]%;

 

#### Say periodic killstreak messages

On Kill;Weapon Melee;If %melee_streak[%p%]% == 5;Say %p% is tacking the piss with %knife_incr% kills

On Kill;Weapon Melee;If %melee_streak[%p%]% == 4;Say %p% cut %v% a new arse hole!

On Kill;Weapon Melee;If %melee_streak[%p%]% == 3;Say %p% did %v% for 10 dollar!!!!!!!

On Kill;Weapon Melee;If %melee_streak[%p%]% == 2;Say %p% stuck one right up %v%

On Kill;Weapon Melee;If %melee_streak[%p%]% == 1;Say %p% violated %v% giving them a permanenet smile

I hope that by asking you for help we can get it working.

 

Greeting Ruben

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

Originally Posted by LjMjollnir*:

 

Hi everyone,

 

I and a friend of mine are trying to make a weapon to count the kills, using proconrulz. in this case the a knife count that get reset every round.

The thing behind this is so you se a other message every time you knife. till 6 when its just saying how much you got a knife kill this round.

Procon is reading it. and it is making sense to us but it will not count or show the message. this is why I ask for help from you.

 

this is what we have done already:

 

First try.

 

 

Second try:

 

 

and the third:

 

 

I hope that by asking you for help we can get it working.

 

Greeting Ruben

Ok First try... you are resetting the count to 0.. it will never get past 1 :ohmy:

 

Second try.

On Round;PlayerFirst; Set %melee_streak[%v%]% 0

On Round doesnt provide a Victim name..

%melee_streak[%p%]% is never increased.

 

3rd Try.

%melee_streak[%p%]%

Incorrect Variable naming .. %melee_streak% is a per user variable already.. adding [%p%] doesnt nothing but make the variable harder to use.. if you want to index variables like that you should be using %server? type variables

%server? and %ini_key? variables are accessible to all players where as others are generally only accessible to the player its assigned :ohmy: for example

 

Code:

On Kill;Incr %kills%;incr %server_kills%;incr %server_kills[%p%];incr %ini_stats_kills%
Player 1 gets 1 kill.. player 2 gets 2 kills the results of those variables

 

Player 1 %kills% = 1;Player 2 %kills% = 2

%server_kills% = 3

%server_kills[player 1]% = 1;%server_kills[player 2] = 2

 

{/Procon/Configs/Proconrulz.ini}

[stats]

kills = 3

 

your first try is pretty much the best one.. (second isnt too bad either)... just remove Set %knife_incr% 0 on each line.. (can fix the formatting a little)... and it will work

 

Actually stuff it.. im feeling in a good mood :ohmy: ill just rewrite yers for ya

 

Code:

On Kill;Weapon Melee
   Incr %knife%;Incr %knifekills%
   If %knife% == 1;Say %p% violated %v% giving them a permanenet smile
   If %knife% == 2;Say %p% stuck one right up %v%
   If %knife% == 3;Say %p% did %v% for 10 dollar!!!!!!!
   If %knife% == 4;Say %p% cut %v% a new arse hole!
   If %knife% == 5;Say %p% stuck one right up %v%
   If %knife% >= 6;Set %knife% 0;Say %p% is tacking the piss with %knifekills% kills
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bckrv*:

 

Hello guys,

 

I am looking to add a !voterestart on my BF4 server, this option must be available by the players (like !votekick) I searched on old post but I found anything. Is possible to add this option or not? If yes please can you help me?

 

Thanks!

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

Originally Posted by ty_ger07*:

 

Hello guys,

 

I am looking to add a !voterestart on my BF4 server, this option must be available by the players (like !votekick) I searched on old post but I found anything. Is possible to add this option or not? If yes please can you help me?

 

Thanks!

Sure!

 

The voterestart variable will need to be a server? variable so that everyone on any team can affect it.

You will need some threshold value to determine when "enough" people agree that it should be restarted. So, lets say that there are 6 people on one team and 9 people on another. If the smallest team number of players agrees, execute it. In other words, set the threshold to 6 people if there are 6 people on the smallest team. If there are 25 people on the smallest team, the threshold is 25 votes required. The number of votes required would change dynamically as the team sizes change.

 

# voterestart rulz for proconrulz

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 0;Set %server_voterestartalreadytriggered% 1;Say !voterestart started. Vote to restart this round by typing !voteyes.;Yell !voterestart started

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 1;PlayerSay !voterestart already started

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 0;Set %voterestartalreadyvoted% 1;Incr %server_voterestart%;PlayerSay You have voted to restart this round.;Say %server_voterestart% out of %n% votes to restart this round

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 1;PlayerSay You have already voted to restart this round.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 0;PlayerSay No voterestart currently in progress.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;ServerCount 2;Exec mapList.restartRound

 

 

NOT TESTED! But I think that will work.

 

!voteno is not used since it doesn't make any difference. People can type !voteno but it doesn't matter. Not voting is the same thing as voting no. You just need greater than or equal to the smallest team number votes to pass the vote.

 

When a person votes, it lets them know whether or not a !voterestart is in progress. It will also let them know that they voted or have already voted.

 

When a !voterestart is successful, it will warn the whole server 4 times that the round will restart. 3 player spawns after the vote is successful will trigger the round restart.

 

EDIT: Fixes

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

Originally Posted by LjMjollnir*:

 

I am NOT sure if "Exec mapList.restartRound" is correct. I can never remember the protocol. Sometimes a prefix is needed before the command due to execution source. Maybe it should be "Exec admin.mapList.restartRound"? Does someone else know? I don't have a server to test with. :ohmy:

Exec mapList.restartRound is correct :ohmy:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bckrv*:

 

Sure!

 

The voterestart variable will need to be a server? variable so that everyone on any team can affect it.

You will need some threshold value to determine when "enough" people agree that it should be restarted. So, lets say that there are 6 people on one team and 9 people on another. If the smallest team number of players agrees, execute it. In other words, set the threshold to 6 people if there are 6 people on the smallest team. If there are 25 people on the smallest team, the threshold is 25 votes required. The number of votes required would change dynamically as the team sizes change.

 

# voterestart rulz for proconrulz

#

On Text;!voterestart;If %server_voterestartalreadytriggered% = 0;Set %server_voterestartalreadytriggered% 1;Say !voterestart started. Vote to restart this round by typing !voteyes.;Yell !voterestart started

#

On Text;!voterestart;If %server_voterestartalreadytriggered% = 1;PlayerSay !voterestart already started

#

On Text;!voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 0;Set %voterestartalreadyvoted% 1;Incr %server_voterestart%;PlayerSay You have voted to restart this round.;Say %server_voterestart% out of %n% votes to restart this round

#

On Text;!voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 1;PlayerSay You have already voted to restart this round.

#

On Text;!voteyes;If %server_voterestartalreadytriggered% = 0;PlayerSay No voterestart currently in progress.

#

On Text;!voteyes;If %server_voterestartalreadytriggered% = 1;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;ServerCount 2;Exec mapList.restartRound

 

 

NOT TESTED! But I think that will work.

 

!voteno is not used since it doesn't make any difference. People can type !voteno but it doesn't matter. Not voting is the same thing as voting no. You just need greater than or equal to the smallest team number votes to pass the vote.

 

When a person votes, it lets them know whether or not a !voterestart is in progress. It will also let them know that they voted or have already voted.

 

When a !voterestart is successful, it will warn the whole server 4 times that the round will restart. 3 player spawns after the vote is successful will trigger the round restart.

 

 

I am NOT sure if "Exec mapList.restartRound" is correct. I can never remember the protocol. Sometimes a prefix is needed before the command due to execution source. Maybe it should be "Exec admin.mapList.restartRound"? Does someone else know? I don't have a server to test with. :ohmy:

Many thanks for your reply ty_ger07 :smile:

 

I added your code on ProconRulz but I have an error:

 

[09:24:21 28] ProconRulz SKIPPING RULE: Bad "On" clause in your rule ""

[09:24:21 28] ProconRulz SKIPPING RULE: Bad "On" clause in your rule ""

[09:24:21 28] ProconRulz SKIPPING RULE: Bad "On" clause in your rule ""

[09:24:21 28] ProconRulz SKIPPING RULE: Bad "On" clause in your rule ""

[09:24:21 28] ProconRulz SKIPPING RULE: Bad "On" clause in your rule ""

[09:24:21 28] ProconRulz SKIPPING RULE: Bad "On" clause in your rule ""

[09:24:21 28] ProconRulz: 17 rules loaded

Do you have an idea why this error appear?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TheMrApostel*:

 

I think you also need to write "text" before your command like:

 

# voterestart rulz for proconrulz

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 0;Set %server_voterestartalreadytriggered% 1;Say !voterestart started. Vote to restart this round by typing !voteyes.;Yell !voterestart started

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 1;PlayerSay !voterestart already started

#

On Say;Text!voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 0;Set %voterestartalreadyvoted% 1;Incr %server_voterestart%;PlayerSay You have voted to restart this round.;Say %server_voterestart% out of %n% votes to restart this round

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 1;PlayerSay You have already voted to restart this round.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 0;PlayerSay No voterestart currently in progress.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;ServerCount 2;Exec mapList.restartRound

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

Originally Posted by Webrene*:

 

Hi again.

 

Is there a easier and faster way to not allowed all M320 and XM25?

Right now i try to write each weapon in one seperate line. All U_AK12_M320_LVG, U_CZ805_M320_LVG....

Code:

#M320-HE
On Kill;Weapon U_M320_HE;PlayerCount 2;Say BANNED %p%, No M320 HE/LVG on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_M320_HE;PlayerCount 1;Say KICKED %p%, No M320 HE/LVG on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
#M320-LVG
On Kill;Weapon U_M320_LVG;PlayerCount 2;Say BANNED %p%, No M320 HE/LVG on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_M320_LVG;PlayerCount 1;Say KICKED %p%, No M320 HE/LVG on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
#XM25 Airburst
On Kill;Weapon U_XM25;PlayerCount 2;Say BANNED %p%, No XM25 Airburst on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_XM25;PlayerCount 1;Say KICKED %p%, No XM25 Airburst on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_XM25;Say Killed %p%, No XM25 Airburst on this server;Kill 100
#M320 Under AEK
On Kill;Weapon U_AEK971_M320_HE;PlayerCount 2;Say BANNED %p%, No M320 HE/LVG on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_AEK971_M320_HE;PlayerCount 1;Say KICKED %p%, No M320 HE/LVG on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_AEK971_M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
...
...
...
Will be a very large script then... maybe someone knows a command like "M320" what includes all M320, no matter if under a weapon or standalone?

 

Thank you

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

Originally Posted by TheMrApostel*:

 

Hi again.

 

Is there a easier and faster way to not allowed all M320 and XM25?

Right now i try to write each weapon in one seperate line. All U_AK12_M320_LVG, U_CZ805_M320_LVG....

Code:

#M320-HE
On Kill;Weapon U_M320_HE;PlayerCount 2;Say BANNED %p%, No M320 HE/LVG on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_M320_HE;PlayerCount 1;Say KICKED %p%, No M320 HE/LVG on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
#M320-LVG
On Kill;Weapon U_M320_LVG;PlayerCount 2;Say BANNED %p%, No M320 HE/LVG on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_M320_LVG;PlayerCount 1;Say KICKED %p%, No M320 HE/LVG on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
#XM25 Airburst
On Kill;Weapon U_XM25;PlayerCount 2;Say BANNED %p%, No XM25 Airburst on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_XM25;PlayerCount 1;Say KICKED %p%, No XM25 Airburst on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_XM25;Say Killed %p%, No XM25 Airburst on this server;Kill 100
#M320 Under AEK
On Kill;Weapon U_AEK971_M320_HE;PlayerCount 2;Say BANNED %p%, No M320 HE/LVG on this server!;TempBan 900 %p%, you were banned for using %w% (900s)
On Kill;Weapon U_AEK971_M320_HE;PlayerCount 1;Say KICKED %p%, No M320 HE/LVG on this server!;Kick %p%, you were kicked for using %w%
On Kill;Weapon U_AEK971_M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100
...
...
...
Will be a very large script then... maybe someone knows a command like "M320" what includes all M320, no matter if under a weapon or standalone?

 

Thank you

i think you can use one line with all weapons like:

On Kill;Weapon U_M320_HE,Weapon U_XM25;PlayerCount 2;...

 

so you need only 3 lines of code.

 

EDIT:

 

Maybe you should take a look on On Kill;Damage ProjectileExplosive;PlayerCount 2;...

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

Originally Posted by Webrene*:

 

so you can seperate each weapon with a ","? Okay... didn't knew... will test it.

 

ProjectileExplosive.... for me it would be too much restrict... i only want to ban xm25 and m320 HE/LVG. All the other weapons should be useable. But thank you for your hint :smile:

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

Originally Posted by ty_ger07*:

 

so you can seperate each weapon with a ","? Okay... didn't knew... will test it.

 

ProjectileExplosive.... for me it would be too much restrict... i only want to ban xm25 and m320 HE/LVG. All the other weapons should be useable. But thank you for your hint :smile:

You can do:

 

On Kill;If %wk% Contains "M320";

 

That will check every kill to see if the weapon key contains the text 'M320'. This way you don't have to specifically type out every type of M320 weapon.

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

Originally Posted by terrygollo*:

 

Hello all I just ask you for help, because I own a BF4 server, and we are a TEAM sniper, and would ban all weapons except DMR rifle precision and gadjet. And we would leave the helicopter and car and motorcycle and boat like vehicle. I did not really understand how was writing the text in Proconrulz. I'm not too good at is field. Could you guide me please

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

Originally Posted by bckrv*:

 

Hello friends,

 

Thanks for your help. I added this code:

 

# voterestart rulz for proconrulz

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 0;Set %server_voterestartalreadytriggered% 1;Say !voterestart started. Vote to restart this round by typing !voteyes.;Yell !voterestart started

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 1;PlayerSay !voterestart already started

#

On Say;Text!voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 0;Set %voterestartalreadyvoted% 1;Incr %server_voterestart%;PlayerSay You have voted to restart this round.;Say %server_voterestart% out of %n% votes to restart this round

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 1;PlayerSay You have already voted to restart this round.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 0;PlayerSay No voterestart currently in progress.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;ServerCount 2;Exec mapList.restartRound

But I noticed this error:

 

[08:50:44 67] ProconRulz: Unrecognised rule

[08:50:44 67] ProconRulz: 17 rules loaded

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

Originally Posted by TheMrApostel*:

 

Hello friends,

 

Thanks for your help. I added this code:

 

 

 

But I noticed this error:

 

 

 

Any idea?

Take a look on line 8 :smile:

 

On Say;Text!voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 0;Set %voterestartalreadyvoted% 1;Incr %server_voterestart%;PlayerSay You have voted to restart this round.;Say %server_voterestart% out of %n% votes to restart this round

Theres no space between Text and !voteyes.

 

# voterestart rulz for proconrulz

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 0;Set %server_voterestartalreadytriggered% 1;Say !voterestart started. Vote to restart this round by typing !voteyes.;Yell !voterestart started

#

On Say;Text !voterestart;If %server_voterestartalreadytriggered% = 1;PlayerSay !voterestart already started

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 0;Set %voterestartalreadyvoted% 1;Incr %server_voterestart%;PlayerSay You have voted to restart this round.;Say %server_voterestart% out of %n% votes to restart this round

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %voterestartalreadyvoted% = 1;PlayerSay You have already voted to restart this round.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 0;PlayerSay No voterestart currently in progress.

#

On Say;Text !voteyes;If %server_voterestartalreadytriggered% = 1;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;Yell !voterestart passed! Round will restart!

#

On Spawn;If %server_voterestart% >= %n%;ServerCount 2;Exec mapList.restartRound

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

Originally Posted by p19blo*:

 

Im new to proconrulz

 

how cna i set up a rule of only 3 mortar and 3 ucav a side ?

More on this

 

Ive been messing around and found a way to kill players for using the ucav and mortar, but what i cant figure out how to do a "slot" for these weapins to allow for 2 a team.

 

On Kill;If %wk% Contains "UCAV";;TeamCount 2;Say Killed %p%, Only 2 Mortars on each Team ;Kill 100

 

what im using for the ucav atm

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.