Register to post in forums, or Log in to your existing account
 
:
Search found 20 matches for:
Page 1 of 1
Author Message
  Topic: Ansi code at line breaks
Opoponax

Replies: 7
Views: 6435

PostForum: CMUD General Discussion   Posted: Fri Apr 23, 2010 7:02 pm   Subject: Ansi code at line breaks
Ah, no worries on the fix, at least I know I'm not crazy or dumb. I can do workarounds until then, I imagine. Thank you for your time.

Any ideas about the MXP doing what seems to be the same thing? ...
  Topic: Ansi code at line breaks
Opoponax

Replies: 7
Views: 6435

PostForum: CMUD General Discussion   Posted: Fri Apr 23, 2010 6:14 pm   Subject: Ansi code at line breaks
It is always the first color, and it is always the same color, yes, it would only be the red part in your example. I see what you're saying, rather then end the trigger at the %e[0 have it end at anyt ...
  Topic: Ansi code at line breaks
Opoponax

Replies: 7
Views: 6435

PostForum: CMUD General Discussion   Posted: Fri Apr 23, 2010 4:56 pm   Subject: Ansi code at line breaks
The main reason I was going to go this route was it doesn't seem to like MXP, was going to it manually. After playing around, the ANSI thing seems to be related to my MXP woes. For example, if I show ...
  Topic: Ansi code at line breaks
Opoponax

Replies: 7
Views: 6435

PostForum: CMUD General Discussion   Posted: Fri Apr 23, 2010 4:18 pm   Subject: Ansi code at line breaks
Yes, sorry if I was unclear, a bit more detail, I guess.

I have a paragraph consisting of an unknown number of lines, 2-4 different colors. I'd like to pull out the first color, just the first colo ...
  Topic: Ansi code at line breaks
Opoponax

Replies: 7
Views: 6435

PostForum: CMUD General Discussion   Posted: Fri Apr 23, 2010 3:53 pm   Subject: Ansi code at line breaks
Hello. I'm using CMUD 2.37, and having an issue with ansi code behavior at line ends. It seems that wherever the window sizing dictates a line end, CMUD automatically inserts an ansi end code, the %e[ ...
  Topic: CMUD 2.37 ANSI trigger question
Opoponax

Replies: 2
Views: 4823

PostForum: CMUD General Discussion   Posted: Tue Apr 28, 2009 10:59 pm   Subject: CMUD 2.37 ANSI trigger question
I've got a paragraph that comes in anywhere from one to four colors. I'm trying to capture the first color which is always there. That one, and only that one. I've currently got a regex ansi trigger t ...
  Topic: Record reference syntax question.
Opoponax

Replies: 1
Views: 2616

PostForum: CMUD General Discussion   Posted: Thu Feb 12, 2009 8:04 pm   Subject: Record reference syntax question.
Normally this would work to reference a value.

@dbase.key

How would you reference a value if the key had a space in it?

@dbase.key 1

I've tried various quotes, brackets, parentheses, proba ...
  Topic: [2.36] %i carrying through nested events bug
Opoponax

Replies: 4
Views: 4767

PostForum: CMUD General Discussion   Posted: Wed Oct 15, 2008 5:25 pm   Subject: [2.36] %i carrying through nested events bug
Trying to think how to explain it...
A trigger fires, and feeds a list of occurrences to an event in string list form. It runs similar to this.

#forall {%1} {
#if (%ismember( %i, @var1)) {#rais ...
  Topic: [2.36] %i carrying through nested events bug
Opoponax

Replies: 4
Views: 4767

PostForum: CMUD General Discussion   Posted: Wed Oct 15, 2008 3:09 pm   Subject: [2.36] %i carrying through nested events bug
Any official word on this, maybe an idea for a workaround?
  Topic: [2.36] %i carrying through nested events bug
Opoponax

Replies: 4
Views: 4767

