This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Multiple event-scripts in 1 script
#2
Hi,

Add tags to the objects you want to monitor, and create a event based script that is linked to that tag and insert this to the event script:

Code:
if event.getvalue() == true then
 -- Perform action with dynamic name
 log('value of ' ..  grp.find(event.dst).name .. ' is true')
end

Where the log is now you can put your command to alert, mail, push or sms your string with the object name that triggers the event.

BR,

Erwin
Reply


Messages In This Thread
Multiple event-scripts in 1 script - by Mr.D - 24.04.2017, 17:33
RE: Multiple event-scripts in 1 script - by Erwin van der Zwart - 24.04.2017, 21:46

Forum Jump: