Author |
Message |
Topic: Crashing on in-line variable coloring |
Spectara
Replies: 6
Views: 2943
|
Forum: CMUD General Discussion Posted: Tue May 12, 2009 6:58 pm Subject: Crashing on in-line variable coloring |
Got it.
#trig {-=-=-| USERS |-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- } {#var players "";#t+ playercapture}
#cond {^%d players currently in} {#t- playercapture}
#regex "pla ... |
Topic: Crashing on in-line variable coloring |
Spectara
Replies: 6
Views: 2943
|
Forum: CMUD General Discussion Posted: Tue May 12, 2009 6:09 pm Subject: Crashing on in-line variable coloring |
Names do not have to be a single word. (&18) captures 18 characters, and then I take the first word and save it to the player list. So if somebody has more than one word in their name, I capture ... |
Topic: Crashing on in-line variable coloring |
Spectara
Replies: 6
Views: 2943
|
Forum: CMUD General Discussion Posted: Tue May 12, 2009 5:13 pm Subject: Crashing on in-line variable coloring |
I updated to the beta version and it fixed half of the problem. I now correctly match and color the names in text from the mud except when I try to retrieve the list of players that I populate the va ... |
Topic: Crashing on in-line variable coloring |
Spectara
Replies: 6
Views: 2943
|
Forum: CMUD General Discussion Posted: Tue May 12, 2009 4:43 pm Subject: Crashing on in-line variable coloring |
I have all the necessary code for extracting player names into a string list, however when I attempt to use the following:
#TR {{@player}} {#CW cyan}
CMUD becomes unresponsive and I have to forc ... |
Topic: Data mining |
Spectara
Replies: 5
Views: 2290
|
Forum: zMUD General Discussion Posted: Sun Nov 06, 2005 11:50 pm Subject: Data mining |
Got it working well now. Just threw two %pop (player) in at the end. Now just gonna tinker with it so it won't mess the list up if I check the USER list again. (the two pops take names off instead ... |
Topic: Data mining |
Spectara
Replies: 5
Views: 2290
|
Forum: zMUD General Discussion Posted: Sun Nov 06, 2005 11:24 pm Subject: Data mining |
Ok, I've got it working with this:
#CLASS {update}
#VAR player
#TRIGGER {^<inform> (%w)} {
#GAG
#additem player {%1}
}
#TRIGGER {-=-=-| USERS |-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ... |
Topic: Data mining |
Spectara
Replies: 5
Views: 2290
|
Forum: zMUD General Discussion Posted: Sun Nov 06, 2005 10:32 pm Subject: Data mining |
In the USER display, each character name is given up to 18 letters. I'd want to grab 18 letters, trim them, add them to my list, grab another 18, trim, add, grab 18, trim, add, grab 18, trim, add (fo ... |
Topic: Data mining |
Spectara
Replies: 5
Views: 2290
|
Forum: zMUD General Discussion Posted: Sun Nov 06, 2005 8:58 pm Subject: almost |
Not quite right, but my fault for not giving all the info, I think. There are also post titles on the names. e.g.
[65] Defender of the Realm Bushwack gonna getcha!__Giant______Warrior
And I wo ... |
Topic: Data mining |
Spectara
Replies: 5
Views: 2290
|
Forum: zMUD General Discussion Posted: Sun Nov 06, 2005 7:55 pm Subject: Data mining |
I'm wanting to create a string list (what I've learned how to do, haven't figured out databases yet) that contains the names of all the players online.
I've tried this using my muds WHO command, bu ... |
|