Originally Posted by Nefrirr
I currently don't have the means to actually test your code with a guild invite, but a reason for the print message not to be displayed might be that inviter is possibly a nil value. Does it display the print message if you leave out the string concatenation with inviter?
|
Lua would throw an error if you try to concatenate a string with
nil.
Check if you have "Show Errors" on in the interface options, WoW has it turned off by default. You might place a print() function at the base of your event script to check if it's being called at all. This'll make sure if the event is firing.
From here, everything looks fine.