Page 1 of 6 123 ... LastLast
Results 1 to 10 of 60
  1. #1
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    285

    ProconRulz - player !challenge event to win a VIP Slot - BF4 - working code

    ProconRulz - weapon !challenge for players to win a VIP Slot - working code BF4

    This !challenge script makes the game more interesting for players. The challenge is simple: Make 10 kills with each shotgun to win a VIP Slot for 1 month. It is easy to understand, nice to play and hard to win!

    A challenge will start on each round for any player on the server. It is free to play or not, it is optional. If a player is tough enough to complete the whole challenge they win a VIP slot automatically. The script adds a reserved slot for the winner and after one month it will be removed.

    The playername of any challenge winner will be stored in the proconrulz ini file...

    The script includes five different presets of weapon types (challenges). On every round it will load the next preset.
    Preset 1: Shotgun (10x10 kills -> 10 kills with each Shotgun)
    Preset 2: Handgun (10x10 kills)
    Preset 3: Sniper/DMR (10x10 kills)
    Preset 4: LMG (10x10 kills)
    Preset 5: PDW (10x10 kills)

    Commands
    !challenge

    Code:
    ####       !CHALLENGE        #########
    # win vip slot for 1 month
    # req. min. 20 players on round start to enable the weapon challenge
    #
    # Preset 1: Shotgun (10x10 kills -> 10 kills with each shotgun)
    # Preset 2: Handgun (10x10 kills)
    # Preset 3: Sniper/DMR (10x10 kills)
    # Preset 4: LMG (10x10 kills)
    # Preset 5: PDW (10x10 kills)
    
    On Say; ServerFirst; If %server_global_challenge_preset% == 0; if %ts1% + %ts2% >= 20; Set %server_global_challenge_preset% %ini_challenge_preset%; Incr %server_global_challenge_preset%; Set %ini_challenge_preset% %server_global_challenge_preset%; Say ***   !CHALLENGE enable   ***; If %server_global_challenge_preset% > 5; Set %server_global_challenge_preset% 1; Set %ini_challenge_preset% 1
    On Spawn; ServerFirst; If %server_global_challenge_preset% == 0; if %ts1% + %ts2% >= 20; Set %server_global_challenge_preset% %ini_challenge_preset%; Incr %server_global_challenge_preset%; Set %ini_challenge_preset% %server_global_challenge_preset%; Say ***   !CHALLENGE enable   ***; If %server_global_challenge_preset% > 5; Set %server_global_challenge_preset% 1; Set %ini_challenge_preset% 1
    
    # count kills and points, add vip slot (31 days)
    On Kill; If %server_global_challenge_preset% != 0;
        Set %tmp_challenge_step2% 0
        If %server_global_challenge_preset% == 1; Damage Shotgun; Set %tmp_msg_weapon_typ% Shotgun; Set %tmp_challenge_step2% 1
        If %server_global_challenge_preset% == 2; Damage Handgun; Set %tmp_msg_weapon_typ% Handgun; Set %tmp_challenge_step2% 1
        If %server_global_challenge_preset% == 3; Damage SniperRifle,DMR; Set %tmp_msg_weapon_typ% Sniper/DMR; Set %tmp_challenge_step2% 1
        If %server_global_challenge_preset% == 4; Damage LMG; Set %tmp_msg_weapon_typ% LMG; Set %tmp_challenge_step2% 1
        If %server_global_challenge_preset% == 5; Damage SMG; Set %tmp_msg_weapon_typ% PDW; Set %tmp_challenge_step2% 1
        If %tmp_challenge_step2% == 1; Incr %challenge_player_weapon_kills[%wk%]%; If %challenge_player_weapon_kills[%wk%]% == 10; Incr %challenge_player_points[%p%]%; Set %challenge_player_weapon_mastered[%p%][%challenge_player_points[%p%]%]% %w%; Say %p% !CHALLENGE: %tmp_msg_weapon_typ% [%challenge_player_points[%p%]%/10]; PlayerSay %p%: %w% completed - change your %tmp_msg_weapon_typ% to win a VIP SLOT; PlayerYell 5 %p% ! CHALLENGE: [%challenge_player_points[%p%]%/10] - %w% completed; If %challenge_player_points[%p%]% == 10; Say !CHALLENGE: %tmp_msg_weapon_typ% [%challenge_player_points[%p%]%/10] completed! - %p% has won a VIP SLOT for 1 month !!!; Yell 20 ! CHALLENGE - %p% has won a VIP SLOT!; Log ^b^2!CHALLENGE %tmp_msg_weapon_typ% [%challenge_player_points[%p%]%/10] completed! - %p% has won a VIP SLOT for 1 month^0^n; Set %ini_challengeCompleted_%p%-DATE%ymd%-TIME%hms%% CHALLENGE_%tmp_msg_weapon_typ%_%challenge_player_points[%p%]%/10_completed__%p%_has_won_a_VIP_SLOT_for_1_month____DEBUG_timestamp_%seconds%_/_86400_+31_+_%tmp_rem_vip_days%; Set %ini_challengeVipSlotEnd_%p%% %seconds% / 86400 + 31 + %tmp_rem_vip_days%; Set %server_challenge_winners% %p%; Exec reservedSlotsList.add %p%; Exec reservedSlotsList.save
    
    # in-game-commands
    On Say; Text !challenge,!chal,!chel; If %server_global_challenge_preset% != 0;
        PlayerFirst; Set %tmp_space% ", "
        if %challenge_player_points[%p%]% >= 1; Set %tmp_mastered_line1% %challenge_player_weapon_mastered[%p%][1]%; If %challenge_player_points[%p%]% >= 2; Set %tmp_mastered_line1% %tmp_mastered_line1% %tmp_space% %challenge_player_weapon_mastered[%p%][2]%; If %challenge_player_points[%p%]% >= 3; Set %tmp_mastered_line1% %tmp_mastered_line1% %tmp_space% %challenge_player_weapon_mastered[%p%][3]%
        If %challenge_player_points[%p%]% >= 4; Set %tmp_mastered_line2% %challenge_player_weapon_mastered[%p%][4]%; If %challenge_player_points[%p%]% >= 5; Set %tmp_mastered_line2% %tmp_mastered_line2% %tmp_space% %challenge_player_weapon_mastered[%p%][5]%; If %challenge_player_points[%p%]% >= 6; Set %tmp_mastered_line2% %tmp_mastered_line2% %tmp_space% %challenge_player_weapon_mastered[%p%][6]%
        If %challenge_player_points[%p%]% >= 7; Set %tmp_mastered_line3% %challenge_player_weapon_mastered[%p%][7]%; If %challenge_player_points[%p%]% >= 8; Set %tmp_mastered_line3% %tmp_mastered_line3% %tmp_space% %challenge_player_weapon_mastered[%p%][8]%; If %challenge_player_points[%p%]% >= 9; Set %tmp_mastered_line3% %tmp_mastered_line3% %tmp_space% %challenge_player_weapon_mastered[%p%][9]%; If %challenge_player_points[%p%]% >= 10; Set %tmp_mastered_line3% %tmp_mastered_line3 %tmp_space% %challenge_player_weapon_mastered[%p%][10]%
        If %server_global_challenge_preset% == 1; PlayerSay %p% !CHALLENGE: Shotgun [%challenge_player_points[%p%]%/10]; Set %tmp_msg_weapon_typ% "Shotgun"
        If %server_global_challenge_preset% == 2; PlayerSay %p% !CHALLENGE: Handgun [%challenge_player_points[%p%]%/10]; Set %tmp_msg_weapon_typ% "Handgun"
        If %server_global_challenge_preset% == 3; PlayerSay %p% !CHALLENGE: Sniper/DMR [%challenge_player_points[%p%]%/10]; Set %tmp_msg_weapon_typ% "Sniper/DMR"
        If %server_global_challenge_preset% == 4; PlayerSay %p% !CHALLENGE: LMG [%challenge_player_points[%p%]%/10]; Set %tmp_msg_weapon_typ% "LMG"
        If %server_global_challenge_preset% == 5; PlayerSay %p% !CHALLENGE: PDW [%challenge_player_points[%p%]%/10]; Set %tmp_msg_weapon_typ% "PDW"
        If %challenge_player_points[%p%]% >= 1; PlayerSay Completed: %tmp_mastered_line1%; If %challenge_player_points[%p%]% >= 4; PlayerSay %tmp_mastered_line2%; If %challenge_player_points[%p%]% >= 7; PlayerSay %tmp_mastered_line3%
        Say !CHALLENGE: Make 10 kills with each %tmp_msg_weapon_typ% to win a VIP SLOT for 1 month. Each round new challenge
    On Say; Text !challenge,!chal,!chel; If %server_global_challenge_preset% == 0; Say !CHALLENGE disabled - need more players, maybe next round
    
    # remove vip slot after 31 days...
    On Spawn; PlayerFirst; If %ini_challengeVipSlotEnd_%p%% != 0; 
        If %seconds% / 86400 < %ini_challengeVipSlotEnd_%p%%; Set %tmp_rem_vip_days% %ini_challengeVipSlotEnd_%p%% - %seconds% / 86400; Say %p% welcome !CHALLENGE winner with VIP Slot; PlayerSay VIP Slot days remaining: %tmp_rem_vip_days%
        If %seconds% / 86400 > %ini_challengeVipSlotEnd_%p%%; Set %ini_challengeVipSlotEnd_%p%% 0; PlayerSay %p% your !CHALLENGE VIP Slot has expired; PlayerSay Win a new !CHALLENGE or buy a VIP Slot; Log ^b^2!CHALLENGE^0^n VIP Slot for %p% removed; Exec reservedSlotsList.remove %p%; Exec reservedSlotsList.save
    
    # round end winner notify
    On RoundOver; If %server_challenge_winners% != 0; If %server_challenge_winners% != none; Say %server_challenge_winners% has won a !VIP SLOT for playing the !CHALLENGE
    ####       !CHALLENGE - END       #########
    script customization:
    RED: # players on round start to enable the challenge
    GREEN: # of kills for each weapon (10: eg. 10x saiga kills, 10 dao kills, 10x ...)
    BLUE: # of days for the vip slot (31 days)



    VERSION 2 (modified for VIP Slot Manager Plugin)
    If you use the 'VIP Slot Manager Plugin' then use this modified VERSION 2 of the weapon challenge script.
    Code:
    ####       !CHALLENGE        #########
    # VERSION 2 - modified for VIP Slot Manager Plugin
    # REQUIRES: VIP Slot Manager Plugin
    
    # win vip slot for 1 month
    # req. min. 20 players on round start to enable the weapon challenge
    
    # Preset 1: Shotgun (10x10 kills -> 10 kills with each shotgun)
    # Preset 2: Handgun (10x10 kills)
    # Preset 3: Sniper/DMR (10x10 kills)
    # Preset 4: LMG (10x10 kills)
    # Preset 5: PDW (10x10 kills)
    
    On Say; ServerFirst; If %server_global_challenge_preset% == 0; if %ts1% + %ts2% >= 20; Set %server_global_challenge_preset% %ini_challenge_preset%; Incr %server_global_challenge_preset%; Set %ini_challenge_preset% %server_global_challenge_preset%; Say ***   !CHALLENGE enable   ***; If %server_global_challenge_preset% > 5; Set %server_global_challenge_preset% 1; Set %ini_challenge_preset% 1
    On Spawn; ServerFirst; If %server_global_challenge_preset% == 0; if %ts1% + %ts2% >= 20; Set %server_global_challenge_preset% %ini_challenge_preset%; Incr %server_global_challenge_preset%; Set %ini_challenge_preset% %server_global_challenge_preset%; Say ***   !CHALLENGE enable   ***; If %server_global_challenge_preset% > 5; Set %server_global_challenge_preset% 1; Set %ini_challenge_preset% 1
    
    # count kills and points, add vip slot (31 days)
    On Kill; If %server_global_challenge_preset% != 0;
        Set %tmp_challenge_step2% 0
        If %server_global_challenge_preset% == 1; Damage Shotgun; Set %tmp_msg_weapon_typ% Shotgun; Set %tmp_challenge_step2% 1
        If %server_global_challenge_preset% == 2; Damage Handgun; Set %tmp_msg_weapon_typ% Handgun; Set %tmp_challenge_step2% 1
        If %server_global_challenge_preset% == 3; Damage SniperRifle,DMR; Set %tmp_msg_weapon_typ% Sniper/DMR; Set %tmp_challenge_step2% 1
        If %server_global_challenge_preset% == 4; Damage LMG; Set %tmp_msg_weapon_typ% LMG; Set %tmp_challenge_step2% 1
        If %server_global_challenge_preset% == 5; Damage SMG; Set %tmp_msg_weapon_typ% PDW; Set %tmp_challenge_step2% 1
        If %tmp_challenge_step2% == 1; Incr %challenge_player_weapon_kills[%wk%]%; If %challenge_player_weapon_kills[%wk%]% == 10; Incr %challenge_player_points[%p%]%; Set %challenge_player_weapon_mastered[%p%][%challenge_player_points[%p%]%]% %w%; Say %p% !CHALLENGE: %tmp_msg_weapon_typ% [%challenge_player_points[%p%]%/10]; PlayerSay %p%: %w% completed - change your %tmp_msg_weapon_typ% to win a VIP SLOT; PlayerYell 5 %p% ! CHALLENGE: [%challenge_player_points[%p%]%/10] - %w% completed; If %challenge_player_points[%p%]% == 10; Say !CHALLENGE: %tmp_msg_weapon_typ% [%challenge_player_points[%p%]%/10] completed! - %p% has won a VIP SLOT for 1 month !!!; Yell 20 ! CHALLENGE - %p% has won a VIP SLOT!; Log ^b^2!CHALLENGE %tmp_msg_weapon_typ% [%challenge_player_points[%p%]%/10] completed! - %p% has won a VIP SLOT for 1 month^0^n; Set %server_challenge_winners% %p%; Say /vsm-addvip %p% +31
    
    # in-game-commands
    On Say; Text !challenge,!chal,!chel; If %server_global_challenge_preset% != 0;
        PlayerFirst; Set %tmp_space% ", "
        if %challenge_player_points[%p%]% >= 1; Set %tmp_mastered_line1% %challenge_player_weapon_mastered[%p%][1]%; If %challenge_player_points[%p%]% >= 2; Set %tmp_mastered_line1% %tmp_mastered_line1% %tmp_space% %challenge_player_weapon_mastered[%p%][2]%; If %challenge_player_points[%p%]% >= 3; Set %tmp_mastered_line1% %tmp_mastered_line1% %tmp_space% %challenge_player_weapon_mastered[%p%][3]%
        If %challenge_player_points[%p%]% >= 4; Set %tmp_mastered_line2% %challenge_player_weapon_mastered[%p%][4]%; If %challenge_player_points[%p%]% >= 5; Set %tmp_mastered_line2% %tmp_mastered_line2% %tmp_space% %challenge_player_weapon_mastered[%p%][5]%; If %challenge_player_points[%p%]% >= 6; Set %tmp_mastered_line2% %tmp_mastered_line2% %tmp_space% %challenge_player_weapon_mastered[%p%][6]%
        If %challenge_player_points[%p%]% >= 7; Set %tmp_mastered_line3% %challenge_player_weapon_mastered[%p%][7]%; If %challenge_player_points[%p%]% >= 8; Set %tmp_mastered_line3% %tmp_mastered_line3% %tmp_space% %challenge_player_weapon_mastered[%p%][8]%; If %challenge_player_points[%p%]% >= 9; Set %tmp_mastered_line3% %tmp_mastered_line3% %tmp_space% %challenge_player_weapon_mastered[%p%][9]%; If %challenge_player_points[%p%]% >= 10; Set %tmp_mastered_line3% %tmp_mastered_line3 %tmp_space% %challenge_player_weapon_mastered[%p%][10]%
        If %server_global_challenge_preset% == 1; PlayerSay %p% !CHALLENGE: Shotgun [%challenge_player_points[%p%]%/10]; Set %tmp_msg_weapon_typ% "Shotgun"
        If %server_global_challenge_preset% == 2; PlayerSay %p% !CHALLENGE: Handgun [%challenge_player_points[%p%]%/10]; Set %tmp_msg_weapon_typ% "Handgun"
        If %server_global_challenge_preset% == 3; PlayerSay %p% !CHALLENGE: Sniper/DMR [%challenge_player_points[%p%]%/10]; Set %tmp_msg_weapon_typ% "Sniper/DMR"
        If %server_global_challenge_preset% == 4; PlayerSay %p% !CHALLENGE: LMG [%challenge_player_points[%p%]%/10]; Set %tmp_msg_weapon_typ% "LMG"
        If %server_global_challenge_preset% == 5; PlayerSay %p% !CHALLENGE: PDW [%challenge_player_points[%p%]%/10]; Set %tmp_msg_weapon_typ% "PDW"
        If %challenge_player_points[%p%]% >= 1; PlayerSay Completed: %tmp_mastered_line1%; If %challenge_player_points[%p%]% >= 4; PlayerSay %tmp_mastered_line2%; If %challenge_player_points[%p%]% >= 7; PlayerSay %tmp_mastered_line3%
        Say !CHALLENGE: Make 10 kills with each %tmp_msg_weapon_typ% to win a VIP SLOT for 1 month. Each round new challenge
    On Say; Text !challenge,!chal,!chel; If %server_global_challenge_preset% == 0; Say !CHALLENGE disabled - need more players, maybe next round
    
    # round end winner notify
    On RoundOver; If %server_challenge_winners% != 0; If %server_challenge_winners% != none; Say %server_challenge_winners% has won a !VIP SLOT for playing the !CHALLENGE
    ####       !CHALLENGE - END       #########

    CHANGELOG:
    12.05.2017 add modified version 2 for VIP Slot Manager Plugin
    01.11.2016 code colored for easier customization
    Last edited by maxdralle; 14-05-2017 at 07:34. Reason: modified version for VIP Slot Manager Plugin
    Developer of the VIP Slot Manager Plugin

  2. #2
    Procon Addict
    Join Date
    Mar 2014
    Location
    Russia, Moscow
    Posts
    502
    Nice work man, look good. Maybe in some day ill try it

  3. #3
    Nice script dude, should help bring people in server too if VIP slots have more to offer of course like immune to some weapon limits etc.

    But heres an idea just off the top. How about saving player names and their VIP slot times used for a more future option in script.

    The player wins a VIP slot for a month. Nothing interesting there. But, maybe a count down of the players VIP time added up with a new one he may have win again.

    Heres an example. Player wins VIP slot for a month. Coundown starts running out. The next day he wins again. So it would mean 30 day countdown restarts over. But Instead, the previously used VIP time added up to the newly gotten VIP slot time. So it would be 31 day of VIP earned in total.

    Heres the trick i was thinking of;
    Instead of keep adding up VIP time on top of previous ones, maybe make it a seperate countdown. This countdown can only go up to 90days. So even if player keeps winning VIP slots over and over, player can only win maximum of 90 days of VIP slot. After that, the player will be excluded from !challenge for say, a year.

    I though this way, players would get the taste of having a VIP slot (may be immune to some weapon limits etc.) and decide to donate for a VIP slot until his exclution time from !challenge is over.

  4. #4
    Procon Addict
    Join Date
    Sep 2010
    Location
    Burton On Trent Staffordshire UK
    Posts
    579
    so ive just installed this on our server, Am i right in presuming, that the 10 kills have to be done in 1 round? and after the round finishes it resets until the next round? or are the kills carried over? and where is the winner stored as i cant see the proconrulz ini store on my procon host ?

    if it is reset every round this is an amazing plugin. If they are carried over then its not so good and how is there a way of doing so?

  5. #5
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    285
    @Hodor
    thx! i will join on your server. i will see the challenge in action...

    @BuRockK
    your idea is good. but i think your extra features makes the code too complicated. i think it is better to stay by a clear basic version. because adding new features is easier than removing...
    Last edited by maxdralle; 06-10-2016 at 22:35.

  6. #6
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    285
    Quote Originally Posted by EntraVenuS View Post
    so ive just installed this on our server, Am i right in presuming, that the 10 kills have to be done in 1 round? and after the round finishes it resets until the next round? or are the kills carried over? and where is the winner stored as i cant see the proconrulz ini store on my procon host ?

    if it is reset every round this is an amazing plugin. If they are carried over then its not so good and how is there a way of doing so?

    yes, it resets the kill points after the round is finished. new round = new challenge (0 points for each player).

    the winners will be stored in the proconrulz ini file. it is a textfile on your procon layer server. you can download it via ftp. the file is in the folder CONFIGS with the filename <SERVERIP>_proconrulz.ini

    here is a example proconrulz ini file with 1 winner:
    proconINI.png

    if a player wins the challenge, you will also see a message in your procon pc tool:
    llllllllll.png

  7. #7
    Awesome script maxdralle.

    Is't also possible to change it.

    example: venom, knife, lav etc etc

  8. #8
    Anyway to port it to BF3 or anybody have tested it in BF3 ?
    Last edited by Jockey; 31-10-2016 at 18:08.

  9. #9
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    285
    @B-73
    yes, it is possible to add KNIFE/MEELE as a weapon challenge. the following weapon groups are working: Melee, Handgun, AssaultRifle, LMG, SMG, SniperRifle, Shotgun, DMR, Carbine

    a challenge for vehicles is not a good idea because procon count vehicle kills with the weapon id DEATH...


    @Jockey
    i think it works also for BF3
    Last edited by maxdralle; 01-11-2016 at 10:04.

  10. #10
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    285

    bonus special challenge - kill the viper noob

    BONUS CHALLENGE - kill the viper noob

    this script is a little special challenge. i call this challenge "kill the viper noob".

    the challenge start automatically if player make more than 70 kills in one round with a air vehicle (usually it is a viper on the map shanghai). this kind of players are farming kills with a extrem high round kd and it is realy hard kill this players. if a viper noob is on the the server with more than 70 kills it starts the following challenge: Next player who kill's the Viper NOOB <playernameXY> win's a VIP SLOT for 1 week!

    the challenge starts max. one time per round.

    REQUIRES: VIP Slot Manager Plugin




    Code:
    ####       SPECIAL CHALLENGE - VIPER NOOB       #########
    # win vip slot for 1 week 
    # this challenge start automatically if player make more than 70 kills in on round with a air vehicle (usually is it a viper).
    # req. min. 70 viper kills by one player in one round
    # req. min. 20 players on server
    # req. min. 60 tickets remaining
    
    
    #count air kills, start challenge after xy air kills
    On Kill; Damage VehicleAir; 
        Incr %player_air_kills%; If %player_air_kills% > %server_most_air_kills%;Set %server_most_air_kills% %player_air_kills%; Set %server_most_air_kills_playername% %p%; If %player_air_kills% == 40; Say ==> Little Viper NOOB: %server_most_air_kills_playername%
        if %server_viper_noob_challenge% == 1; if %p% == %server_most_air_kills_playername%; Incr %tmp_viper_noob_yeller%; if %tmp_viper_noob_yeller% > 10; Yell *** SPECIAL CHALLENGE *** Kill the Viper NOOB %server_most_air_kills_playername% to win a !VIP SLOT!!!; Say *******        SPECIAL CHALLENGE          *******; Say Next player who kill's the Viper NOOB %server_most_air_kills_playername% win's a !VIP SLOT for 1 week!; Set %tmp_viper_noob_yeller% 0
        if %server_viper_noob_challenge% == 0; If %player_air_kills% == 70; If %ts1% + %ts2% >= 20; if %server_team_score[2]% > 60; if %server_team_score[1]% > 60; Yell 30 *** SPECIAL CHALLENGE *** Kill the Viper NOOB %server_most_air_kills_playername% to win a !VIP SLOT!!!; Say **********************************************; Say *******        SPECIAL CHALLENGE         *******; Say ***  Next player who kill's the Viper NOOB   ***; Say ***  win's a !VIP SLOT for 1 week!                ***; Say ***  VIPER NOOB:   >>>   %server_most_air_kills_playername%   <<<; Say **********************************************; Set %server_viper_noob_challenge% 1
        if %server_viper_noob_challenge% == 0; If %player_air_kills% == 65; If %ts1% + %ts2% >= 20; Say %p%  >>>> WANTED <<<<
    
    # winner
    On Kill; if %server_viper_noob_challenge% == 1; if %v% == %server_most_air_kills_playername%; if %v% != %p%; 
        Yell 10 *** SPECIAL CHALLENGE ENDED *** %p% has won a !VIP SLOT; Say **************************************************; Say *****       SPECIAL CHALLENGE ENDED           *****; Say ***  VIPER NOOB DOWN - WE HAVE A WINNER    ***; Say ***  %p% has won a !VIP SLOT for 1 week
        Log ^b^2SPECIAL CHALLENGE: VIPER NOOB - %p% has won a !VIP SLOT for 1 week (viper noob target: %server_most_air_kills_playername%)^0^n; Set %tmp_challenge_viper_noob_winner% 1; Set %server_challenge_viper_noob_winner% %p%;
        Set %ini_challengeCompleted_%p%-DATE%ymd%-TIME%hms%% CHALLENGE_VIPER_NOOB__%p%_has_won_a_VIP_SLOT_for_1_week___DEBUG_timestamp_vip_end_%seconds%_/_86400_+7_+_%tmp_rem_vip_days%__viper_noob_target_%server_most_air_kills_playername%;
        Say /vsm-addvip %p% +7; Set %server_viper_noob_challenge% 2;
    On Spawn; If %tmp_challenge_viper_noob_winner% == 1; PlayerSay %p% thx for killing the VIPER NOOB. You have won a !VIP SLOT for 1 week!; PlayerYell %p% you have won a !VIP SLOT; Set %tmp_challenge_viper_noob_winner% 2;
    
    # round end winner notify
    On RoundOver; If %server_challenge_viper_noob_winner% != 0; If %server_challenge_viper_noob_winner% != none; Say %server_challenge_viper_noob_winner% has won a !VIP SLOT for killing the Viper NOOB!
    
    ####       SPECIAL CHALLENGE - VIPER NOOB - END       #########

    script customization:
    RED: # of players to enable the challenge
    GREEN: # of kills with air vehicle (viper)
    BLUE: # of days for the vip slot (7 days)
    Last edited by maxdralle; 14-05-2017 at 07:38.
    Developer of the VIP Slot Manager Plugin

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •