Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×
  • 0

how can work this.


Blue Jem

Question


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  



- script pvppoints -1,{    OnPCKillEvent:

        if ( strcharinfo(3) == "guild_vs3 || prontera || alberta || spl_in02 || spl_in01 || splendide || man_in01 || manuk || mid_camp || mid_campin || mid_camp || 

e_tower || cave || ve_in02 || ve_in || veins || ayothaya || ein_in01 || einbroch || einbech || airport || airplane || ra_temin || ra_in01 || rachel || y_airport ||

yuno_pre || yuno || yuno_in05 || yuno_in04 || yuno_in03 || yuno_in01 || xmas || xmas_in || umbala || um_in || job_sword1 || sec_in01 || prt_in || prt_church || 

prt_castle || prt_are01 || prt_are_in || pay_arche || payon || payon_in03 || payon_in02 || payon_in01 || nif_in || mosk_in || morocc || morocc_in || monk_in || 

moc_castle || lou_in02 || lou_in01 || louyang || lhz_in03 || lhz_in02 || lhz_in01 || lhz_airport || lighthalzen || hu_in01 || hugel || izlude || izlude_in || in_orcs01 

|| in_moc_16 || in_hunter || gon_test || gonryun || gon_in || geffen_in || geffen || gef_tower || comodo || cmd_in02 || cmd_in01 || amatsu || ama_in02 || ama_in01 || 

aldebaran || aldeba_in || alde_alche || alberta || alberta_in || ayo_in02 || ayo_in01 || turbo_e_4 || turbo_e_8 || turbo_e_16 || pvp_y_1-1 || pvp_y_1-2 || pvp_y_1-3 || 

pvp_y_1-4 || pvp_y_1-5 || pvp_y_2-1 || pvp_y_2-2 || pvp_y_2-3 || pvp_y_2-4 || pvp_y_2-5 || pvp_y_3-1 || pvp_y_3-2 || pvp_y_3-3 || pvp_y_3-4 || pvp_y_3-5 || pvp_y_4-1 

|| pvp_y_4-2 || pvp_y_4-3 || pvp_y_4-4 || pvp_y_4-5 || pvp_y_5-1 || pvp_y_5-2 || pvp_y_5-3 || pvp_y_5-4 || pvp_y_5-5 || pvp_y_6-1 || pvp_y_6-2 || pvp_y_6-3 || pvp_y_6

-4 || pvp_y_6-5 || pvp_y_7-1 || pvp_y_7-2 || pvp_y_7-3 || pvp_y_7-4 || pvp_y_7-5 || pvp_y_8-1 || pvp_y_8-2 || pvp_y_8-3 || pvp_y_8-4 || pvp_y_8-5 || pvp_n_1-1 || 

pvp_n_1-2 || pvp_n_1-3 || pvp_n_1-4 || pvp_n_1-5 || pvp_n_2-1 || pvp_n_2-2 || pvp_n_2-3 || pvp_n_2-4 || pvp_n_2-5 || pvp_n_3-1 || pvp_n_3-2 || pvp_n_3-3 || pvp_n_3-4 

|| pvp_n_3-5 || pvp_n_4-1 || pvp_n_4-2 || pvp_n_4-3 || pvp_n_4-4 || pvp_n_4-5 || pvp_n_5-1 || pvp_n_5-2 || pvp_n_5-3 || pvp_n_5-4 || pvp_n_5-5 || pvp_n_6-1 || pvp_n_6

-2 || pvp_n_6-3 || pvp_n_6-4 || pvp_n_6-5 || pvp_n_7-1 || pvp_n_7-2 || pvp_n_7-3 || pvp_n_7-4 || pvp_n_7-5 || pvp_n_8-1 || pvp_n_8-2 || pvp_n_8-3 || pvp_n_8-4 || 

pvp_n_8-5 || pvp_2vs2 " ) end; {

if ( kill >= 2 ) {

                set arenapoint,arenapoint+10;

                dispbottom "You have gained 10 Arena Points. Total is "+arenapoint+" Arena Points.";

atcommand "@fakename [1] "+ strcharinfo(0);

                set kill, 0;

end; {

if ( kill >= 3 ) {

                set arenapoint,arenapoint+4;

                dispbottom "You have gained 4 Arena Points. Total is "+arenapoint+" Arena Points.";

atcommand "@fakename [2] "+ strcharinfo(0);

                set kill, 0;

end; {

if ( kill >= 4 ) {

                set arenapoint,arenapoint+4;

                dispbottom "You have gained 4 Arena Points. Total is "+arenapoint+" Arena Points.";

atcommand "@fakename [3] "+ strcharinfo(0);

                set kill, 0;

end; {

if ( kill >= 5 ) {

                set arenapoint,arenapoint+4;

                dispbottom "You have gained 4 Arena Points. Total is "+arenapoint+" Arena Points.";

atcommand "@fakename [4] "+ strcharinfo(0);

                set kill, 0;

end; {

if ( kill >= 6 ) {

                set arenapoint,arenapoint+4;

                dispbottom "You have gained 4 Arena Points. Total is "+arenapoint+" Arena Points.";

atcommand "@fakename [5] "+ strcharinfo(0);

                set kill, 0;

end; {

if ( kill >= 7 ) {

                set arenapoint,arenapoint+4;

                dispbottom "You have gained 4 Arena Points. Total is "+arenapoint+" Arena Points.";

atcommand "@fakename [6] "+ strcharinfo(0);

                set kill, 0;

end; {

if ( kill >= 8 ) {

                set arenapoint,arenapoint+4;

                dispbottom "You have gained 4 Arena Points. Total is "+arenapoint+" Arena Points.";

atcommand "@fakename [8] "+ strcharinfo(0);

                set kill, 0;

}

}

}

- script pvppointss -1,{

    OnPCDieEvent:

        if ( strcharinfo(3) == "guild_vs3 || prontera || alberta || spl_in02 || spl_in01 || splendide || man_in01 || manuk || mid_camp || mid_campin || mid_camp || 

e_tower || cave || ve_in02 || ve_in || veins || ayothaya || ein_in01 || einbroch || einbech || airport || airplane || ra_temin || ra_in01 || rachel || y_airport ||

yuno_pre || yuno || yuno_in05 || yuno_in04 || yuno_in03 || yuno_in01 || xmas || xmas_in || umbala || um_in || job_sword1 || sec_in01 || prt_in || prt_church || 

prt_castle || prt_are01 || prt_are_in || pay_arche || payon || payon_in03 || payon_in02 || payon_in01 || nif_in || mosk_in || morocc || morocc_in || monk_in || 

moc_castle || lou_in02 || lou_in01 || louyang || lhz_in03 || lhz_in02 || lhz_in01 || lhz_airport || lighthalzen || hu_in01 || hugel || izlude || izlude_in || in_orcs01 

|| in_moc_16 || in_hunter || gon_test || gonryun || gon_in || geffen_in || geffen || gef_tower || comodo || cmd_in02 || cmd_in01 || amatsu || ama_in02 || ama_in01 || 

aldebaran || aldeba_in || alde_alche || alberta || alberta_in || ayo_in02 || ayo_in01 || turbo_e_4 || turbo_e_8 || turbo_e_16 || pvp_y_1-1 || pvp_y_1-2 || pvp_y_1-3 || 

pvp_y_1-4 || pvp_y_1-5 || pvp_y_2-1 || pvp_y_2-2 || pvp_y_2-3 || pvp_y_2-4 || pvp_y_2-5 || pvp_y_3-1 || pvp_y_3-2 || pvp_y_3-3 || pvp_y_3-4 || pvp_y_3-5 || pvp_y_4-1 

|| pvp_y_4-2 || pvp_y_4-3 || pvp_y_4-4 || pvp_y_4-5 || pvp_y_5-1 || pvp_y_5-2 || pvp_y_5-3 || pvp_y_5-4 || pvp_y_5-5 || pvp_y_6-1 || pvp_y_6-2 || pvp_y_6-3 || pvp_y_6

-4 || pvp_y_6-5 || pvp_y_7-1 || pvp_y_7-2 || pvp_y_7-3 || pvp_y_7-4 || pvp_y_7-5 || pvp_y_8-1 || pvp_y_8-2 || pvp_y_8-3 || pvp_y_8-4 || pvp_y_8-5 || pvp_n_1-1 || 

pvp_n_1-2 || pvp_n_1-3 || pvp_n_1-4 || pvp_n_1-5 || pvp_n_2-1 || pvp_n_2-2 || pvp_n_2-3 || pvp_n_2-4 || pvp_n_2-5 || pvp_n_3-1 || pvp_n_3-2 || pvp_n_3-3 || pvp_n_3-4 

|| pvp_n_3-5 || pvp_n_4-1 || pvp_n_4-2 || pvp_n_4-3 || pvp_n_4-4 || pvp_n_4-5 || pvp_n_5-1 || pvp_n_5-2 || pvp_n_5-3 || pvp_n_5-4 || pvp_n_5-5 || pvp_n_6-1 || pvp_n_6

-2 || pvp_n_6-3 || pvp_n_6-4 || pvp_n_6-5 || pvp_n_7-1 || pvp_n_7-2 || pvp_n_7-3 || pvp_n_7-4 || pvp_n_7-5 || pvp_n_8-1 || pvp_n_8-2 || pvp_n_8-3 || pvp_n_8-4 || 

pvp_n_8-5 || pvp_2vs2 " ) end; {

            if ( death >= 1 ) {

                set arenapoint,arenapoint+10;

                dispbottom "You have gained 10 Arena Points. Total is "+arenapoint+" Arena Points.";

atcommand "@fakename [Freeding] "+ strcharinfo(0);

                set death, 0;

            }

            set death, death + 1;

        }

        end;

}

post-20646-0-49135400-1387792361_thumb.jpg

Edited by Blue Jem
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   616
  • Joined:  07/05/12
  • Last Seen:  

Well the synthaxe is wrong

if ( strcharinfo(3) == "guild_vs3 || prontera || ...

->

if ( strcharinfo(3) == "guild_vs3" || strcharinfo(3) == "prontera" || ...
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  219
  • Topics Per Day:  0.04
  • Content Count:  1181
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Seems like a lot of scripting just to control which maps give points. Why not just set it for specific arena maps that you wish to give points on? Or make it always give points for a kill? They can't get a point for maps that arn't pvp anyway since they can't kill anybody else.

 

Peopleperson49

Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

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