Author |
Message |
Topic: Script check if trigger is disabled? |
leonardofaoro
Replies: 5
Views: 6580
|
Forum: CMUD General Discussion Posted: Fri Feb 26, 2010 10:10 pm Subject: Script check if trigger is disabled? |
Hahaha, thank you for making me notice that, sorry Rahab :) |
Topic: Script check if trigger is disabled? |
leonardofaoro
Replies: 5
Views: 6580
|
Forum: CMUD General Discussion Posted: Wed Feb 24, 2010 10:35 pm Subject: Script check if trigger is disabled? |
Thanks a lot Rehab! |
Topic: @Var.contains |
leonardofaoro
Replies: 8
Views: 9341
|
Forum: CMUD General Discussion Posted: Wed Feb 24, 2010 10:35 pm Subject: @Var.contains |
Thanks |
Topic: Script check if trigger is disabled? |
leonardofaoro
Replies: 5
Views: 6580
|
Forum: CMUD General Discussion Posted: Wed Feb 24, 2010 5:54 pm Subject: Script check if trigger is disabled? |
Is it possible to check from zScript if a trigger is disabled or enabled?
#IF (trigger1 = 0) {#T+ trigger1}
Hope you guys get the idea |
Topic: @Var.contains |
leonardofaoro
Replies: 8
Views: 9341
|
Forum: CMUD General Discussion Posted: Wed Feb 24, 2010 5:38 pm Subject: @Var.contains |
Then I've probably not understand why you've done concatenating the IF's if you have no idea what I meant.
There's a chance you could explain that concept again?
#IF (a > b) {do ... |
Topic: Spell List Check |
leonardofaoro
Replies: 5
Views: 6734
|
Forum: CMUD General Discussion Posted: Sun Feb 21, 2010 1:27 pm Subject: Spell List Check |
By the way, why do you use REGEX? Faster/better processing? |
Topic: @Var.contains |
leonardofaoro
Replies: 8
Views: 9341
|
Forum: CMUD General Discussion Posted: Sun Feb 21, 2010 1:22 pm Subject: @Var.contains |
My mud doesn't have any equilibrium code, and there's no way I can trigger the end of the affects. Thank you though for your suggestions, especially the spells = "" suggestion, I was unhappy myself of ... |
Topic: Spell List Check |
leonardofaoro
Replies: 5
Views: 6734
|
Forum: CMUD General Discussion Posted: Sun Feb 21, 2010 9:43 am Subject: Spell List Check |
Innate means the spell doesn't wear off until I die or logout. 15 min is the time I have left before the spell wears off.
Out of all this info I'll mark what I need:
SPL: (15 min) martial arts set ... |
Topic: Multiple tabs? |
leonardofaoro
Replies: 2
Views: 4325
|
Forum: CMUD General Discussion Posted: Sat Feb 20, 2010 8:20 pm Subject: Multiple tabs? |
open Package Library, look for the tab you're not anymore interested into - disable or delete it. |
Topic: @Var.contains |
leonardofaoro
Replies: 8
Views: 9341
|
Forum: CMUD General Discussion Posted: Sat Feb 20, 2010 6:52 pm Subject: @Var.contains |
Thanks a lot!
#unvar spells
affects
#wait 2000
#if (%ismember("dodge",@spells)) {} {dodge}
#if (%ismember("martial arts ",@spells)) {} {martial}
#if (%ismember("bladedance",@spells)) {} {blade ... |
Topic: Spell List Check |
leonardofaoro
Replies: 5
Views: 6734
|
Forum: CMUD General Discussion Posted: Sat Feb 20, 2010 5:30 pm Subject: Spell List Check |
Good, I understood nothing but I'm fine :) |
Topic: ^The (%w) seems to be closed. Send weird input |
leonardofaoro
Replies: 7
Views: 8917
|
Forum: CMUD General Discussion Posted: Sat Feb 20, 2010 3:23 pm Subject: ^The (%w) seems to be closed. Send weird input |
No I'm using no macros - I'm typing NORTH or N from the command line - my char goes north and a closed door message appear that is parsed by the trigger |
Topic: Spell List Check |
leonardofaoro
Replies: 5
Views: 6734
|
Forum: CMUD General Discussion Posted: Sat Feb 20, 2010 3:21 pm Subject: Spell List Check |
My affection list looks like that:
SPL: (15 min) martial arts sets MARTIAL-ARTS
SPL: ( innate ) bless +35 to Move-regen
SPL: ( innate ) bless +5 ... |
Topic: @Var.contains |
leonardofaoro
Replies: 8
Views: 9341
|
Forum: CMUD General Discussion Posted: Sat Feb 20, 2010 3:09 pm Subject: @Var.contains |
How can I check if a string var contains what I need and make it return true?
#var test1 {aaa|bbb|ccc|ddd|eee fff|ggg hhh}
#IF %contains(@test1,"eee") {do1} {do2}
I found no function that does ... |
Topic: ^The (%w) seems to be closed. Send weird input |
leonardofaoro
Replies: 7
Views: 8917
|
Forum: CMUD General Discussion Posted: Mon Feb 15, 2010 9:35 pm Subject: ^The (%w) seems to be closed. Send weird input |
#tr {^The (%w) seems to be closed.} {open %1 %lastinput;#SEND %lastinput}
Neither the %1 gets processed. |
Topic: ^The (%w) seems to be closed. Send weird input |
leonardofaoro
Replies: 7
Views: 8917
|
Forum: CMUD General Discussion Posted: Mon Feb 15, 2010 9:12 am Subject: ^The (%w) seems to be closed. Send weird input |
its not lastinput its %lastcom
|(309%/47)](100%[3756/3756])(100%)(99%)[226/113]> u
The door seems to be closed.
open %1 %lastcom
%lastcom |
Topic: ^The (%w) seems to be closed. Send weird input |
leonardofaoro
Replies: 7
Views: 8917
|
Forum: CMUD General Discussion Posted: Sun Feb 14, 2010 9:16 pm Subject: ^The (%w) seems to be closed. Send weird input |
#tr {^The (%w) seems to be closed.} {open %1 %lastinput;#SEND %lastinput}
It works but the input sent to the mud is processed wrong, here's what I get:
|(314%/47)](100%[3756/3756])(100%)(100%)[1 ... |
Topic: Prompt trigger not matching, did I do something wrong? |
leonardofaoro
Replies: 4
Views: 6121
|
Forum: CMUD General Discussion Posted: Sun Feb 14, 2010 9:08 pm Subject: Prompt trigger not matching, did I do something wrong? |
I then have to use these vars into a gauge and fighting triggers. Would they work anyway if they are DB items instead of VARs?
Accessing data from the DB isn't slower than reading a @var?
What is ... |
Topic: Prompt trigger not matching, did I do something wrong? |
leonardofaoro
Replies: 4
Views: 6121
|
Forum: CMUD General Discussion Posted: Sun Feb 14, 2010 10:55 am Subject: Prompt trigger not matching, did I do something wrong? |
I followed the pattern matching helpfile to build it.
Original prompt:
|(317%/47)](100%[3756/3756])(100%)(100%)[0/0]>
Trigger:
#tr {^~|~(&%d{exp}~%~/&%d{lvl}~)~]~(&%d{hp}~%~[% ... |
Topic: Capture a portion of mud-text |
leonardofaoro
Replies: 6
Views: 7727
|
Forum: CMUD General Discussion Posted: Sun Feb 07, 2010 2:21 pm Subject: Capture a portion of mud-text |
Another question: When I execute the script a message appears: Capture text ON
How do I make that text disappear? |
Topic: Capture a portion of mud-text |
leonardofaoro
Replies: 6
Views: 7727
|
Forum: CMUD General Discussion Posted: Sun Feb 07, 2010 2:18 pm Subject: Capture a portion of mud-text |
Ok I modified it a bit and it works.
#trig {~<MAPSTART~>} {#C+ Map;#GAGON}
#trig {~<MAPEND~>} {#C-;#GAGOFF}
Have to omit the windowname values on #C- else it won't work.
Thanks ... |
Topic: Capture a portion of mud-text |
leonardofaoro
Replies: 6
Views: 7727
|
Forum: CMUD General Discussion Posted: Sun Feb 07, 2010 2:08 pm Subject: Capture a portion of mud-text |
When I insert the #trig {~<MAPSTART~>} {#C+ Map;#GAGON} in the command line, it says that #C+ is an illegal command. |
Topic: Capture a portion of mud-text |
leonardofaoro
Replies: 6
Views: 7727
|
Forum: CMUD General Discussion Posted: Sun Feb 07, 2010 1:57 pm Subject: Capture a portion of mud-text |
There is a way to make capture a portion of mud text?
Example:
<MAPSTART>
--- ---
|.*. . . . .|
--- ---
, ` . . (*) . . , `
... |
Topic: Error in cMUD.exe on starting cMUD |
leonardofaoro
Replies: 10
Views: 28017
|
Forum: CMUD General Discussion Posted: Sun Feb 07, 2010 1:15 am Subject: Error in cMUD.exe on starting cMUD |
Zugg, I've downloaded and installed version 3.14 - and as you expected it solved my problem with the sqlite3.dll.
But for some reason my CMUD got unregistered. I tried to register it again using the ... |
Topic: Error in cMUD.exe on starting cMUD |
leonardofaoro
Replies: 10
Views: 28017
|
Forum: CMUD General Discussion Posted: Thu Feb 04, 2010 11:20 pm Subject: Error in cMUD.exe on starting cMUD |
I bought CMUD Pro in Feb 2008, and I didn't have any problem since then. I've always installed it in the %DOCUMENTS% folder for easy backuping of my pkgs.
I've checked the Windows DEP and it was en ... |
|