ImportBot Posted December 1, 2018 Author Share Posted December 1, 2018 Originally Posted by maxdralle*: Hi thanks for the help. I have had a look around & I find that you created 'BONUS CHALLENGE - kill the viper noob' could you help me change this so it that anyone player from a team with more than x kills triggers the challenge? Instead of it just for vipers? ANTI KILL STREAK CHALLENGE - stop the kill streak from player xy this script is for proconrulz. the challenge start automatically after a player got an kill steak of 30 kills. the next player (enemy) who kills the player with the high kill streak will win a vip slot for 1 day. REQUIRES: VIP Slot Manager Plugin , min. 16 players on the server Code: #### ANTI KILL STREAK CHALLENGE # stop the 30+ kill streak to win a vip for 1 day # req. vip slot manager plugin , min. 16 players on the server # count streak On Kill;Incr %server_anti_streak_challenge[%p%]%;Set %server_anti_streak_challenge[%v%]% 0 # start anti kill streak challenge On Kill; if %ts1% + %ts2% >= 16; if %server_anti_streak_challenge[%p%]% == 30; if %server_team_score[2]% > 50; if %server_team_score[1]% > 50; if %server_anti_streak_challenge_playername% == 0; Say #### ANTI KILL STREAK CHALLENGE ####; Say Next player who kill's the player %p% to stop his kill streak win's a !VIP SLOT for 1 day!; Yell 15 ANTI KILL STREAK CHALLENGE: Kill the player %p% to win a !VIP SLOT; Set %server_anti_streak_challenge_playername% %p% if %server_anti_streak_challenge[%p%]% >= 30; if %server_anti_streak_challenge_playername% == %p%; Incr %anti_streak_rem%; if %anti_streak_rem% >= 4; Yell 5 ANTI KILL STREAK CHALLENGE: Kill the player %p% to win a !VIP SLOT; Set %anti_streak_rem% 0 # set winner On Kill; if %server_anti_streak_challenge_playername% == %v%; if %pt% != %vt%; Yell 10 ANTI KILL STREAK CHALLENGE ENDED: %p% has won a !VIP SLOT; Say ## ANTI KILL STREAK CHALLENGE ENDED ##; Say ## %p% has won a !VIP SLOT for 1 day for stopping the kill streak of %server_anti_streak_challenge_playername% Log ^b^2ANTI KILL STREAK CHALLENGE: %p% has won a !VIP SLOT for 1 day (target: %server_anti_streak_challenge_playername%)^0^n; Say /vsm-addvip %p% +1; Set %tmp_anti_streak_challenge_winner% 1; Set %server_anti_streak_challenge_playername% 0 # winner reminder On Spawn; if %tmp_anti_streak_challenge_winner% == 1; PlayerSay %p% You have won a !VIP SLOT for 1 day!; PlayerYell %p% you have won a !VIP SLOT; Set %tmp_anti_streak_challenge_winner% 2; On Leave; Set %server_anti_streak_challenge[%p%]% 0; if %server_anti_streak_challenge_playername% == %p%; Say ANTI KILL STREAK CHALLENGE %p% canceled (player left the server); Set %server_anti_streak_challenge_playername% 0 #### ANTI KILL STREAK CHALLENGE - END script customization:RED: # of players to enable the challenge GREEN: kill streak min. kills BLUE: # of days for the vip slot (1 days) * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 2, 2018 Author Share Posted December 2, 2018 Originally Posted by spatieman*: thanx for it !! * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 3, 2018 Author Share Posted December 3, 2018 Originally Posted by serialkillerz82*: Yes it is messy. But this works great for BF3 TDM servers, shall work on BF4 to. objective: use !target to set a kill bounty on him. kill target 5 time without getting killed your self. reward: 1 week vip slot. failsafe for picking a nother player. failsafe for picking next target on objective complete. Code: # Challenge system for targets # VIP manager required ! # R1 On Spawn; ServerFirst; if %ts1% + %ts2% >= 4;say Target system active;say !target for more;set %targetsystem% 1 On Spawn; ServerFirst; if %ts1% + %ts2% < 4;say target system inactive;say need 4 or more players;set %targetsystem% 0 on say;if %targetsystem% = 0;if %text% = !target;playersay Target system disabled, need 4 players on say;if %targetsystem% = 0;text !target status;playersay Target system disabled, need 4 players On Say;if %targetsystem% = 0;Text !target;TargetPlayer;playersay Target system disabled, need 4 players on say;if %targetsystem% = 1;if %text% = !target;if %[%p%]challenge% = 0;playerSay use: !target <part of name>;playersay kill target 5 time without getting killed;playersay WEAPONS ONLY!;End on say;if %targetsystem% = 1;if %text% = !target;if %[%p%]challenge% = 1;playerSay U have a running target challenge -> !target status on say;if %targetsystem% = 1;text !target status ; if %[%p%]target% = 0;playersay No running challenge. on say;if %targetsystem% = 1;text !target status ; if %[%p%]target% = 1;playersay STATUS:;playersay U killed target %[%p%]victim% %[%p%]challenge_target% times On Say;if %targetsystem% = 1;Text !target;TargetPlayer;if %[%p%]challenge_reward% = 0;if %[%p%]challenge% = 0;playersay accepted:Kill %t% 5 times;playersay without getting killed;set %[%p%]challenge% 1;set %[%p%]target% 1;set %[%p%]victim% %t% On Say;if %targetsystem% = 1;Text !target;TargetPlayer;if %[%p%]challenge_reward% = 1;playersay Sorry, one challenge each round only On Say;if %targetsystem% = 1;Text !target;TargetPlayer;if %[%p%]target% = 1;playersay %[%p%]victim% is already your target # checking if target challenge is complete, and add reward on kill;damage handgun,lmg,smg,shotgun,assaultrifle,sniperrifle,melee;if %[%p%]target% = 1 ;incr %[%p%]challenge_target% ;playersay killed %[%p%]victim%:%[%p%]challenge_target%/5 on kill;damage handgun,lmg,smg,shotgun,assaultrifle,sniperrifle,melee;if %[%p%]target% = 1 ;if %[%p%]challenge_target% => 5;if %[%p%]challenge_death% = 0;playersay congratz, target challenge complete;say /vsm-addvip %p% +7;set %[%p%]target% 0;set %[%p%]challenge_death% 0;set %[%p%]challenge_target% 0;set %[%p%]challenge% 0;set %[%p%]challenge_reward% 1 # checking for max death on spawn ;if %[%p%]target% = 1 ;incr %[%p%]challenge_death%;if %[%p%]challenge_death% => 1;playersay Sorry, challenge cancelled, you died, try again;set %[%p%]target% 0;set %[%p%]challenge_death% 0;set %[%p%]challenge_target% 0;set %[%p%]challenge% 0 Hi Spatieman I have put this on my server (BF4) server had 56 players & im still getting error message "Target system disabled, need 4 players" Any ideas? Thanks * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 23, 2018 Author Share Posted December 23, 2018 Originally Posted by serialkillerz82*: ANTI KILL STREAK CHALLENGE - stop the kill streak from player xy this script is for proconrulz. the challenge start automatically after a player got an kill steak of 30 kills. the next player (enemy) who kills the player with the high kill streak will win a vip slot for 1 day. REQUIRES: VIP Slot Manager Plugin , min. 16 players on the server Code: #### ANTI KILL STREAK CHALLENGE # stop the 30+ kill streak to win a vip for 1 day # req. vip slot manager plugin , min. 16 players on the server # count streak On Kill;Incr %server_anti_streak_challenge[%p%]%;Set %server_anti_streak_challenge[%v%]% 0 # start anti kill streak challenge On Kill; if %ts1% + %ts2% >= 16; if %server_anti_streak_challenge[%p%]% == 30; if %server_team_score[2]% > 50; if %server_team_score[1]% > 50; if %server_anti_streak_challenge_playername% == 0; Say #### ANTI KILL STREAK CHALLENGE ####; Say Next player who kill's the player %p% to stop his kill streak win's a !VIP SLOT for 1 day!; Yell 15 ANTI KILL STREAK CHALLENGE: Kill the player %p% to win a !VIP SLOT; Set %server_anti_streak_challenge_playername% %p% if %server_anti_streak_challenge[%p%]% >= 30; if %server_anti_streak_challenge_playername% == %p%; Incr %anti_streak_rem%; if %anti_streak_rem% >= 4; Yell 5 ANTI KILL STREAK CHALLENGE: Kill the player %p% to win a !VIP SLOT; Set %anti_streak_rem% 0 # set winner On Kill; if %server_anti_streak_challenge_playername% == %v%; if %pt% != %vt%; Yell 10 ANTI KILL STREAK CHALLENGE ENDED: %p% has won a !VIP SLOT; Say ## ANTI KILL STREAK CHALLENGE ENDED ##; Say ## %p% has won a !VIP SLOT for 1 day for stopping the kill streak of %server_anti_streak_challenge_playername% Log ^b^2ANTI KILL STREAK CHALLENGE: %p% has won a !VIP SLOT for 1 day (target: %server_anti_streak_challenge_playername%)^0^n; Say /vsm-addvip %p% +1; Set %tmp_anti_streak_challenge_winner% 1; Set %server_anti_streak_challenge_playername% 0 # winner reminder On Spawn; if %tmp_anti_streak_challenge_winner% == 1; PlayerSay %p% You have won a !VIP SLOT for 1 day!; PlayerYell %p% you have won a !VIP SLOT; Set %tmp_anti_streak_challenge_winner% 2; On Leave; Set %server_anti_streak_challenge[%p%]% 0; if %server_anti_streak_challenge_playername% == %p%; Say ANTI KILL STREAK CHALLENGE %p% canceled (player left the server); Set %server_anti_streak_challenge_playername% 0 #### ANTI KILL STREAK CHALLENGE - END script customization:RED: # of players to enable the challenge GREEN: kill streak min. kills BLUE: # of days for the vip slot (1 days) Been testing this for a while now & works perfect! Again thanks for the great work * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 22, 2019 Author Share Posted February 22, 2019 Originally Posted by 6R1MM-31*: Where do i download this plugin? * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted February 22, 2019 Author Share Posted February 22, 2019 Originally Posted by ty_ger07*: myrcon.net/.../proconrulz-v44j1-weapon-limits-and-other-event-triggered-admin-actions * Restored post. It could be that the author is no longer active. Link to comment
k3vin33 Posted February 5, 2020 Share Posted February 5, 2020 On 12/4/2018 at 12:49 AM, ImportBot said: Originally Posted by serialkillerz82*: Hi Spatieman I have put this on my server (BF4) server had 56 players & im still getting error message "Target system disabled, need 4 players" Any ideas? Thanks late respons but place this in the first lines # Challenge system for targets # VIP manager required ! # R1 On Say; ServerFirst; if %targetsystem% == 0; if %ts1% + %ts2% >= 4; say Target system active; say !target for more; set %targetsystem% 1 On Spawn; ServerFirst; if %targetsystem% == 0; if %ts1% + %ts2% < 4; say target system inactive; say need 4 or more players; set %targetsystem% 0 on my server it work finaly Link to comment
k3vin33 Posted March 6, 2020 Share Posted March 6, 2020 Target Challenge!!! working on bf4!! # Challenge system for targets # VIP manager required ! # R1 On Say; ServerFirst; if %server_global_target_challenge% = 0; if %ts1% + %ts2% >= 6; Say *** TARGET SYSTEM ACTIVE ***; Say !TARGET FOR MORE INFO; set %server_global_target_challenge% 1 On Spawn; ServerFirst; if %server_global_target_challenge% = 0; if %ts1% + %ts2% < 6; Say *** TARGET SYSTEM INACTIVE ***; Say NEED 6 OR MORE PLAYERS; set %server_global_target_challenge% 0 On Say; if %server_global_target_challenge% = 0; if %text% = !target; playerSay Target system disabled, need 6 players On Say; if %server_global_target_challenge% = 0; text !target status; playerSay Target system disabled, need 6 players On Say; if %server_global_target_challenge% = 0; text !target; TargetPlayer; playerSay Target system disabled, need 6 players On Say; if %server_global_target_challenge% = 1; if %text% = !target; if %[%p%]challenge% = 0; PlayerSay use: !target <part of name>;PlayerSay kill target 4 time without getting killed; PlayerSay To win Vip for 7 DAYS; PlayerSay WEAPONS ONLY!; End On Say; if %server_global_target_challenge% = 1; if %text% = !target; if %[%p%]challenge% = 1; PlayerSay U have a running target challenge -> !target status On Say; if %server_global_target_challenge% = 1; text !target status ; if %[%p%]target% = 0; PlayerSay No running challenge. On Say; if %server_global_target_challenge% = 1; text !target status ; if %[%p%]target% = 1; PlayerSay STATUS:; PlayerSay U killed target %[%p%]victim% %[%p%]challenge_target% times On Say; if %server_global_target_challenge% = 1; Text !target; TargetPlayer; if %[%p%]challenge_reward% = 0; if %[%p%]challenge% = 0; PlayerYell accepted:Kill %t% 4 times; PlayerSay without getting killed; set %[%p%]challenge% 1; set %[%p%]target% 1; set %[%p%]victim% %t% On Say; if %server_global_target_challenge% = 1; Text !target; TargetPlayer; if %[%p%]challenge_reward% = 1; PlayerSay Sorry, one challenge each round only On Say; if %server_global_target_challenge% = 1; Text !target; TargetPlayer; if %[%p%]target% = 1; PlayerSay %[%p%]victim% is already your target # checking if target challenge is complete, and add reward On Kill; damage handgun,lmg,smg,shotgun,assaultrifle,sniperrifle,melee; if %[%p%]target% = 1 ; incr %[%p%]challenge_target% ; PlayerSay killed %[%p%]victim%:%[%p%]challenge_target%/4 On Kill; damage handgun,lmg,smg,shotgun,assaultrifle,sniperrifle,melee; if %[%p%]target% = 1 ; if %[%p%]challenge_target% => 4; if %[%p%]challenge_death% = 0;PlayerSay congratz, target challenge complete; Say /vsm-addvip %p% +7; set %[%p%]target% 0; set %[%p%]challenge_death% 0; set %[%p%]challenge_target% 0; set %[%p%]challenge% 0; set %[%p%]challenge_reward% 1 # checking for max death On Spawn ; if %[%p%]target% = 1 ; incr %[%p%]challenge_death%; if %[%p%]challenge_death% => 1; PlayerSay Sorry, challenge cancelled, you died, try again; set %[%p%]target% 0; set %[%p%]challenge_death% 0; set %[%p%]challenge_target% 0; set %[%p%]challenge% 0 Link to comment
otbrave Posted August 8, 2020 Share Posted August 8, 2020 On 12/23/2018 at 3:01 PM, ImportBot said: Originally Posted by serialkillerz82*: Been testing this for a while now & works perfect! Again thanks for the great work Looks great, but how do I get this code into vip slot manager?? #### ANTI KILL STREAK CHALLENGE # stop the 30+ kill streak to win a vip for 1 day # req. vip slot manager plugin , min. 16 players on the server # count streak On Kill;Incr %server_anti_streak_challenge[%p%]%;Set %server_anti_streak_challenge[%v%]% 0 # start anti kill streak challenge On Kill; if %ts1% + %ts2% >= 16; if %server_anti_streak_challenge[%p%]% == 30; if %server_team_score[2]% > 50; if %server_team_score[1]% > 50; if %server_anti_streak_challenge_playername% == 0; Say #### ANTI KILL STREAK CHALLENGE ####; Say Next player who kill's the player %p% to stop his kill streak win's a !VIP SLOT for 1 day!; Yell 15 ANTI KILL STREAK CHALLENGE: Kill the player %p% to win a !VIP SLOT; Set %server_anti_streak_challenge_playername% %p% if %server_anti_streak_challenge[%p%]% >= 30; if %server_anti_streak_challenge_playername% == %p%; Incr %anti_streak_rem%; if %anti_streak_rem% >= 4; Yell 5 ANTI KILL STREAK CHALLENGE: Kill the player %p% to win a !VIP SLOT; Set %anti_streak_rem% 0 # set winner On Kill; if %server_anti_streak_challenge_playername% == %v%; if %pt% != %vt%; Yell 10 ANTI KILL STREAK CHALLENGE ENDED: %p% has won a !VIP SLOT; Say ## ANTI KILL STREAK CHALLENGE ENDED ##; Say ## %p% has won a !VIP SLOT for 1 day for stopping the kill streak of %server_anti_streak_challenge_playername% Log ^b^2ANTI KILL STREAK CHALLENGE: %p% has won a !VIP SLOT for 1 day (target: %server_anti_streak_challenge_playername%)^0^n; Say /vsm-addvip %p% +1; Set %tmp_anti_streak_challenge_winner% 1; Set %server_anti_streak_challenge_playername% 0 # winner reminder On Spawn; if %tmp_anti_streak_challenge_winner% == 1; PlayerSay %p% You have won a !VIP SLOT for 1 day!; PlayerYell %p% you have won a !VIP SLOT; Set %tmp_anti_streak_challenge_winner% 2; On Leave; Set %server_anti_streak_challenge[%p%]% 0; if %server_anti_streak_challenge_playername% == %p%; Say ANTI KILL STREAK CHALLENGE %p% canceled (player left the server); Set %server_anti_streak_challenge_playername% 0 #### ANTI KILL STREAK CHALLENGE - ENDscript customization: RED: # of players to enable the challenge GREEN: kill streak min. kills BLUE: # of days for the vip slot (1 days) Been testing this for a while now & works perfect! Again thanks for the great work Link to comment
Plugin Developer maxdralle Posted August 8, 2020 Plugin Developer Share Posted August 8, 2020 just copy paste the code into the plugin PROCONRULZ. Link to comment
Kayeiana Posted July 6, 2021 Share Posted July 6, 2021 Hello There, is it Possible to make more than 1 Challenge at the Same time? I want the First Challenge with the GUN Kills 10x10 and the Option to start a Challenge manuel with !challange kill @playername 10 times or something like this. Greetings. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.