
Untitled
By: a guest on Jan 28th, 2012 | syntax:
None | size: 0.99 KB | hits: 20 | expires: Never
EVENT 22001
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;
EVENT 51110 ; HP Scroll 1500
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.
E RUN_EVENT 51130 ; Item Check
E RUN_EVENT 51140 ; Check Empty Slot
END
EVENT 51120 ; First we'll check to see if the item doesn't exist, if it doesn't, End, and display a message.
A CHECK_NOEXIST_ITEM 7916000 1 ; Checks if you don't have the item : 7916000
E SAY -1 -1 61001 -1 -1 -1 -1 -1 -1 -1
E RETURN
END
EVENT 51130
A CHECK_EMPTY_SLOT 0
E SAY -1 -1 91111 -1 -1 -1 -1 -1 -1 -1 -1 -1;
E RETURN
END
EVENT 51140 ; Now we'll check to see if they have a KC100scroll.
CHECK_EXIST_ITEM 916000 1; Gonna check that you have the "event ID"
E ROB_ITEM 7916000 1; Gonna remove the ITEM (ID) - if you have it in inventory
E GIVE_ITEM 800013000 1; Gonna give it to inventory.
END