ImportBot Posted December 3, 2013 Share Posted December 3, 2013 Originally Posted by bambam*: Looking for a no mortar rule that will warn, then kill, then ban. I have looked through this thread, forgive me if I missed it. Thanks for you help.It's post #1, example #1 on this thread, and the weapon key for the Mortar is "Death" (use where the example says "Weapon Siaga20k"). The bummer here is ALL vehicles are ALSO "Weapon Death", so there is no way with BF3/4 to block one and not the other. Nothing you can do about that. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by chesterfield*: Guys i really need help pls we cant play anymore without a sniperlimit on our Rush 64p. I gave this into the plugin but nothing happens. PLS Help! # SET THE MAX # OF SNIPERS HERE: On Kill;ServerFirst;Set %server_sniperlimit% 3 On Say;ServerFirst;Set %server_sniperlimit% 3 # SNIPER LOG MESSAGES On Spawn;If %server_sl_sniper[%p%]% == 1;Log Sniper %pt% %p% re-spawned. %server_sl_total[%ptk%]% snipers on team %ptk% On Kill;If %server_sl_sniper[%v%]% == 1;Log Sniper %vtk% %v% killed. %server_sl_total[%vtk%]% snipers on team %vtk% # SNIPER KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot) On Kill;Damage SniperRifle;Damage DMR; If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerSay -;PlayerSay - %p% killed by SNIPER LIMIT max %server_sniperlimit%;PlayerSay -;Log Sniper Limit max %server_sniperlimit% snipers each team !!! (now Kill %p%);Kill If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk% If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;PlayerSay -;PlayerSay - YOU HAVE A SNIPER SLOT !!! %server_sl_total[%ptk%]%/%server_sniperlimit%;PlayerSay -;Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_sniperlimit% snipers on team %ptk% # FREE UP SNIPER SLOT IF SNIPER HAS NON-SNIPER KILL OR SNIPER LEAVES On Kill;Not Damage SniperRifle;Not Damage Handgun;Not Damage Melee;Not Damage DMR;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay -;TeamSay - %p% gave up his SNIPER slot!!!;TeamSay -;Log Ex-sniper %p% used %d% %wk%, %server_sl_total[%ptk%]% snipers on team %ptk% On Leave;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay -;TeamSay - %p% gave up his SNIPER slot !!!;TeamSay -;Log Sniper %pt% %p% left server. %server_sl_total[%ptk%]% snipers on team %ptk% # !snipers / !sniperx INFO MESSAGES On Say;Text !snipers; PlayerSay Sniper limit: %server_sl_total[%ptk%]%/%server_sniperlimit%. Reserve slot with sniper kill, lose it with non-sniper/handgun kill. If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_sniperlimit% SNIPERS on team %pt% If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SNIPER[1/%server_sniperlimit%] is %server_sl_snipername[%ptk%][1]% If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SNIPER[2/%server_sniperlimit%] is %server_sl_snipername[%ptk%][2]% If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SNIPER[3/%server_sniperlimit%] is %server_sl_snipername[%ptk%][3]% If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][4]% On Say;Text !sniperx; PlayerSay SNIPERS: Team 1: %server_sl_total[1]%/%server_sniperlimit%, Team 2: %server_sl_total[2]%/%server_sniperlimit% Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by tarreltje*: Guys i really need help pls we cant play anymore without a sniperlimit on our Rush 64p. I gave this into the plugin but nothing happens. PLS Help! # SET THE MAX # OF SNIPERS HERE: On Kill;ServerFirst;Set %server_sniperlimit% 3 On Say;ServerFirst;Set %server_sniperlimit% 3 # SNIPER LOG MESSAGES On Spawn;If %server_sl_sniper[%p%]% == 1;Log Sniper %pt% %p% re-spawned. %server_sl_total[%ptk%]% snipers on team %ptk% On Kill;If %server_sl_sniper[%v%]% == 1;Log Sniper %vtk% %v% killed. %server_sl_total[%vtk%]% snipers on team %vtk% # SNIPER KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot) On Kill;Damage SniperRifle;Damage DMR; If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerSay -;PlayerSay - %p% killed by SNIPER LIMIT max %server_sniperlimit%;PlayerSay -;Log Sniper Limit max %server_sniperlimit% snipers each team !!! (now Kill %p%);Kill If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk% If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;PlayerSay -;PlayerSay - YOU HAVE A SNIPER SLOT !!! %server_sl_total[%ptk%]%/%server_sniperlimit%;PlayerSay -;Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_sniperlimit% snipers on team %ptk% # FREE UP SNIPER SLOT IF SNIPER HAS NON-SNIPER KILL OR SNIPER LEAVES On Kill;Not Damage SniperRifle;Not Damage Handgun;Not Damage Melee;Not Damage DMR;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay -;TeamSay - %p% gave up his SNIPER slot!!!;TeamSay -;Log Ex-sniper %p% used %d% %wk%, %server_sl_total[%ptk%]% snipers on team %ptk% On Leave;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay -;TeamSay - %p% gave up his SNIPER slot !!!;TeamSay -;Log Sniper %pt% %p% left server. %server_sl_total[%ptk%]% snipers on team %ptk% # !snipers / !sniperx INFO MESSAGES On Say;Text !snipers; PlayerSay Sniper limit: %server_sl_total[%ptk%]%/%server_sniperlimit%. Reserve slot with sniper kill, lose it with non-sniper/handgun kill. If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_sniperlimit% SNIPERS on team %pt% If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SNIPER[1/%server_sniperlimit%] is %server_sl_snipername[%ptk%][1]% If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SNIPER[2/%server_sniperlimit%] is %server_sl_snipername[%ptk%][2]% If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SNIPER[3/%server_sniperlimit%] is %server_sl_snipername[%ptk%][3]% If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][4]% On Say;Text !sniperx; PlayerSay SNIPERS: Team 1: %server_sl_total[1]%/%server_sniperlimit%, Team 2: %server_sl_total[2]%/%server_sniperlimit% Were did you put those rules? If you just loaded them the old fasion way, the rules should work. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by LjMjollnir*: prdebug xsay in 5000+ posts you're the first person that's asked for this. ahahaha that was actually the first thing i was going to ask about today specially since my new script controls all the weapons from within the game itself.. was kind of annoying last night when China rising came out i had to actually disable the script so normal weapons was enabled (was playing a bit of Pistol/Knife only) and then i was stuck downloading the patches for an hour.. luckily only 1 person logged into the server before our other admin was able to get in anyway so was able to reenable the plugin and walk him through the new commands i had setup. todays script will be a better version of the Knife/Defib/Repair tool kill announcer (multiple random messages instead of the single one i have right now).. reminds me of the other question i wanted to ask you Mr BamBam.. Random numbers? is there a way to generate one at the moment ? i dont remember seeing one in the docs (i am planning to just use kills to increase a counter at the moment.. but a true number generator would be better ) Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by chesterfield*: Were did you put those rules? If you just loaded them the old fasion way, the rules should work.ProconRulz - 44e.2 and put the sniperlimit to the Proconrulz - Rules THX for Helping me Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by shadow2k1*: ok so ive updated my procon rulz plugin, all my rules are gone. no problem tho. however i have a couple questions. im assuming all my rules go into the *.txt file and then i list the name of the .txt file in the string array? is this correct? if not can someone please explain as i have went thru the online documentation and couldnt find anything about it. if the above question is true, how do i get the .txt file to be seen by procon if im running a layer service? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by chesterfield*: ok i have it THX tarreltje But a question what can i do for the chatspamm? And how can players check the status how many snipers are playing? THX again Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by cannonfodder*: Chat you type in the Procon console doesn't trigger the same events as when in game, so it's a bit tricky. If it helps I have a 'debug' workaround in procon chat to treat the chat as 'normal'. Type: prdebug xsay e.g. prdebug xsay @warn fred then "@warn fred" will be treated as 'normal chat' by proconrulz. It's a bit of a handful but it's a necessary workaround. The special treatment of chat that comes from the server (as in admin chat into the procon chat window) prevents bad rulz making ProconRulz get stuck in an infinite loop for example if someone wrote !rules output that contained the string !rules which immediately triggered the same rulz again... in 5000+ posts you're the first person that's asked for this. bambam great thanks.. i tried this out. works fine to me... Wonder that nobody get the idea to use the rules from procon chat. rediculous... Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by tarreltje*: ok i have it THX tarreltje But a question what can i do for the chatspamm? And how can players check the status how many snipers are playing? THX again Most of the chatspam was already removed, !sniperx !snipers will give you informationonly spam you have is: - playersay: You have a sniperslot - team: there is a free sniper slot - playersay: You lost your sniper slot Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by hereww*: How to disable M224 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by chesterfield*: @hereww Check post #3248 Hope this helps Btw: Mortar on Rush 64p really sucks, the only way for me is, i must kick they. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by Gunslinger1973*: I wonder if it is possible to set the Ticket Counter Value (vars.GameModeCounter) for the next round. I use adaptive Ticket Size but sometimes I just need more Tickets than provided. I tried the following code with no results. I just get a 0 out of it and on the Server (ProconLayer) I don't see any ini-file written. Any1 any ideas? Code: On Say;Admin;Text !ticketprozent; %targettext%;Set %ini_ticks[%targettext%]%; PlayerSay Ticket-Percent for next round set to %ini_ticks[%targettext%]% On Round;Exec vars.gameModeCounter %ini_ticks[%targettext%]%It's possible that I entered some errors because I'm at work and reproduced it "by heart"... I just wonder if I used the variables correctly. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by shadow2k1*: i just cant seem to find in the online doc where it instructs me to get the rules to display when someone types in !rules in the chat window. is it not listed there or am i over looking it? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by bambam*: I wonder if it is possible to set the Ticket Counter Value (vars.GameModeCounter) for the next round. I use adaptive Ticket Size but sometimes I just need more Tickets than provided. I tried the following code with no results. I just get a 0 out of it and on the Server (ProconLayer) I don't see any ini-file written. Any1 any ideas? Code: On Say;Admin;Text !ticketprozent; %targettext%;Set %ini_ticks[%targettext%]%; PlayerSay Ticket-Percent for next round set to %ini_ticks[%targettext%]% On Round;Exec vars.gameModeCounter %ini_ticks[%targettext%]%It's possible that I entered some errors because I'm at work and reproduced it "by heart"... I just wonder if I used the variables correctly.with those rulz, your "On Round;Exec vars.gameModeCounter %ini_ticks[%targettext%]%" cannot work because there is no %targettext% for an "On Round" triggered rule. Maybe your memory isn't right. You could use "On Say;Admin;Text !ticks;.... Set %ini_gunslinger_ticks% %targettext% and then On Round;Exec vars.gameModeCounter %ini_gunslinger_ticks% Note that ini vars have to have THREE parts "ini", "section name", "var name", which will become clear when you look in the config file. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 4, 2013 Share Posted December 4, 2013 Originally Posted by shadow2k1*: for someone who uses a layer server and doesnt have access to upload to the server, how are we supposed to get the rules.txt files to be read_. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by tarreltje*: for someone who uses a layer server and doesnt have access to upload to the server, how are we supposed to get the rules.txt files to be read_.If you cant upload txt files, just put the rulz into the normal section of proconrulz Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by shadow2k1*: If you cant upload txt files, just put the rulz into the normal section of proconrulzi tried that, when i typed !rules in the game, nothing happened Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by chesterfield*: Guys pls again, need Help! Guys on my server half of the players play with that SUAV/RC Airplane, they have 60:10 kills and more whats this can i block them? Really no fun! THX to all! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by LjMjollnir*: Mr BamBam got a Q for you is there a possible way to get varibles as text to save in an ini file... as the varible name so i want my players to be able to set custom knife messages so need them to be able to type !setknife %p% sliced open %v% and have that saved in the ini file.. at the moment it appears it just replaces those with 0's 8( ive had a look at your code and i cant really see anything there except maybe $'s which im about to try.. sigh $'s just replaces it aswell 8( looks like i might have to hand edit the ini file grrr!!! nvm... it seems even if i store %p% %v% in the ini file and PlayerSay that it just says %p% %v% with subsitution.. looks like im going to have to develop that in C# as a proper plugin.. (i kind of need to for my map manager anyway.. Ultimate Map manager is good but i need ingame commands) Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by shadow2k1*: does anyone have an updated knife/defid/repair torch kill announcer? the one on the main page, when used, say [18:10:03 32] ProconRulz: Warning, weapon Weapons/Knife/Knife not found in Procon (but you can still use the key in ProconRulz) [18:10:03 32] ProconRulz: Warning, weapon Defib not found in Procon (but you can still use the key in ProconRulz) [18:10:03 32] ProconRulz: Warning, weapon Repair Tool not found in Procon (but you can still use the key in ProconRulz) it also might be a good idea if someone can update the main page with the examples that work in bf4 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by lordicon*: does anyone have an updated knife/defid/repair torch kill announcer? the one on the main page, when used, say [18:10:03 32] ProconRulz: Warning, weapon Weapons/Knife/Knife not found in Procon (but you can still use the key in ProconRulz) [18:10:03 32] ProconRulz: Warning, weapon Defib not found in Procon (but you can still use the key in ProconRulz) [18:10:03 32] ProconRulz: Warning, weapon Repair Tool not found in Procon (but you can still use the key in ProconRulz) it also might be a good idea if someone can update the main page with the examples that work in bf4 Code: On Kill;Weapon Melee;Yell %p% grabbed and stabbed %v% !!! On Kill;Weapon U_Defib;Yell %p% zapped %v% with the Defib !!! On Kill;Weapon U_Repairtool;Yell %p% killed %v% with the Repair Tool !!! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by LjMjollnir*: Oh god.. there is absolutely no documentation on how to write a C# plugin for Procon and the base plugins that come with it are huge and hard to read.. been many years since ive played with C# no jumping into that one with no docs 8(.. guess im stuck with Proconrulz for now... sigh.. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by shadow2k1*: Code: On Kill;Weapon Melee;Yell %p% grabbed and stabbed %v% !!! On Kill;Weapon U_Defib;Yell %p% zapped %v% with the Defib !!! On Kill;Weapon U_Repairtool;Yell %p% killed %v% with the Repair Tool !!! thanks but U_defib isnt recognized Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by lordicon*: thanks but U_defib isnt recognizedShould read, Not sure why it says it is not recognized. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by lordicon*: Before I forget, bambam is OnSpawn working yet so we can lets say kill anyone that spawns in with a flashbang and send them a message saying it is not allowed? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by ixnorp*: Is this possible? On Kill;Damage ProjectileExplosive; PlayerSay %p% do not kill with %w%;Kill PlayerCount 1;tban 600 PlayerCount 1;If %v% == Admin;PlayerSay u kill admin with Restricted weapon!;ban Is this victim = admin kill command workable? Sent from my iPhone using Tapatalk Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by LjMjollnir*: On Kill;If %wk% contains Defib;Say %p% zapped %v% with the Defib Zap Zap motherfucker !!! is what i use for Defib messages Before I forget, bambam is OnSpawn working yet so we can lets say kill anyone that spawns in with a flashbang and send them a message saying it is not allowed?OnSpawn works.. however for Bf3 and Bf4 you cant tell what people have in their kit so that kind of rule will not work (only Bf3 and Bf4.. BFBC2 you can see whats in the kit i believe) Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by ixnorp*: is this possible? On Kill;Damage Explosive;PlayerSay no %w%;kill PlayerCount 1;PlayerSay 2 times;tban 600 PlayerCount 1;PlayerSay killed admin;if %v% == Admin;tban 1200 or just put them together like this? PlayerCount 1;PlayerSay 2 times;tban 600;if %v% == Admin;PlayerSay killed admin;tban 1200 Will last command work? And if the explosives killed two or more including admin. Will the plugin use the last command for killing admin instead of the tban 600 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by warhammertx*: Hey WarHammertx this is a quick throw together based on my Pistol/Knife only script it is untested but should only allower Sniper/DMR/Melee kills (BF4) this script worked great for Pistol/Knife only i just changed the Handgun to SniperRifle in the code so i assume it works but as i said its untested. i use Spambot to repeatedly spam "!rules for server rules" and it also spams the weapon rules eg. "Pistol/Knife only" i have several weapon rules made up and it just switch them as needed as per the reason why i have the !rules in each weapon rule set.. saves changing another file every time Code: On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerCount 1;Kick %p% Sniper Rifle/DMR/Knife only;Say ### Kicked %p% for breaking rules ### On Kill;Not Damage SniperRifle;Not Damage Melee;PlayerSay %p% Sniper Rifle/DMR/Knife only;Kill 100;Say ### %p% Killed for breaking rules %w% not allowed. ###;PlayerSay type !rules On Say;Text !rules PlayerSay ################# RULES ################### PlayerSay Sniper Rifles/DMR and Knifes only. PlayerSay Grenades. Only use Flashbang Smoke and Flares PlayerSay however use them at your own risk. they can kill and you will be punished if they do. PlayerSay Vehicles are for transport only. Killing using them will result in your death and possible kick/ban PlayerSay you will be Killed for killing with the wrong weapons. Next time is a kick.. after that guess 8) PlayerSay If you have a request ask an Admin - xxxxxxxas a note my scripts currently do NOT ban people as i am still in testing mode you might have a setting somewhere that does people after a certain number of kicks just be aware of that if you dont want people banned. Here is my work on a Bolt action only script.. as i said its completely untested and probably wont work.. im still learning this stuff myself Code: ### %kl% = Kick at # of punish, %tb% # before temp ban, %pb% Perma Ban, %tbt% Temporary ban time (in seconds) ## eg. kl = 2 tb = 4 pb = 6. 1st kill 2nd kill 3rd kick 4th 10min ban 5th kick 6th perma ban On Round;Set %kl% 2;Set %tb% 4;Set %pb% 6;Set %tbt% 600 ## type !rename in game to rename the server to what ever is below On Say;Admin;Text !rename;Exec vars.serverName "example Bolt action snipers only" On Kill;Not Damage SniperRifle;Not Damage Melee Incr %pun% If %pun% = %pb%;Ban Sniper Rifle NO DMR/Knife only;Say ### Perma Banned %p% for breaking rules ### If %pun% = %tb%;TempBan %tbt% Sniper Rifle NO DMR/Knife only;Say ### Temporary Banned(10mins) %p% for breaking rules ### If %pun% > %kl%;Kick Sniper Rifle NO DMR/Knife only;Say ### Kicked %p% for breaking rules ### PlayerSay Sniper Rifle NO DMR/Knife only;Kill 100;Say ### %p% Killed for breaking rules %w% not allowed. ###;PlayerSay type !rules On Kill;Weapon U_RFB Incr %pun% If %pun% = %pb%;Ban Sniper Rifle NO DMR/Knife only;Say ### Perma Banned %p% for breaking rules ### If %pun% = %tb%;TempBan %tbt% Sniper Rifle NO DMR/Knife only;Say ### Temporary Banned(10mins) %p% for breaking rules ### If %pun% > %kl%;Kick Sniper Rifle NO DMR/Knife only;Say ### Kicked %p% for breaking rules ### PlayerSay Sniper Rifle NO DMR/Knife only;Kill 100;Say ### %p% Killed for breaking rules %w% not allowed. ###;PlayerSay type !rules On Kill;Weapon U_MK11 Incr %pun% If %pun% = %pb%;Ban Sniper Rifle NO DMR/Knife only;Say ### Perma Banned %p% for breaking rules ### If %pun% = %tb%;TempBan %tbt% Sniper Rifle NO DMR/Knife only;Say ### Temporary Banned(10mins) %p% for breaking rules ### If %pun% > %kl%;Kick Sniper Rifle NO DMR/Knife only;Say ### Kicked %p% for breaking rules ### If %pun% = 2;Kick Sniper Rifle NO DMR/Knife only;Say ### Kicked %p% for breaking rules ### On Kill;Weapon U_SKS Incr %pun% If %pun% = %pb%;Ban Sniper Rifle NO DMR/Knife only;Say ### Perma Banned %p% for breaking rules ### If %pun% = %tb%;TempBan %tbt% Sniper Rifle NO DMR/Knife only;Say ### Temporary Banned(10mins) %p% for breaking rules ### If %pun% > %kl%;Kick Sniper Rifle NO DMR/Knife only;Say ### Kicked %p% for breaking rules ### PlayerSay Sniper Rifle NO DMR/Knife only;Kill 100;Say ### %p% Killed for breaking rules %w% not allowed. ###;PlayerSay type !rules On Kill;Weapon U_SVD12 Incr %pun% If %pun% = %pb%;Ban Sniper Rifle NO DMR/Knife only;Say ### Perma Banned %p% for breaking rules ### If %pun% = %tb%;TempBan %tbt% Sniper Rifle NO DMR/Knife only;Say ### Temporary Banned(10mins) %p% for breaking rules ### If %pun% > %kl%;Kick Sniper Rifle NO DMR/Knife only;Say ### Kicked %p% for breaking rules ### PlayerSay %p% Sniper Rifle NO DMR/Knife only;Kill 100;Say ### %p% Killed for breaking rules %w% not allowed. ###;PlayerSay type !rules On Kill;Weapon U_QBU88 Incr %pun% If %pun% = %pb%;Ban Sniper Rifle NO DMR/Knife only;Say ### Perma Banned %p% for breaking rules ### If %pun% = %tb%;TempBan %tbt% Sniper Rifle NO DMR/Knife only;Say ### Temporary Banned(10mins) %p% for breaking rules ### If %pun% > %kl%;Kick Sniper Rifle NO DMR/Knife only;Say ### Kicked %p% for breaking rules ### PlayerSay %p% Sniper Rifle NO DMR/Knife only;Kill 100;Say ### %p% Killed for breaking rules %w% not allowed. ###;PlayerSay type !rules On Kill;Weapon U_M39EBR Incr %pun% If %pun% = %pb%;Ban Sniper Rifle NO DMR/Knife only;Say ### Perma Banned %p% for breaking rules ### If %pun% = %tb%;TempBan %tbt% Sniper Rifle NO DMR/Knife only;Say ### Temporary Banned(10mins) %p% for breaking rules ### If %pun% > %kl%;Kick Sniper Rifle NO DMR/Knife only;Say ### Kicked %p% for breaking rules ### PlayerSay %p% Sniper Rifle NO DMR/Knife only;Kill 100;Say ### %p% Killed for breaking rules %w% not allowed. ###;PlayerSay type !rules On Kill;Weapon U_GalilACE53 Incr %pun% If %pun% = %pb%;Ban Sniper Rifle NO DMR/Knife only;Say ### Perma Banned %p% for breaking rules ### If %pun% = %tb%;TempBan %tbt% Sniper Rifle NO DMR/Knife only;Say ### Temporary Banned(10mins) %p% for breaking rules ### If %pun% > %kl%;Kick Sniper Rifle NO DMR/Knife only;Say ### Kicked %p% for breaking rules ### PlayerSay Sniper Rifle NO DMR/Knife only;Kill 100;Say ### %p% Killed for breaking rules %w% not allowed. ###;PlayerSay type !rules On Kill;Weapon U_SCAR-HSV Incr %pun% If %pun% = %pb%;Ban Sniper Rifle NO DMR/Knife only;Say ### Perma Banned %p% for breaking rules ### If %pun% = %tb%;TempBan %tbt% Sniper Rifle NO DMR/Knife only;Say ### Temporary Banned(10mins) %p% for breaking rules ### If %pun% > %kl%;Kick Sniper Rifle NO DMR/Knife only;Say ### Kicked %p% for breaking rules ### PlayerSay Sniper Rifle NO DMR/Knife only;Kill 100;Say ### %p% Killed for breaking rules %w% not allowed. ###;PlayerSay type !rules #On Spawn;PlayerSay you have broken the rules %pun% times On Spawn;PlayerFirst;PlayerSay ### type !rules to see the rules ### On Say;Text !rules PlayerSay ### RULES ### PlayerSay Sniper Rifles NO DMR and Knifes only. PlayerSay Grenades. Only use Flashbang Smoke and Flares. If it kills you will be punished PlayerSay Vehicles are for transport only. PlayerSay Rule break = kill then kill, Next time = kick, Next you guess 8)Edited with latest version of the Bolt action only script. appears to work.. havent tested it much.. been waiting for friends to log on all day sigh 8(... Warning this script has the potential to Ban people!!!! just edit the script if you dont want to ban. Sorry for editting this post (LjMjollnir feel free to strip this) but there's bugs in these rulz relating to the use of 'server vars' versus 'player vars', particularly in the initial On Round rule: On Round;Set %kl% 2;Set %tb% 4;Set %pb% 6;Set %tbt% 600 These should probably be %server_kl%, %server_tb% etc. Because later on On kill; If... %pb%;.. is referring to a *per-player* variable called %pb%, and On Round doesn't have those. It's a complicated topic but see docs. Bambam Thanks gave it a try it randomly killed people and didnt block the right weapons, trying to get it figured out. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 5, 2013 Share Posted December 5, 2013 Originally Posted by LjMjollnir*: i have a much better script these days ... ingame commands to disable any combination of weapons.. that script was made before procon 1.4.1.3 .. since then you can do a search on Damage DMR would make it alot easier but yeah as BamBam noted you need to change all the instances of %kl% %tb% %pb% and %tbt% --> to --> %server_kl% %server_tb% %server_pb% %server_tbt% that script did work.. but it just kicked people right away because i didnt understand that without the %server? it was player only varibles they need to be global .. since its checking if a player needs to be punished compared to a 0 value it kicks right away use Find and replace in note pad to change them all as noted above and it should work fine. btw tho this is the script i now use much better Code: Script removed by LjMjollnirso if you wanted Bolt action only an admin in game can type!setlimits (this one only ever needs to be done once.. it just sets the ban and kick limits in the ini file) !swp 0 (to disable ALL weapons) !sniper 1 (enable bolt action snipers) and thats pretty much all you need to do.. since it saves the weapon config in the ini file you are set want to add pistols and knifes... easy done !pistol 1 !melee 1 and you can always see what weapons are enabled by typing !wlist (spams to the whole server what weapons can be used) or !rules which is set to PlayerSay only Quote * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.