Closed Jhobean closed 2 months ago
tevents=T_potato
tevents stands for "type" events means you need to define it in [TYPEDEF] not [EVENTS]
Ok work for tevent.
But If I have an existing item and want add an event on it, it work?
.xevents + e_potato work and item have the events but it do nothing
Seems like events also works on TYPEDEF I am not sure if it's a default behaviour, as I have never used event on items. But if it's a default behaviour why TEVENTS added, probably it's an issue.
Ok made some test with Gladie.
Apparently Item can have event on them but it make nothing. You can add event on them but they must be define as a TYPEDEF. Example
[TYPEDEF ei_potato]
on=@DropOn_Ground
serv.log DropOn_Ground work!
after that you can do
.xevents +ei_potato
It's normal I can't use events on an item?