yuhsing

Untitled

Dec 19th, 2012
1,257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1.  
  2.  
  3. - script -1,{
  4. OnNPCKillEvent:
  5. if( getmonsterinfo( killedrid,MOB_MVPEXP ) ){
  6.  
  7. if( getcharid(1) ){
  8. getpartymember getcharid(1),2;
  9. .@Name$ = $@partymembername$[ rand( $@partymembercount ) ];
  10. }else{
  11. .@Name$ = strcharinfo(0);
  12. }
  13. getitem 607,3,.@AID;
  14. announce "[ "+( getcharid(1) ? "Party":"Player" )+" ] "+.@Name$+" has killed "+getmonsterinfo( killedrid,MOB_NAME )+" at "+strcharinfo(3),0;
  15. }
  16. end;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment