|
corqspy Newbie
Joined: 09 Sep 2002 Posts: 5 Location: USA
|
Posted: Wed Jul 02, 2003 7:03 am
Capture who's online to a new stat window |
essentially I'm on a small mud, but having a status window to every few minutes capture who's online, ridiculous, but sort of a buddy list, as it were. It's never zillions of players.
I tried to toy with the inventory lists capture and modify but I reap a lot of data and admit I'm pretty hopeless with the syntax that would make things look right.
My prompt after a 'who' command is this:
<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>
( 57 Bladesinger ) Dulcynea the Crusader[RP]
( 56 Militis Navita ) Valencia WhiTe kNigHt
( 56 Priest ) Gandalfoid III
( 46 Heretic ) Fufinski Mahou (Boring)
( 45 Savage Mage ) Seven times three plus one(AFK)
( 15 Monk ) Corquus in a Slumpu-us
( 7 Monk ) Nemesys (( electric stranger ))
( 3 Zealot ) Bhors j'y suis, j'y reste
<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>
There are 8 players visible and 1 invisible. Also 0 immortals visible.
< 123hp+123hpmax :: 151m+151mmana :: 215mv :: 20798g :: 1628xtl day >
A link to a similar capyure tutorial if this is redundant would also be appreciated.
Thanks |
|
|
|
Sabin Beginner
Joined: 02 Jul 2003 Posts: 11
|
Posted: Wed Jul 02, 2003 1:20 pm |
Hrm. I have a "Who's Online" panel for a M* that I play, but it only works because there is a tkMOO-light plugin that interfaces with the M* and has that feature, and I'm using it with a few tricks and such to where zMUD takes use of it...Here's my trigger set for the Who List, though.
#TRIGGER {~#~$~#SquidSoftPlugin who} {#GAG} "Squidplugindev|Who List"
#TRIGGER {~#~$~#SquidSoftPlugin who (*)} {#GAG;#CLR "Players Online";#WINDOW "Players Online" %crtonl( %replace( %1, "!", %cr));#GAG} "Squidplugindev|Who List"
Basically, whenever a user logs on/off or comes in and out of comm range, it'll send an updated who list like so.
#$#SquidSoftPlugin who AEU:! Karsten Broderick! *Platon Gulzar!!League:!! Ethan Dombrowski!!Fringe:! Sabin Shade!!! * = Out of comms range
Every ! makes a new line in the capture, so it looks something like this:
Fringe:
Sabin Shade
Though, since this isn't an option...I frankly have no real clue on how to do that effectively at all. Maybe someone else can help on doing this. Sorry. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Jul 02, 2003 4:59 pm |
A regular window would probably be more useful than the status window for this purpose.
#AL who {#T+ whocapture;:Who:#CLR;~who}
#CLASS whocapture disable
#CLASS 0
#TR {^~( %d %w} {#CAP Who} {whocapture}
#TR {^There are %d player} {#T- whocapture} {whocapture} |
|
|
|
corqspy Newbie
Joined: 09 Sep 2002 Posts: 5 Location: USA
|
Posted: Thu Jul 03, 2003 1:04 am |
worked like a DREAM - thx!!!
|
|
|
|
corqspy Newbie
Joined: 09 Sep 2002 Posts: 5 Location: USA
|
Posted: Thu Jul 03, 2003 4:19 am |
ok that being done, working marvelously...I have had mixed results as to where I need to put the #gag commands - what I didn't realize about was when IMM's are on, heroes etc there seems to be separator bars that trip "off" the #gag with varying results, depending on if their invis etc when the who goes off, like so:
Where doesn the #gag fit in, or is a new trigger series more viable...not a burning priority but knowing the "tell catcher" gags the tells, I think it should be elementary but I guet so far and tend to not see the forest for the code...any ideas appreciated...
<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>
( 198 Apprentice ) Rhiannon XXXXXXXXXXX (PK)
<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>
( 57 Bladesinger ) Dulcynea the Crusader[RP]
( 56 Militis Navita ) Valencia WhiTe kNigHt
( 56 Priest ) Gandalfoid III
( 46 Heretic ) Fufinski Mahou (Boring)
( 45 Savage Mage ) Seven times three plus one(AFK)
( 15 Monk ) Corquus in a Slumpu-us
( 7 Monk ) Nemesys (( electric stranger ))
( 3 Zealot ) Bhors j'y suis, j'y reste
<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>*<*>
There are 8 players visible and 1 invisible. Also 0 immortals visible.
< 123hp+123hpmax :: 151m+151mmana :: 215mv :: 20798g :: 1628xtl day > |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Jul 03, 2003 4:31 am |
I didn't put #GAG in it. The logical place would be the same trigger as the #CAPTURE.
|
|
|
|
mellowmarshall Newbie
Joined: 03 Dec 2005 Posts: 5
|
Posted: Sun Dec 18, 2005 5:41 am |
This stuff is confusing me, I'm trying the trigger he's got but they aren't working....most likely because I don't understand what exactly is going on.
Here is the 'who' list for the MUD I'm playing:
************************************************************
Nilgirians in the Forgotten World
************************************************************
[ HuWa ] Cervantes the Human Swashbuckler
[ HuMu ] Enkil the Human Abjurer
[ HuDr ] Aalan the Human Druid
[ HuCl ] Uhred Keeper of the Flame, Seeker of the Truth
[ DeCl ] Andural the Dark Heretic
[21 DeTh] Domadon the Holy Cleric
[ DwTh ] Flarqal is taller than Yoda -[Jedi]- (friendly)
[ HuCl ] Haruon the G.Y. Lin {Dementor} (friendly)
[20 HuWa] Flar Smites Good and Evil in the name of Justice
[22 HuCl] Lessa Decides Joran Dragon's are not for Riding
[ HuWa ] Dieu the Friendly Knight ---|-MASAMUNE-|---
[30 DeTh] (Larkan the Fallen Angel [GODETAN])
[ IMM ] Ancagaclon the Sleepy
Visible players: 13
(Unseen players: 6)
And here is what my current trigger looks like:
#AL who {
#T+ whocapture
:Who:#CLR
~who
}
#CLASS whocapture disable
#CLASS 0
#TR {^~( %d %w} {#CAP Who} {whocapture}
#TR {^Visible players:%n%d} {#T- whocapture} {whocapture}
Note: This is all placed in a trigger with the pattern: 'Nilgirians in the Forgotten World'
What I'm trying to do is have a floating window that is always on top and is constantly refreshing, so I can monitor the 'who' list at all times, and have the who list gagged from my main screen. Docking is not an option because I almost always use two or more characters at the same time. |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
|
|
|
Slaem Apprentice
Joined: 20 Sep 2005 Posts: 135
|
Posted: Sun Dec 18, 2005 10:13 am |
mellowmarshall wrote: |
************************************************************
Nilgirians in the Forgotten World
************************************************************
[ HuWa ] Cervantes the Human Swashbuckler
[ HuMu ] Enkil the Human Abjurer
[ HuDr ] Aalan the Human Druid
[ HuCl ] Uhred Keeper of the Flame, Seeker of the Truth
[ DeCl ] Andural the Dark Heretic
[21 DeTh] Domadon the Holy Cleric
[ DwTh ] Flarqal is taller than Yoda -[Jedi]- (friendly)
[ HuCl ] Haruon the G.Y. Lin {Dementor} (friendly)
[20 HuWa] Flar Smites Good and Evil in the name of Justice
[22 HuCl] Lessa Decides Joran Dragon's are not for Riding
[ HuWa ] Dieu the Friendly Knight ---|-MASAMUNE-|---
[30 DeTh] (Larkan the Fallen Angel [GODETAN])
[ IMM ] Ancagaclon the Sleepy
Visible players: 13
(Unseen players: 6)
And here is what my current trigger looks like:
#AL who {
#T+ whocapture
:Who:#CLR
~who
}
#CLASS whocapture disable
#CLASS 0
#TR {^~( %d %w} {#CAP Who} {whocapture}
#TR {^Visible players:%n%d} {#T- whocapture} {whocapture}
Note: This is all placed in a trigger with the pattern: 'Nilgirians in the Forgotten World' |
Your triggers don't match your output.
#AL who {
#T+ whocapture
:Who:#CLR
~who
}
#CLASS whocapture disable
#CLASS 0
#TR {^~[*~]} {#CAP Who} {whocapture}
#TR {^Visible players} {#T- whocapture} {whocapture}
Changes in red. |
|
|
|
mellowmarshall Newbie
Joined: 03 Dec 2005 Posts: 5
|
Posted: Tue Dec 20, 2005 10:01 pm |
Can you give an example of how to capture and send information to that status window? This stuff is all really above my head, so laymans terms would be nice.
And as for the other idea, using the whocapture function-
I'm looking for a way to eliminate the
**********************************
Nilgirians in the Forgotten World
**********************************
part, as well as the 'who' command itself, as well as the end "Visible players:' and 'Unseen players:'
The window works but I want to use the tick timer to type who every second, and i want the list to constantly update based on that. obviously that would be too spammy to use on your main screen, but the whocapture script doesn't gag anything from the main window
i have tried using a trigger on the ******* line, which gags but then it won't stop gagging, my #GAGOFF is set to the 'visible players' thing but it just isn't working. however the second part, the 'unseen players' part is not always there, which would mess up my horribly uncreative trigger |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Wed Dec 21, 2005 12:29 am |
#TR {[*]$ Nilgirians in the Forgotten World$[*]} {do the stuff}
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
mellowmarshall Newbie
Joined: 03 Dec 2005 Posts: 5
|
Posted: Fri Dec 30, 2005 12:44 am |
I don't think I'm ready for a trigger like this....because even after your assistance, I can't figure it out....oh well
|
|
|
|
|
|