View Single Post
11-03-10, 06:13 PM   #14
TransformedBG
A Fallenroot Satyr
Join Date: Oct 2010
Posts: 23
Originally Posted by Dridzt View Post
self has nothing to do with who the event concerns.

'self' holds a reference to the frame that the event is registered to.

In the particular example you have posted: GLUAFrame

Okay, so self is a representation of an "argument" or event being passed into the function.

So if i pass in a (self, event, ...)

the self would be the player that logged on? or how could i record who that is? i would think i would have to use some sort of strlng? or array to record the toons name?

the event would be ("PLAYER_LOGIN")? or would it be ("PLAYER_ENTERS_WORLD")?
  Reply With Quote