yuhsing

Untitled

Mar 25th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5. prontera,155,171,5 script Sample 757,{
  6. if( getgmlevel() > 80 ){
  7. mes "Input new item ID.";
  8. do{
  9. input .@item,0,32767;
  10. if( !.@item ) break;
  11. }while( getitemname( .@item ) == "null" );
  12. .itemid = .@item;
  13. if( .@itemid ) mes "Updated with "+getitemname( .itemid );
  14. }
  15. close2;
  16.  
  17. OnInit:
  18. getmapxy( .map$,.x,.y,1 );
  19. while( 1 ){
  20. if( .itemid ){
  21. makeitem .itemid,1,.map$,( .x + rand( -5,5 ) ),( .y + rand( -5,5 ) );
  22. }
  23. sleep 1000;
  24. }
  25. end;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment