|
Mudimm Beginner
Joined: 27 Sep 2005 Posts: 11
|
Posted: Tue Sep 27, 2005 6:15 pm
help please *solved* |
I am very new to zmud, well i have used it for 2 years now and now that i can getting more into the client based stuff i am having alot of questions.
what i am trying to do is make a alias to look up to see if a char has a multi on and what multis they have.
when i type
last armand
i get
Code: |
[ 8397] [50 Wz] Armand : 123.123.123.123 : Tue Sep 27 11:58:57 2005 |
then i have to type
userlist -h 123.123.123.123
and i get what i am looking for
Code: |
st (0-57) () (123.123.123.123) (Any Class) (Any Race) (Any Clan) (Any Brand)
Id Lv Flags Name
8397 [50] [ ] armand
26276 [50] [ ] sinagel
2 players listed. |
anyone have any idea's how to do this. what i mainly get lost on is the ip address
thank you in advance for your help.
Editted by Vijilante to add code tags so we could see the formatting. |
|
Last edited by Mudimm on Wed Sep 28, 2005 1:57 am; edited 1 time in total |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Tue Sep 27, 2005 8:58 pm |
#CLASS TrackMultis
#VARIABLE Seeking {} {}
#VARIABLE CapturedNames {} {}
#ONINPUT {^last (%w)$} {#ADDKEY Seeking Name {%1}}
#COND {^~[&5~] ~[&5~] {@Seeking}%s: ([0-9.])} {#ADDKEY Seeking IP {%1}};userlist -h %1;CapturedNames="";#T+ PlayerCaptures}
#COND {^%d players listed.$} {#T- PlayerCaptures;#NOOP Any further processing you want here.}
#TRIGGER "PlayerCaptures" {^&5 ~[%d~] ~[&3~] (%w)} {#ADDITEM CapturedNames {%1}}
#CLASS 0
That should about do it. I preformed no testing on this simply typed it out, so there may be a missing )]} or such. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Mudimm Beginner
Joined: 27 Sep 2005 Posts: 11
|
Posted: Wed Sep 28, 2005 1:55 am |
thank you so much..i did not think about going that way to get the info i needed
|
|
|
|
|
|