Author |
Message |
Topic: Flaky database behaviour! seems like it goes online/offline |
Pega
Replies: 2
Views: 5798
|
Forum: zMUD General Discussion Posted: Mon May 02, 2005 4:24 am Subject: Flaky database behaviour! seems like it goes online/offline |
Have you used #DBONLINE and #DBOFFLINE? |
Topic: Repeating Trigger Question |
Pega
Replies: 1
Views: 5492
|
Forum: zMUD General Discussion Posted: Mon May 02, 2005 4:04 am Subject: Repeating Trigger Question |
Looping commands like #FORALL, #LOOP etc. when used in a trigger do not normally complete their execution before other triggers are fired.
Here are 3 options:
A. Switch off triggers that work on ... |
Topic: timestamping my prompt with #SAYP - zmud too slow |
Pega
Replies: 14
Views: 18170
|
Forum: zMUD General Discussion Posted: Sun May 01, 2005 4:10 pm Subject: timestamping my prompt with #SAYP - zmud too slow |
Over the years my solution was to use the #SUB command to replace a part of my prompt with a timestamp. It helps if you can add custom text to your prompt or just change an insignificant part of it. |
Topic: Placing a variable in a class using regex pattern match? |
Pega
Replies: 4
Views: 6385
|
Forum: zMUD General Discussion Posted: Sun May 01, 2005 4:00 pm Subject: Placing a variable in a class using regex pattern match? |
This might work,(?\classname\subclassname\variablename:\d+)
A Regex equivalent of this,#trigger {^You have (%d) out of (%d) health remaining.$} {#variable ... |
Topic: trigger and ansi colors |
Pega
Replies: 11
Views: 22844
|
Forum: zMUD General Discussion Posted: Wed Feb 09, 2005 4:57 pm Subject: trigger and ansi colors |
zMUD v7.05
The truth is #SUB and #PSUB are not ANSI Trigger friendly.
If you want to substitute in a prefix for an ANSI Trigger pattern with #SUB, it is easy because you can match against the ^. ... |
Topic: trigger and ansi colors |
Pega
Replies: 11
Views: 22844
|
Forum: zMUD General Discussion Posted: Tue Feb 08, 2005 9:02 am Subject: trigger and ansi colors |
Need help?
Is this a prompt with the cursor at the end of it? And does this status line sometimes append itself to the previous line? |
Topic: Question regarding numbers |
Pega
Replies: 13
Views: 13043
|
Forum: zMUD General Discussion Posted: Tue Feb 08, 2005 3:48 am Subject: Question regarding numbers |
Vijilante's solution works, but here is another way of doing it since you know where the numbers are located:
#TR {^~| (%d) ~|~ (%d) ~|} {
#IF (%1<10) {#PSUB {0} 2 1}
#IF (%2<10) {#PSUB {0 ... |
Topic: Zmud 7.05 fails to start w/ WinXP SP2 (not services problem) |
Pega
Replies: 8
Views: 12951
|
Forum: zMUD General Discussion Posted: Tue Feb 08, 2005 3:02 am Subject: Zmud 7.05 fails to start w/ WinXP SP2 (not services problem) |
http://www.zuggsoft.com/zmud/elicense.htm
FAQ 20. How do I Uninstall eLicense?
I suggest you first of all try to un-license zMUD from the control panel. |
Topic: Zmud 7.05 fails to start w/ WinXP SP2 (not services problem) |
Pega
Replies: 8
Views: 12951
|
Forum: zMUD General Discussion Posted: Tue Feb 08, 2005 2:13 am Subject: Zmud 7.05 fails to start w/ WinXP SP2 (not services problem) |
Are you running 7.05a?
Perhaps this thread (shown on the main page of this site) might clear things up: http://forums.zuggsoft.com/phpbb/viewtopic.php?t=19248
Could it be possible that both your ... |
Topic: sending <enter> before text |
Pega
Replies: 7
Views: 12292
|
Forum: zMUD General Discussion Posted: Tue Feb 08, 2005 1:26 am Subject: sending <enter> before text |
Perhaps this might help.
In your settings at, View|Preferences|General -> Preferences|General|Emulation
Make sure that the boxes for Telnet options and Use GA/EOR for prompt are checked.
If ... |
Topic: Question about Parsing + Triggers |
Pega
Replies: 4
Views: 6291
|
Forum: zMUD General Discussion Posted: Sat Feb 05, 2005 9:01 am Subject: Question about Parsing + Triggers |
This toggles trigger parsing:
#menu "settings|enable triggers"
NB trigger alarms are not disabled by this. |
Topic: importing scripts |
Pega
Replies: 5
Views: 9069
|
Forum: zMUD General Discussion Posted: Fri Feb 04, 2005 4:59 pm Subject: importing scripts |
Perhaps you could give them unique trigger IDs. |
Topic: Prompt Curing Question |
Pega
Replies: 3
Views: 7277
|
Forum: zMUD General Discussion Posted: Thu Feb 03, 2005 3:19 pm Subject: Prompt Curing Question |
You say it still runs twice?
That could be due to the problem with dual triggering Triggers.
They trigger on Prompt and then trigger again on the same line on Newline.
I suggest you duplicate ... |
Topic: Prompt Curing Question |
Pega
Replies: 3
Views: 7277
|
Forum: zMUD General Discussion Posted: Thu Feb 03, 2005 1:32 pm Subject: Prompt Curing Question |
I think it is triggering multiple times on your prompts.
You have recovered equilibrium
1989h, 3472m, 2520e, 10p ex-
1671h, 3472m, 2520e, 10p ex-light 75515
light 75515
light 75515
The trigge ... |
Topic: #CW : coloring a @ (variable) |
Pega
Replies: 1
Views: 5035
|
Forum: zMUD General Discussion Posted: Wed Feb 02, 2005 4:12 pm Subject: Re: #CW : coloring a @ (variable) |
Is there a way to ONLY color the @hp var in the HP bar red when below a certain value?
Yes. Here is one way of doing it:
#TRIGGER {HP: &%n{hp}/&%d{maxhp}} {#if (%1<50) {#psub {%ansi( hi ... |
Topic: tired of %quote bugging... |
Pega
Replies: 21
Views: 40846
|
Forum: zMUD General Discussion Posted: Tue Feb 01, 2005 2:33 am Subject: tired of %quote bugging... |
As I said in the other thread, %literal is used in command line input of a script.
Your @randcolor uses %expand only because it requires recursive expansion.
They are 2 seperate things.
Cheer ... |
Topic: Trigger colour problems |
Pega
Replies: 4
Views: 11138
|
Forum: zMUD General Discussion Posted: Mon Jan 31, 2005 8:33 pm Subject: Trigger colour problems |
#trigger {^} {#t+ alignment} ""
#trigger {{@good|@elfs|@dwarfs|@helfs} %x cast} {#cw cyan;#t- alignment} "alignment" {case&# ... |
Topic: tired of %quote bugging... |
Pega
Replies: 21
Views: 40846
|
Forum: zMUD General Discussion Posted: Mon Jan 31, 2005 8:00 pm Subject: tired of %quote bugging... |
Try using the lines of script I typed out in my earlier post. Like I said, it doesn't evaluate () at all, but
I guess you will have to change your triggers and scripts. IMHO using
Additionally, if ... |
Topic: Character setting won't read files. |
Pega
Replies: 6
Views: 11965
|
Forum: zMUD General Discussion Posted: Mon Jan 31, 2005 7:35 pm Subject: Character setting won't read files. |
Perhaps the problem lies in the script, it could have been caused by improper script import or conflict with the current script.
Look away from the script for a minute.
Paste these three lines i ... |
Topic: tired of %quote bugging... |
Pega
Replies: 21
Views: 40846
|
Forum: zMUD General Discussion Posted: Mon Jan 31, 2005 6:57 pm Subject: tired of %quote bugging... |
actually I have no problem with parenthesis... perhaps If I try and use it as a smiley... lemme try it.. nope... no problem there either...
The only thing I do have a problem with is if I use both ... |
Topic: Escaping Square Brackets |
Pega
Replies: 3
Views: 5963
|
Forum: zMUD General Discussion Posted: Mon Jan 31, 2005 11:09 am Subject: Escaping Square Brackets |
Yep %quote works. %literal is meant for a command-line production of an alias. |
Topic: tired of %quote bugging... |
Pega
Replies: 21
Views: 40846
|
Forum: zMUD General Discussion Posted: Mon Jan 31, 2005 10:08 am Subject: tired of %quote bugging... |
Summary:
1. Using an Alias.#AL goss {gos @randcolor%literal(%quote(%-1))&+y}Strange, using the above with commas work for me now, not sure why it did not seem to work earlier, but it still has ... |
Topic: tired of %quote bugging... |
Pega
Replies: 21
Views: 40846
|
Forum: zMUD General Discussion Posted: Mon Jan 31, 2005 4:05 am Subject: tired of %quote bugging... |
Oh you are right, I never defined randcolor that is why I did not notice it before.
Try this instead:#ONINPUT {^goss5 (.+)$} {gos @{randcolor}%1&+y} "&q ... |
Topic: tired of %quote bugging... |
Pega
Replies: 21
Views: 40846
|
Forum: zMUD General Discussion Posted: Mon Jan 31, 2005 3:42 am Subject: tired of %quote bugging... |
Okay I think this is the ultimate solution:
#ONINPUT {^goss5 (.+)$} {gos @randcolor%1&+y} "" {case|notrig|regex}
 |
Topic: tired of %quote bugging... |
Pega
Replies: 21
Views: 40846
|
Forum: zMUD General Discussion Posted: Mon Jan 31, 2005 3:26 am Subject: tired of %quote bugging... |
The quotes and double quotes work. Commas are special chars to zMUD functions.
If you opt to use this alias, my best suggestion is to place ~'s in front of your commas and any closing parentheses in ... |
|