Jump to content

Enoch

Members
  • Posts

    72
  • Joined

  • Last visited

Posts posted by Enoch

  1. good day i would like to request a pvp script one npc but 2 option 1 Trans pvp 3rd job cant enter, option 2 3rd job pvp trans cant enter thank you, same with woe castle if trans woe 3rd job cant enter and if 3rd job woe trans cant enter 

     

    here is my pvp script how can i add that restrictions

     

    core,141,124,5    script    PvP Warper::PvP Warper    4_M_FAIRYSOLDIER,{
    mes "[ ^0065DFPVP Warper^000000 ]";
    mes "Welcome To PvP Warper";
    mes "I Can Help You Warp To PVP Room";
    next;
    mes "[ ^0065DFPvP Warper^000000 ]";
    mes "You Ready?";
    switch(select("^6ED1E1Trans Martial Arts^000000 - ^FF0000["+getmapusers("dbz_tour")+"]^000000 Players.:^FF33CC3rd Job Arena^000000 - ^FF0000["+getmapusers("cell_game")+"]^000000 Players.:^BAB9B9Coliseum Guild Arena^000000 - ^FF0000["+getmapusers("coliseum")+"]^000000 Players.:^FF7F00PvP Champion^000000 - ^FF0000["+getmapusers("1@ge_st")+"^000000 Players.:No")) {
        case 1:
            announce "[ "+ strcharinfo(0) +" ] has joined Trans Martial Arts",0,0x6ED1E1; //announce and end
            switch( rand(1,6) ){
            case 1:    warp "dbz_tour", 85, 118; end;
            case 2:    warp "dbz_tour", 109, 118; end;
            case 3:    warp "dbz_tour", 108, 93; end;
            case 4:    warp "dbz_tour", 86, 92; end;
            case 5:    warp "dbz_tour", 96, 106; end;
            case 6:    warp "dbz_tour", 98, 129; end;
            }
        case 2:
            announce "[ "+ strcharinfo(0) +" ] has joined 3rd Job Arena",0,0xFF33CC; //announce and end
            warp "cell_game",0,0;
            end;

        case 3:
            announce "[ "+ strcharinfo(0) +" ] has joined Coliseum Guild Arena",0,0xBAB9B9; //announce and end
            switch( rand(1,6) ){
            case 1:    warp "coliseum", 70, 103; end;
            case 2:    warp "coliseum", 86, 86; end;
            case 3:    warp "coliseum", 117, 96; end;
            case 4:    warp "coliseum", 105, 72; end;
            case 5:    warp "coliseum", 128, 77; end;
            case 6:    warp "coliseum", 69, 75; end;
            }

        case 4:
            if(Class != .class) {
                mes "I'm sorry, but only "+jobname(.class)+"s are allowed to join this PvP Room.";
                close;
            }
            mes "Do you want to go to the PvP Room?";
            if(select("- Yes:- No") - 1) close;
            close2;
            announce "[ "+ strcharinfo(0) +" ] has entered Champion 1 On 1  Arena!!",0,0x00BFFF; //announce and end
            warp "1@ge_st",0,0;
            end;

            OnInit:
            set .n$,"["+strnpcinfo(1)+"]"; // NPC Name
            set .class,4016; // Allowed Class
            end;    
        case 5:
            close;
    }
     

×
×
  • Create New...