Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,155,181,5 script Sample 757,{
- if( mobcount( "prontera",strnpcinfo(0)+"::OnKilled" ) ){
- mes "Please kill the monster.";
- }else{
- monster "prontera",155,181,"--ja--",1002,"KILL ME",1,strnpcinfo(0)+"::OnKilled";
- warp "prontera",155,181;
- }
- end;
- OnKilled:
- announce "OMG, you killed the MONSTER!!!.",0;
- getitem 512,100;
- sleep2 3000;
- warp "prontera",155,181;
- end;
- OnPCDieEvent:
- if( strcharinfo(3) == "prontera" && mobcount( "prontera",strnpcinfo(0)+"::OnKilled" ) ){
- killmonster "prontera",strnpcinfo(0)+"::OnKilled";
- announce "Monster Died when player died in prontera.";
- }
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment