yuhsing

Untitled

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