I'm trying to make a trigger that will have a hyperlink in the 'send' box. When I do this:
addxml.trigger { match = "You still have to kill * %2 *",
regexp = false,
['repeat'] = true, -- repeat is lua keyword
send = "Hyperlink ("mgt %1", "kill %2", "click", "yellow", "%3", 0)",
sequence = 50,
enabled = true,
send_to = sendto.script,
group = "cpclix",
}
I am getting errors on the 'send' line because of the extra quotes. When I remove the quotes the trigger generates, but is not a hyperlink.
Thanks in advance!
addxml.trigger { match = "You still have to kill * %2 *",
regexp = false,
['repeat'] = true, -- repeat is lua keyword
send = "Hyperlink ("mgt %1", "kill %2", "click", "yellow", "%3", 0)",
sequence = 50,
enabled = true,
send_to = sendto.script,
group = "cpclix",
}
I am getting errors on the 'send' line because of the extra quotes. When I remove the quotes the trigger generates, but is not a hyperlink.
Thanks in advance!