varibles inside a notification?
Posted: Sunday 24 September 2017 18:40
okey, so I got this to work:
but I want to add subject, body and priority as variables
like:
But when I paste the variable it just writes out the text, can't find a way to include the variables
Any ide?
Code: Select all
commandArray = {}
if ("1" == "1") then
print("testing")
commandArray['SendNotification']='subject#body#2'
end
return commandArray
like:
Code: Select all
local msg_subject = "Kjøleskap"
local msg_body = "Det er for varmt"
local msg_pri = "1"
Any ide?