Author |
Message |
Topic: Trigger Priority |
blondi
Replies: 5
Views: 1749
|
Forum: zMUD General Discussion Posted: Tue Mar 23, 2004 12:25 am Subject: Trigger Priority |
Thanx very much for your answers
The enabling and disabling of triggers an classes i alredy know and that's not the problem.
I tried servaral things an i think i get it now, but that are all crud ... |
Topic: Trigger Priority |
blondi
Replies: 5
Views: 1749
|
Forum: zMUD General Discussion Posted: Sun Mar 21, 2004 7:26 pm Subject: Trigger Priority |
Hi there
is there any possibility to tell zmud to only firering one trigger, and all other triggers will not fire (although they have a matching pattern)? some examples
#TRIGGER {^(*) sagt: *$} ... |
Topic: #if bug? or am i to stupid for? |
blondi
Replies: 1
Views: 762
|
Forum: zMUD General Discussion Posted: Sat Sep 20, 2003 11:40 am Subject: #if bug? or am i to stupid for? |
i have this 2 Vars:
#VAR team_member {2}
#VAR team_ang_pid {0} {0}
an this piece of code
#if (@team_member!=2) {
#SAY "Du bist kein Teamleiter!"
#color bold,red
} {
#IF (%1="" AND @ ... |
Topic: optimizing macros |
blondi
Replies: 5
Views: 1606
|
Forum: zMUD General Discussion Posted: Sun Jun 08, 2003 2:40 pm Subject: optimizing macros |
oh i see my error %db("sehr viel schwächer",@s_lp_rel_1) i mixed it up.
Now i have it, i put all things in stringlists
and for the schaetz_rel_xxx i made one stringlist for the patt ... |
Topic: optimizing macros |
blondi
Replies: 5
Views: 1606
|
Forum: zMUD General Discussion Posted: Sun Jun 08, 2003 12:59 pm Subject: optimizing macros |
Thank your very much I got it the first Script is much faster an shorter:
Trigger:
(*):({ weit entfernt von| noch laengst nicht| bald schon| fast|})({ absolut superuebel| superuebel| sehr sehr ueb ... |
Topic: optimizing macros |
blondi
Replies: 5
Views: 1606
|
Forum: zMUD General Discussion Posted: Sun Jun 08, 2003 1:51 am Subject: optimizing macros |
Sorry for asking but i can't see how to do it with a #CASE cause in the help the case is only with a number as index. here i need strings as index und numbers as 'commands'
you can say i nee a backwa ... |
Topic: optimizing macros |
blondi
Replies: 5
Views: 1606
|
Forum: zMUD General Discussion Posted: Sat Jun 07, 2003 2:20 am Subject: optimizing macros |
Hi there
i have 2 macros which take a long time to run, so i want wo ask you if you can see any thing which can be optimized:
Macro one:
Trigger: (*):({ weit entfernt von| noch laengst nicht| b ... |
Topic: resetable and stoppable countdowntimer |
blondi
Replies: 3
Views: 1377
|
Forum: zMUD General Discussion Posted: Tue May 20, 2003 12:12 am Subject: resetable and stoppable countdowntimer |
Thank you
i didn't know that recreating an #alarm with the same trigger resets them, zhere's nothing in the 6.40 helpfile
another stupid question but i can't find somethin in the helpfile, too
... |
Topic: resetable and stoppable countdowntimer |
blondi
Replies: 3
Views: 1377
|
Forum: zMUD General Discussion Posted: Mon May 19, 2003 7:50 pm Subject: resetable and stoppable countdowntimer |
I hope you can help me cause i've no idee how to do that
i receive from the mud a string let's say 'start' after a random time i receive a string 'stop', but not always.
'start' sets a flag in my ... |
Topic: Problem with #if =~ in #while |
blondi
Replies: 5
Views: 1294
|
Forum: zMUD General Discussion Posted: Mon Apr 21, 2003 6:50 pm Subject: Problem with #if =~ in #while |
Thank you very much, that's it
|
Topic: Problem with #if =~ in #while |
blondi
Replies: 5
Views: 1294
|
Forum: zMUD General Discussion Posted: Mon Apr 21, 2003 4:03 pm Subject: Problem with #if =~ in #while |
Here is the script, its not finished
#IF (@bef_string =~ "* Du hast (%d) Punkte~, brauchst aber (%d)~!*") {
#SAY Punkte: %%1 von %%2
bef_temp= " Du hast "%%1" Punkte, ... |
Topic: Problem with #if =~ in #while |
blondi
Replies: 5
Views: 1294
|
Forum: zMUD General Discussion Posted: Sun Apr 20, 2003 7:06 pm Subject: Problem with #if =~ in #while |
the poblematic piece of code is that:
bef_string=%replace( @bef_string, ", den Kampf", " koennen. Den Kampf")
#WHILE (%pos( "Den Kampf mit", @bef_string)) {#IF (@bef_ ... |
Topic: #if =~ pattern syntax |
blondi
Replies: 3
Views: 1278
|
Forum: zMUD General Discussion Posted: Thu Apr 10, 2003 9:58 am Subject: #if =~ pattern syntax |
Thank you very much.
Now it is clear to me, what is ment with the double %%
|
Topic: #if =~ pattern syntax |
blondi
Replies: 3
Views: 1278
|
Forum: zMUD General Discussion Posted: Wed Apr 09, 2003 10:01 pm Subject: #if =~ pattern syntax |
I know the thing is in the helpfiles, but this piece of englisch is to hard for me to understand cause englisch is not my main language
So please could somebody tell me (with examples) how to use p ... |
Topic: Problem with Multiline Trigger |
blondi
Replies: 0
Views: 741
|
Forum: zMUD General Discussion Posted: Sun Apr 06, 2003 10:54 pm Subject: Problem with Multiline Trigger |
Hi folks
i have a big problem with a multiline trigger
after i ask a NPC a question, i get after some seconds (and some lines i don't interested in) some lines like:
NPC sagt: "text"
N ... |
|