The problem is that the Variable "scalemailwearstr" is only being set to "wear" and not wear plus the scale mail id.
Here is my code/script
Also I would prefer to instead of using the DoAfter command use somthing that would wait for a certain string of text to be printed like a trigger inside of a trigger but I have no idea if this is possable or what the command is .
Thank you very much for any help.
The happy one.
Here is my code/script
local scalemailid
scalemailid = GetVariable("scalemailid")
scalemailwearstr = "wear ", scalemailid
if scalemailid == nil then
Note ("scalemailid is not defined")
else
DoAfter (3.5, scalemailwearstr)
end
Also I would prefer to instead of using the DoAfter command use somthing that would wait for a certain string of text to be printed like a trigger inside of a trigger but I have no idea if this is possable or what the command is .
Thank you very much for any help.
The happy one.