Emistry

[RO] random shop npc + disable_item test

Mar 26th, 2016
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. - shop test_shop 757,909:-1
  2.  
  3. payon_mem,83,116,3 script test 4_F_KAFRA9,{
  4.  
  5. OnTalk:
  6. disable_items;
  7. mes "Disabled Items";
  8. mes "Spam HOTKEY switch equipments";
  9. mes " ";
  10. mes "^FF0000But Failed^000000";
  11. next;
  12. mes "Spam HOTKEY switch equipments";
  13. mes " ";
  14. mes "^FF0000But Success after next few try^000000";
  15. callshop "test_shop",2;
  16. npcshopattach "test_shop",1;
  17. end;
  18.  
  19. OnSellItem:
  20. .@size = getarraysize( @sold_nameid );
  21. for( .@i = 0; .@i < .@size; .@i++ )
  22. mes " > "+getitemname( @sold_nameid[.@i] );
  23. enable_items;
  24. close;
  25. }
Add Comment
Please, Sign In to add comment