Guest

Untitled

By: a guest on Jan 28th, 2012  |  syntax: None  |  size: 0.99 KB  |  hits: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. EVENT 22001
  2. E SELECT_MSG 15017 15016 60000 51110 70000 70001 80000 80001 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1;
  3.      
  4. EVENT 51110 ; HP Scroll 1500
  5. E RUN_EVENT 51120 ; The RUN_EVENT's basically make one event expand into many others, and links them together, great for checking multiple things.
  6. E RUN_EVENT 51130 ; Item Check
  7. E RUN_EVENT 51140 ; Check Empty Slot
  8. END
  9.      
  10. EVENT 51120 ; First we'll check to see if the item doesn't exist, if it doesn't, End, and display a message.
  11. A CHECK_NOEXIST_ITEM 7916000 1 ; Checks if you don't have the item : 7916000
  12. E SAY -1 -1 61001 -1 -1 -1 -1 -1 -1 -1
  13. E RETURN
  14. END
  15.        
  16. EVENT 51130
  17. A CHECK_EMPTY_SLOT 0
  18. E SAY -1 -1 91111 -1 -1 -1 -1 -1 -1 -1 -1 -1;
  19. E RETURN
  20. END
  21.  
  22. EVENT 51140 ; Now we'll check to see if they have a KC100scroll.
  23. CHECK_EXIST_ITEM 916000 1;  Gonna check that you have the "event ID"
  24. E ROB_ITEM 7916000 1; Gonna remove the ITEM (ID) - if you have it in inventory
  25. E GIVE_ITEM 800013000 1; Gonna give it to inventory.
  26. END