Hi experts!
Need a bit of help here....
From existing scripts I've learned how to retrieve a users nick using the command GetInfoByName(nick)
Next thing I would like to know is how to retrieve the IP in the same way.
I suppose it would be something like GetItemByName(user.sIP) ??
Yes, I know.... try it out and see. Not that simple though, because the hub is running and I have no way of experimenting.
Thanks in advance!
Hi,
Is not GetInfoByName() but GetItemByName(),it will work as the table user.
GetItemByName(nick).sName
GetItemByName(nick).sIP
GetItemByName(nick).iVersion
GetItemByName(nick).sMyInfoString
GetItemByName(nick) will return nil if the nick isn't online.
Best regards, nErBoS
What would we starting OP's do without you people??
Thanks nErBoS!
QuoteOriginally posted by Shurlock
Yes, I know.... try it out and see. Not that simple though, because the hub is running and I have no way of experimenting.
U can setup another PtokaX ... running in a different port ...
There's your own "TestHub" ! :D
Hi Herodes,
Thanks for the tip. But.... for some reason or other it doesn't seem to work locally (127.0.0.1:412) to get the messages through for me as OP.
All other instructions work, except for anything that has to do with OP's. Strange, but I can live with that 'as is'. As long as I know for certain that the script instruction is correct.
Once the hub is running the way I wish it to, I will be spending more time on the subject of some instructions not working the way it would normally do 'external'.
Of course I am always willing to learn! Should there also be a probable reason for the above, I would just LOVE to hear it !!!
In any case.... thanks for the reply.
Hope you Connected with the correct account ...
Check to see if the nick u use to connect to ur testHub is the same in the PtokaX Under "Ops and Bans" Buttonin the Registered Users frame ...
Check the pass too .. :P
I don't think that from What ip u connect has to do with the Profile at all ...