yuhsing

Untitled

Mar 26th, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1.  
  2. prontera,155,181,5 script Sample 757,{
  3. if( mobcount( "prontera",strnpcinfo(0)+"::OnKilled" ) ){
  4. mes "Please kill the monster.";
  5. }else{
  6. monster "prontera",155,181,"--ja--",1002,"KILL ME",1,strnpcinfo(0)+"::OnKilled";
  7. warp "prontera",155,181;
  8. }
  9. end;
  10.  
  11. OnKilled:
  12. announce "OMG, you killed the MONSTER!!!.",0;
  13. getitem 512,100;
  14. sleep2 3000;
  15. warp "prontera",155,181;
  16. end;
  17.  
  18. OnPCDieEvent:
  19. if( strcharinfo(3) == "prontera" && mobcount( "prontera",strnpcinfo(0)+"::OnKilled" ) ){
  20. killmonster "prontera",strnpcinfo(0)+"::OnKilled";
  21. announce "Monster Died when player died in prontera.";
  22. }
  23. end;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment