Hotstpot user profile - on loign script ???

Hi

I am planning to use /hotspot user profile on logon event to runs script

but…

Is that event comming with any variables ?
Is there any way to find out what user is login in (name / ip ) ???

I am thinking to add dynamic queue tree rule everytime user logs in and logs out… but how to find out what ip to put to queue tree after logon ?