I've been setting up several triggers to practice engraving items with a tool but am unsure of how to call out the variable for them.
Upon matching it sends this to script:
Send ("engrave "..GetVariable("EngraveItem").." with tool")
Send ("test")
So if I'm engraving a hat all I need to do is set my EngraveItem variable to hat.
engrave hat with tool
(the game prompts me for what I wish to engrave)
test
What I don't understand is why I need the two periods before and after the GetVariable function. I don't see where in the function descriptions it calls out needing to use them in order for the function to work while I've been browsing. If someone could explain or point me in the right direction I'd appreciate it.
Upon matching it sends this to script:
Send ("engrave "..GetVariable("EngraveItem").." with tool")
Send ("test")
So if I'm engraving a hat all I need to do is set my EngraveItem variable to hat.
engrave hat with tool
(the game prompts me for what I wish to engrave)
test
What I don't understand is why I need the two periods before and after the GetVariable function. I don't see where in the function descriptions it calls out needing to use them in order for the function to work while I've been browsing. If someone could explain or point me in the right direction I'd appreciate it.