Author |
Message |
Topic: Help with a trigger... |
Sildaren
Replies: 4
Views: 5445
|
Forum: zMUD General Discussion Posted: Wed May 15, 2002 8:39 pm Subject: Help with a trigger... |
check out this thread for an example compass:
topic.asp?TOPIC_ID=4722&FORUM_ID=7&CAT_ID=1&Topic_Title=Making+a+compass&Forum_Title=zMUD+General+Discussion
|
Topic: Problem with keypad |
Sildaren
Replies: 5
Views: 6025
|
Forum: zMUD General Discussion Posted: Wed May 15, 2002 8:26 pm Subject: Problem with keypad |
You should find the class 'directions' (you need to make visible 'inherited' settings for this),
and click the checkbox 'remove this inherited class when loading'.
Then created german dirs by pasti ... |
Topic: Problem on expanding variables |
Sildaren
Replies: 5
Views: 5615
|
Forum: zMUD General Discussion Posted: Wed May 15, 2002 5:21 pm Subject: Problem on expanding variables |
%pop expects a varable name, and doesn't expand it, if it's a name with nested variables, or an array.
I'm not even sure if it's expected to do so.
Definitly a question for the beta forum - it's m ... |
Topic: Command buffer Question |
Sildaren
Replies: 2
Views: 3694
|
Forum: zMUD General Discussion Posted: Wed May 15, 2002 4:36 pm Subject: Command buffer Question |
If you mean the zMUD command line, when you say 'command buffer', then you're looking for the #INPUT command.
Like
#VAR tperson Zugg
#INPUT {talk @tperson Hi there }
will replace the current c ... |
Topic: what is the format in %dbget(rec[,format])? |
Sildaren
Replies: 6
Views: 5620
|
Forum: zMUD General Discussion Posted: Mon May 13, 2002 12:10 pm Subject: what is the format in %dbget(rec[,format])? |
Help files say:
If format is present and is non-zero, the values returned are formatted (for Number fields) otherwise raw data is returned.
Eg. for the sample char that is part of a full zMUD inst ... |
Topic: Problem with in-game mud prompt |
Sildaren
Replies: 21
Views: 21813
|
Forum: zMUD General Discussion Posted: Sun May 12, 2002 2:07 pm Subject: Problem with in-game mud prompt |
#TRIGGER {>%w} {#TEMP {>} {#SUB {>%cr}}}
is worth a try.
Might have side effects with other triggers on that line.
|
Topic: Processing command line |
Sildaren
Replies: 2
Views: 3766
|
Forum: zMUD General Discussion Posted: Sun May 12, 2002 1:39 pm Subject: Processing command line |
I tried (in an empty mud window):
#TRIG {aaa} {#ADD test trig}
#ONINPUT {aa} {#ADD test oninp}
test=""
#STATUS @test
when I now type
#SH aaaa
the normal (#TRIG) trigger fires, but n ... |
Topic: Ansi Codes Crashing Zmud |
Sildaren
Replies: 3
Views: 6156
|
Forum: zMUD General Discussion Posted: Sun May 12, 2002 1:15 pm Subject: Ansi Codes Crashing Zmud |
Click on
Prefs/General/Emulation, and disable
VT 102 emulation.
if that doesn't help disable
ANSI emulation
as well.
Then zMUD should just ignore all that sequences.
But somehow I prefer Pe ... |
Topic: Corrupted files? |
Sildaren
Replies: 3
Views: 3883
|
Forum: zMUD General Discussion Posted: Sat May 11, 2002 12:50 pm Subject: Corrupted files? |
Perhaps the file global.mud is corrupted.
Might be worth to quit zMUD, then rename global.mud (zMUD will create a new one) and see if the situation has changed.
|
Topic: Expanding dirs |
Sildaren
Replies: 1
Views: 3068
|
Forum: zMUD General Discussion Posted: Sat May 11, 2002 12:23 pm Subject: Expanding dirs |
One problem is to know which lines contain the exits.
Without a good sample of mudoutput I can only hope that everything inside parenthesis always is exit information.
Now you can use a db variabl ... |
Topic: Math with Floating Points |
Sildaren
Replies: 3
Views: 4031
|
Forum: zMUD General Discussion Posted: Sat May 11, 2002 11:51 am Subject: Math with Floating Points |
#show %format("&10.2f",%eval(2.0+2.1))
displays
4.10
The only other way I can think of right now, is if you need, say, 2 decimals, to multiply all values with 100, and use int ... |
Topic: MXP |
Sildaren
Replies: 2
Views: 3584
|
Forum: zMUD General Discussion Posted: Fri May 10, 2002 8:40 am Subject: MXP |
Have a look at
|
Topic: Portals |
Sildaren
Replies: 12
Views: 16802
|
Forum: zMUD General Discussion Posted: Fri May 10, 2002 8:24 am Subject: Portals |
Sounds like the 'trigger on trigger' option isn't really doing what you need.
If you post the triggers you are using (for both ends of portal), as well as a sample of the portaling text, we can proba ... |
Topic: SafeCrack |
Sildaren
Replies: 14
Views: 13355
|
Forum: zMUD General Discussion Posted: Tue May 07, 2002 7:09 pm Subject: SafeCrack |
I'd think you can target one of several safes, by using something like 'turn 2nd safe to ...', instead of 'turn a safe to ...'.
But that is completly mud-specific and has nothing to do with zMUD.
(I ... |
Topic: SafeCrack |
Sildaren
Replies: 14
Views: 13355
|
Forum: zMUD General Discussion Posted: Tue May 07, 2002 1:13 am Subject: SafeCrack |
Not much change needed for that
#VAR cracknum 0
#ALI docrack {turn a safe to %eval(@cracknum/(26*26)) %eval((@cracknum/26)26) %eval(@cracknum26);#ADD cracknum 1}
#ALARM {*15} {docrack;docrack} crac ... |
Topic: SafeCrack |
Sildaren
Replies: 14
Views: 13355
|
Forum: zMUD General Discussion Posted: Tue May 07, 2002 12:25 am Subject: SafeCrack |
Adding a 'fast and dirty' method for varity...
(lots of way to do it especially if you don't tell details like how fast you want
to send the commands, or when you want to stop/resume it.)
Three ... |
Topic: Zmud 6.16 Memory Leak or what? |
Sildaren
Replies: 8
Views: 14430
|
Forum: zMUD General Discussion Posted: Mon May 06, 2002 6:11 pm Subject: Zmud 6.16 Memory Leak or what? |
Karthsun:
stupid question: if you use
#forall @itemnames {value %i}
(parenthesis are used for functions, braces are for commands, so your syntax is wrong)
do you get the same problem?
And if y ... |
Topic: phrase counter |
Sildaren
Replies: 4
Views: 4629
|
Forum: zMUD General Discussion Posted: Mon May 06, 2002 5:33 pm Subject: phrase counter |
You could try just to use
#TR {a certain message} {#ADD message 1}
without the #SHOW command, and add the
'displayed @message times' part to the status window, or status line.
|
Topic: Multiple line trigger problem |
Sildaren
Replies: 2
Views: 4147
|
Forum: zMUD General Discussion Posted: Mon May 06, 2002 5:21 pm Subject: Multiple line trigger problem |
Might be possible to collect the 'broken' lines in a variable, while #GAGing them on the screen,
and using #SHOW at the end of the sequence to display all of it in one line (so one trigger can work ... |
Topic: Portals |
Sildaren
Replies: 12
Views: 16802
|
Forum: zMUD General Discussion Posted: Mon May 06, 2002 5:12 pm Subject: Portals |
First make sure you have the {notrig} option in the roomscripts on both sides of the portal,
second use _MapperRoom as class, so the mapper recognizes the trigger as a roomscript when leaving the roo ... |
Topic: Zmud translator |
Sildaren
Replies: 10
Views: 10108
|
Forum: zMUD General Discussion Posted: Fri May 03, 2002 9:05 pm Subject: Zmud translator |
Help files?
Never heard of such a thing!
|
Topic: newbie script question |
Sildaren
Replies: 3
Views: 5260
|
Forum: zMUD General Discussion Posted: Fri May 03, 2002 8:58 pm Subject: newbie script question |
Either you use nested #ALARMS:
ah; #ALARM +0.5 {ah; #ALARM +0.5 {ah; st; uc; #ALARM +0.5 {ah; #ALARM +0.5 {ah; st; uc; #ALARM +0.5 {ah; #ALARM +0.5 {ah; st; uc; #ALARM +0.5 {ah; #ALARM +0.5 {ah; #ALA ... |
Topic: Problem with in-game mud prompt |
Sildaren
Replies: 21
Views: 21813
|
Forum: zMUD General Discussion Posted: Fri May 03, 2002 8:47 pm Subject: Problem with in-game mud prompt |
I'd just keep echo on, and change the color for command output in Prefs/Colors/Color Schemes to black (or whatever your background color is).
That way you don't see the additional spam
Is a kludg ... |
Topic: Problem with in-game mud prompt |
Sildaren
Replies: 21
Views: 21813
|
Forum: zMUD General Discussion Posted: Fri May 03, 2002 3:55 pm Subject: Problem with in-game mud prompt |
Hmmm, perhaps you can ask your IMM where that
'ESC or
don't cover it at valid sequence sent from a server.
So it seems like it's something non-standard (which means zMUD HAS to ignore it).
... |
Topic: Zmud translator |
Sildaren
Replies: 10
Views: 10108
|
Forum: zMUD General Discussion Posted: Fri May 03, 2002 3:05 pm Subject: Zmud translator |
Without the remove, but WITH doublequotes it works fine for me:
#TRIGGER {^(%w) tells you '(*)', in Kzin.} {#ECHO %1 is trying to say %replace( %replace( %replace( %replace( %replace( %replace( %repl ... |
|