Jump to content
  • 0

add script


myserver

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  45
  • Reputation:   0
  • Joined:  08/27/18
  • Last Seen:  

Spoiler

-    script    mvp-ss    -1,{
    OnInit:
        set .map$,"guild_vs1-2";
    end;
    
    OnMinute34:
        announce "Attention to all players online",0;
        sleep 1000;
        announce "MVP summoner is start please warp to center of prontera",0;
        sleep 1000;            
        mapannounce .map$,"MVP summoner start in 5s",0;
        sleep 1000;
        mapannounce .map$,"5s",0;
        sleep 1000;
        mapannounce .map$,"4s",0;
        sleep 1000;
        mapannounce .map$,"3s",0;
        sleep 1000;
        mapannounce .map$,"2s",0;
        sleep 1000;
        mapannounce .map$,"1s",0;
        sleep 1000;        
        initnpctimer; // Start the timer
        monster .map$,0,0,"Angeling",1096,1,"mvp-ss::OnWave";
        monster .map$,0,0,"Archangeling",1388,1,"mvp-ss::OnWave";
        monster .map$,0,0,"Ghostring",1582,1,"mvp-ss::OnWave";
    end;
    
    OnWave:
        if(!mobcount(.map$,"mvp-ss::OnWave")){
            sleep 5000;
            mapannounce .map$,"First wave clear",0;
            sleep 2000;            
            mapannounce .map$,"Second wave start in 5s",0;
            sleep 1000;
            mapannounce .map$,"5s",0;
            sleep 1000;
            mapannounce .map$,"4s",0;
            sleep 1000;
            mapannounce .map$,"3s",0;
            sleep 1000;
            mapannounce .map$,"2s",0;
            sleep 1000;
            mapannounce .map$,"1s",0;
            sleep 1000;    
            monster .map$,0,0,"Maya Purple",1289,1,"mvp-ss::OnWaveFinal";
            monster .map$,0,0,"Mutant Dragon",1262,1,"mvp-ss::OnWaveFinal";
            monster .map$,0,0,"Tirfing",1204,"mvp-ss::OnWaveFinal";
    end;            
    OnWaveFinal:
            if(!mobcount(.map$,"mvp-ss::OnWaveFinal")){
            sleep 5000;
            mapannounce .map$,"GG",0;
            sleep 2000;
            mapannounce .map$,"Stage is Clear",0;
            sleep 2000;
            mapannounce .map$,"all players warp to Prontera",0;
            sleep 2000;
            mapwarp .map$,"prontera",180,180;
            }
        end;
    }
}

how can add the npc for this script . then every 60mins the npc will be show at prontera then after 5mins the npc is hide

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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