Register to post in forums, or Log in to your existing account
 
:
Search found 15 matches for:
Page 1 of 1
Author Message
  Topic: Yet another question about #LOOPDB and %regex.
Seyen

Replies: 3
Views: 5333

PostForum: zMUD General Discussion   Posted: Wed Sep 21, 2005 7:39 pm   Subject: Yet another question about #LOOPDB and %regex.
For the time beeing I settled for another method, but the fuction call is the line of code I posted above.

#LOOPDB @RoomCapCodes {#IF {%regex(@Bulk, "\e\[(?:0;|)& ...
  Topic: Yet another question about #LOOPDB and %regex.
Seyen

Replies: 3
Views: 5333

PostForum: zMUD General Discussion   Posted: Wed Sep 21, 2005 5:42 pm   Subject: Yet another question about #LOOPDB and %regex.
Ok, I've reached a conclusion that variables are not expanded inside a %regex(nor %match, nor %subregex), but are expanded inside a #REGEX. I'm asking those who know, is there a workaround?
  Topic: Yet another question about #LOOPDB and %regex.
Seyen

Replies: 3
Views: 5333

PostForum: zMUD General Discussion   Posted: Tue Sep 20, 2005 8:08 pm   Subject: Yet another question about #LOOPDB and %regex.
#LOOPDB @RoomCapCodes {#IF {%regex(@Bulk, "\e\[(?:0;|)"%val"m",RoomCapPos.%key)} {#ECHO LoopDone}}

Now, what I wanted to do ...
  Topic: IF/ELSEIF/ELSE Statements in Zmud
Seyen

Replies: 7
Views: 23938

PostForum: zMUD General Discussion   Posted: Tue Sep 20, 2005 7:32 pm   Subject: IF/ELSEIF/ELSE Statements in Zmud
Er... ELSEIF? Is that like #IF {condition} {do if true} {else do another IF}? Then why can't you just do it like i just said? Meaning,
#IF {} {} {#IF{} {} ...
  Topic: Speed question.
Seyen

Replies: 1
Views: 3054

PostForum: zMUD General Discussion   Posted: Tue Sep 20, 2005 6:25 pm   Subject: Speed question.
Is there any way to test script execution speed? Like a test. I want to check two different solutions to a problem, and choose the script that's faster.
  Topic: Showing variable content with "
Seyen

Replies: 2
Views: 3752

PostForum: zMUD General Discussion   Posted: Sat Sep 17, 2005 7:24 am   Subject: Showing variable content with "
I have a variable set to #SHOW. The problem is, the contents of the variable contain " , so when it's shown, the parser strips the " character.
example

VarContent: Tia, "No Skill, Just Luck" is he ...
  Topic: Vijilante's Achaea script
Seyen

Replies: 10
Views: 15305

PostForum: zMUD General Discussion   Posted: Tue Sep 13, 2005 6:46 pm   Subject: Vijilante's Achaea script
Could you post it up, please? I have made my own script, and what it basically does, it parse the text between name and exits in three triggers. One for desc, one for objects, one for players. But I s ...
  Topic: Weird variable behavior.
Seyen

Replies: 5
Views: 5891

PostForum: zMUD General Discussion   Posted: Fri Sep 09, 2005 4:19 pm   Subject: Weird variable behavior.
Holy crap, it worked, and it's much cleaner and easier than the workaround I did. I used a temoprary variable to escape the concat problem(doesn't trim the variables contents, it seems). And used anot ...
  Topic: Weird variable behavior.
Seyen

Replies: 5
Views: 5891

PostForum: zMUD General Discussion   Posted: Fri Sep 09, 2005 2:26 pm   Subject: Weird variable behavior.
Oh, and one more gripe.. seems like %concat eats up the ", " in any string it concatenates to the first one. ie %concat("123 123 ", "123, 123, 123" would end up concatenated like "123 123 123123123". ...
  Topic: Weird variable behavior.
Seyen

Replies: 5
Views: 5891

PostForum: zMUD General Discussion   Posted: Fri Sep 09, 2005 1:52 pm   Subject: Weird variable behavior.
Generally, one would think that given the script

#TRIGGER "RoomDesc_Capture" {^%e[1;30m(*)} {RoomDesc="";RoomDesc=%concat( @RoomDesc, %1);#SHO ...
  Topic: Vijilante's Achaea script
Seyen

Replies: 10
Views: 15305

PostForum: zMUD General Discussion   Posted: Thu Sep 08, 2005 2:29 pm   Subject: Vijilante's Achaea script
No-no, I don't want to just map it, it maps fine curretnly, albeit, it uses more info for the decription than I want it to. Which is what I'm trying to fix here. Just poke me in the direction of a sol ...
  Topic: Vijilante's Achaea script
Seyen

Replies: 10
Views: 15305

PostForum: zMUD General Discussion   Posted: Wed Sep 07, 2005 4:20 pm   Subject: Vijilante's Achaea script
Bump.
  Topic: Vijilante's Achaea script
Seyen

Replies: 10
Views: 15305

PostForum: zMUD General Discussion   Posted: Tue Sep 06, 2005 4:41 pm   Subject: Vijilante's Achaea script
Ok then.. I started trying to get the mapper to work properly on differentiating descriptions from room contents. For now, I'm trying, to base this on ANSI, as I don't see other solutions for this pro ...
  Topic: Multiline capture question.
Seyen

Replies: 3
Views: 6413

PostForum: zMUD General Discussion   Posted: Thu Sep 01, 2005 8:14 am   Subject: Multiline capture question.
DeReP, thanks, it works nice. I got my own to work yesterday, but it was a bit faulty at times. I think it was because I added the same triger modified for other channels. I'll test out yours.
And Ma ...
  Topic: Multiline capture question.
Seyen

Replies: 3
Views: 6413

PostForum: zMUD General Discussion   Posted: Wed Aug 31, 2005 7:23 am   Subject: Multiline capture question.
Is there a way to bypass using a created variable when attempting to make a multiline capture trigger? Meaning, to use only predefined variables, like %line.

Aside from that, can anyone whip up a q ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net