allspaminthecan
Active Member
How do I figure out how to use the INVENTORY_UPDATE trigger? I don't see any documentation about it anywhere when I Google it, so where do I start looking?
I hope to use it to figure out what has changed, but I can't figure out how to get it to tell me. Using it like the quest data example below does not seem to work.
I hope to use it to figure out what has changed, but I can't figure out how to get it to tell me. Using it like the quest data example below does not seem to work.
Code:
function main(string mode)
{
AddTrigger trigger1 QUESTDATA::@qinfo@
do
{
ExecuteQueued
wait 1
}
while 1
}
function trigger1(string Ling, string qinfo)
{
echo ${Ling} -- ${qinfo}
}