PostForum: CMUD General Discussion   Posted: Thu Oct 09, 2008 7:16 pm   Subject: [2.36] %i carrying through nested events bug
Near as I can tell, when nesting events, it carries the %i value from one event to the other. I have not checked aliases or anything else, I just know about it through my events. I've managed to recre ...
  Topic: Variable generating a true/false.
Opoponax

Replies: 3
Views: 3856

PostForum: CMUD General Discussion   Posted: Tue Sep 30, 2008 5:20 pm   Subject: Variable generating a true/false.
It was the evaluate later I was looking for. I'd looked at using a function, but saw it wanted something to execute rather then just returning an evaluation. Overlooked the #return.

Thank you very ...
  Topic: Variable generating a true/false.
Opoponax

Replies: 3
Views: 3856

PostForum: CMUD General Discussion   Posted: Tue Sep 30, 2008 4:27 pm   Subject: Variable generating a true/false.
Just wondering how to make the following work.

[code]#var test1 "%if(1 = 2, 1, 0)"
#IF (@test1) {#echo True} {#echo False}[/code]

In zMUD it would evaluate to a "False" but in CMUD it generate ...
  Topic: Quick variable creation question.
Opoponax

Replies: 1
Views: 2708

PostForum: CMUD General Discussion   Posted: Fri Sep 19, 2008 3:09 am   Subject: Quick variable creation question.
What would be the proper syntax for creating a local variable within an event/alias off a parameter pointing to a different variable? Normal syntax would be...

$var=@variable

But I'm looking to ...
  Topic: Database record question
Opoponax

Replies: 12
Views: 10755

PostForum: CMUD General Discussion   Posted: Thu Sep 18, 2008 4:21 am   Subject: Database record question
Ahh... Put the local variable creation there. I missed the obvious. Beautiful... Thank you. I'm one of those I need to actually see it before I can adapt it.

Tested it, and that route does work. Th ...
  Topic: Database record question
Opoponax

Replies: 12
Views: 10755

PostForum: CMUD General Discussion   Posted: Thu Sep 18, 2008 2:32 am   Subject: Database record question
Not that I can figure out. I use this type of system in quite a few places. A lot of information in the databases, and constantly being moved in, out, and around, so brevity and speed are an issue.
...
  Topic: Database record question
Opoponax

Replies: 12
Views: 10755

PostForum: CMUD General Discussion   Posted: Wed Sep 17, 2008 10:06 pm   Subject: Database record question
With the differences in usage and duplicate handling, I've never been able to get %delitem() to work in this instance. Here's exactly the zMUD effect I'm looking to duplicate......

#addkey database ...
  Topic: Database record question
Opoponax

Replies: 12
Views: 10755

PostForum: CMUD General Discussion   Posted: Wed Sep 17, 2008 4:55 pm   Subject: Database record question
After playing around with the database records a bit more, I've noticed that most commands listed for use with string lists do work on the values of the database record keys. For example, these work a ...
  Topic: Database record question
Opoponax

Replies: 12
Views: 10755

PostForum: CMUD General Discussion   Posted: Tue Sep 16, 2008 11:38 pm   Subject: Database record question
Ahh... perfect, that was the step I was missing.

Odd how you can get the whole "I used to approach it this way...." stuck in your head and sometimes not notice the alternate path.
Was a bit bummed ...
  Topic: Database record question
Opoponax

Replies: 12
Views: 10755

PostForum: CMUD General Discussion   Posted: Tue Sep 16, 2008 9:11 pm   Subject: Database record question
Unless I'm mistaken, #addkey will replace the key/value completely. I'm looking to modify a text value similarly to a string. The ability to add text in, and pull it back out, without disrupting or ev ...
  Topic: Database record question
Opoponax

Replies: 12
Views: 10755

PostForum: CMUD General Discussion   Posted: Tue Sep 16, 2008 5:09 pm   Subject: Database record question
This is probably silly, and listed somewhere, but I can't for the life of me seem to find it anywhere.


Currently converting from zMUD to CMUD, and I've got my code changes worked out for pretty m ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net