Page 1 of 1

commdand to get properties of a char ?

Posted: Thu Jun 07, 2012 9:12 am
by rambo66
Hi...

you can do a query on every char in the chat window (Do a right click on name and... here in Germay it is "Nachfragen", maybe in English kind of request infos or something like that) to get the info about the char... what lvls, location and guild

Is there a command to get these info's from a char who is not writing in the chat ?
Maybe something like /getinfo charxx ?

thx..
ram

Re: commdand to get properties of a char ?

Posted: Thu Jun 07, 2012 9:37 am
by rock5
The command is "AskPlayerInfo(name)" but it only prints to chat. The GMMonitor userfunction uses it to get info about players but has to monitor the CHAT_MSG_SYSTEM event to capture the output. Then it has to parse the output. Not so simple to set up.

Re: commdand to get properties of a char ?

Posted: Thu Jun 07, 2012 10:34 am
by rambo66
thx for the reply

you know anything.. ? awesome.. ;)

but I'm not sure how to use it ? I don't want to make a macro out of it... just using from time to time

just writing: /AskPlayerInfo(name) in the chat ?

thx..
ram

Re: commdand to get properties of a char ?

Posted: Thu Jun 07, 2012 11:45 am
by rock5
It's not a slash command so you would have to use "/script". So something like

Code: Select all

/script AskPlayerInfo("name")

Re: commdand to get properties of a char ?

Posted: Thu Jun 07, 2012 1:00 pm
by rambo66
ahh.... ;)

rock... u rock.. ;)

thx