Register to post in forums, or Log in to your existing account
 
:
Search found 29 matches for:
Page 1 of 2 Goto page 1, 2  Next
Author Message
  Topic: Help with capture to variable
takke

Replies: 2
Views: 1891

PostForum: CMUD General Discussion   Posted: Wed Aug 30, 2023 4:04 am   Subject: Help with capture to variable
The following should do it.
<trigger name="Test 29 Aug 23" priority="400" trigontrig="false" id="40">
<pattern>Exp:%s(%d) ~(Safe: (%d), Latent: (%d)~) Next Level:%s(%d) ~((*)~%~)</p ...
  Topic: Help with capture to variable
takke

Replies: 2
Views: 1891

PostForum: CMUD General Discussion   Posted: Tue Aug 29, 2023 8:05 am   Subject: Help with capture to variable
Hi peeps

I need help to capture the following string: Exp: 10903900 (Safe: 0, Latent: 0) Next Level: 36590500 (29.8%)

and capture the values into variables. I can't seem properly match this stri ...
  Topic: Calculate change
takke

Replies: 2
Views: 2269

PostForum: CMUD General Discussion   Posted: Tue Oct 25, 2022 4:23 am   Subject: Calculate change
You need at least two variables to track changes, so first, we need to capture those:

#TR {Your dragons progress in the order of Contezial is (%d.%d)~%.} {
contezialChange ...
  Topic: Calculate change
takke

Replies: 2
Views: 2269

PostForum: CMUD General Discussion   Posted: Mon Oct 24, 2022 12:04 am   Subject: Calculate change
I feel abit retarded and this shouldn't be that hard but have a problem that would be nice if someone could help me with.

I get this string from the mud when i type the command "estimate"

"Your ...
  Topic: Need help to trigger this line
takke

Replies: 5
Views: 6584

PostForum: CMUD General Discussion   Posted: Tue Aug 11, 2020 9:26 am   Subject: Need help to trigger this line
Thank you guys :)
  Topic: Need help to trigger this line
takke

Replies: 5
Views: 6584

PostForum: CMUD General Discussion   Posted: Mon Aug 10, 2020 6:55 pm   Subject: Need help to trigger this line
Thanks, worked like a charm. Have never seen %n anywhere.

If i now want to change the color of that [] value, how would you go about that?
  Topic: Need help to trigger this line
takke

Replies: 5
Views: 6584

PostForum: CMUD General Discussion   Posted: Sun Aug 09, 2020 10:35 am   Subject: Need help to trigger this line
Hi

I want to trigger on following line:

Takke [party]: Hp: 4198/(4242) [-44] Sp: 971/(971) [+0] Ep: 4336/(4380) [-6]

I want to store the values in variables. I have a problem with the [-44]. ...
  Topic: Random time trigger?
takke

Replies: 3
Views: 4374

PostForum: zMUD General Discussion   Posted: Sat Jul 10, 2004 8:23 pm   Subject: Random time trigger?
Thanks very much, works great.
Just when you think you understand the language in zmud you notice that you are just in the begining of the learning process :P

//Takke
  Topic: Random time trigger?
takke

Replies: 3
Views: 4374

PostForum: zMUD General Discussion   Posted: Sat Jul 10, 2004 3:00 pm   Subject: Random time trigger?
#EXEC %concat( "#ALARM {+", %random( 1, 20), "} {#no prott}")

What is wrong with this trigger? I want the prott alias to trigger
random between 1 and 20 sec. Can't get it to work

//Takke
  Topic: Timerproblem
takke

Replies: 1
Views: 2844

PostForum: zMUD General Discussion   Posted: Sun Jun 08, 2003 1:21 am   Subject: Timerproblem
Can some1 explain to me why this timer stops working after midnight.

#IF (@wc) {#var wctime %eval( %ctime-@wc)}

I have to restart zmud then they begin to work again.

  Topic: pktrigger again
takke

Replies: 1
Views: 2945

PostForum: zMUD General Discussion   Posted: Mon Jun 02, 2003 6:04 pm   Subject: pktrigger again
Hi there

Thanks for the fast response but I think I was a bit unclear about what I wanted the trigger and button to do. I don't know if you have time to help me with this problem but this time I w ...
  Topic: pktrigger
takke

Replies: 1
Views: 3024

PostForum: zMUD General Discussion   Posted: Sun Jun 01, 2003 8:06 pm   Subject: pktrigger
Sigh

This problem are giving me grey hairs. I have written about this code problems earlier and I got a answer but I can still don't get the ¤#&#¤& to work.

Here is the problem ...
  Topic: Ismember
takke

Replies: 1
Views: 2951

PostForum: zMUD General Discussion   Posted: Fri May 30, 2003 1:43 am   Subject: Ismember
Hi

Im trying to make a pktrigger that puts ppl in a list then when I press a button and a person that is on that list are in the room it will start to kill that person. Something like this:

#var ...
  Topic: Mudreader
takke

Replies: 1
Views: 2996

PostForum: zMUD General Discussion   Posted: Mon May 26, 2003 9:37 am   Subject: Mudreader
Hi

I have a small quastion about mudreader.
This weekend I installed mudreader on my
parents computer. I could the choose a swedish voice that handles swedish text.
Yesterday I installed it on ...
  Topic: Timer
takke

Replies: 2
Views: 3383

PostForum: zMUD General Discussion   Posted: Sun May 25, 2003 2:13 pm   Subject: Timer
Last time and posted a mess I was unclear on my problem. This time I have the mess will explain what I want the timer to do.

I have a protectionspell that I want to keep track of the duration of th ...
  Topic: Timer problems
takke

Replies: 1
Views: 2895

PostForum: zMUD General Discussion   Posted: Sat May 24, 2003 1:34 am   Subject: Timer problems
Hi
I just this trigger to calculate the duration of a skill/spell. I works just fine in zmud 6.16 but now I have upgraded to 6.62 and now it's fucked up. For some reason the counter starts over at 60 ...
  Topic: Random timetrigger
takke

Replies: 4
Views: 4257

PostForum: zMUD General Discussion   Posted: Wed Feb 05, 2003 9:27 am   Subject: Random timetrigger
Hi

I need help to make a trigger that will
execute random. Example

You summon a mystic sword.
Trigger: summon one again in 1-30 sec.

Hope you understand the quastion

  Topic: Stw colors
takke

Replies: 3
Views: 4540

PostForum: zMUD General Discussion   Posted: Fri Nov 01, 2002 4:53 pm   Subject: Stw colors
That wasen't much help. As I said I know that I can use ansi
to get colors into the stw but I need em to change with the variable.
Something like this:

#If (var = on) {#cw yellow} {#cw red}

Yo ...
  Topic: Stw colors
takke

Replies: 3
Views: 4540

PostForum: zMUD General Discussion   Posted: Fri Nov 01, 2002 2:53 pm   Subject: Stw colors
A new day and new problems

So here I am again. I was wondering if there is a
way to get ansicolors into the stw? I know I can change
the color in the stw but I want to do it like this if
it's p ...
  Topic: Ress problems
takke

Replies: 2
Views: 3988

PostForum: zMUD General Discussion   Posted: Fri Nov 01, 2002 10:17 am   Subject: Ress problems
Thank you very much for the solution. Now I will see if I can get it to work.
If anyone else reads about this trigger plz give me an alternative solution.
Allways good to have a backup plan :P


...
  Topic: Ress problems
takke

Replies: 2
Views: 3988

PostForum: zMUD General Discussion   Posted: Fri Nov 01, 2002 1:19 am   Subject: Ress problems
Hi again

I don't know if it me that are being unclear with my
idea of an autoress trigger or is it me being dumb.
But I will post my problem again and maybe I can get it to work.

The things t ...
  Topic: Anti Idle?
takke

Replies: 7
Views: 6397

PostForum: zMUD General Discussion   Posted: Wed Oct 30, 2002 10:08 pm   Subject: Anti Idle?
Thanks guys

  Topic: Anti Idle?
takke

Replies: 7
Views: 6397

PostForum: zMUD General Discussion   Posted: Wed Oct 30, 2002 2:56 pm   Subject: Anti Idle?
Hi again

Now I need a antiidle device. When the varable is 1 I want my char to make a random command every 15 sec. how can I make this happend?

Ohh btw I need help on that autoress thingie I pos ...
  Topic: Auto Resurrect
takke

Replies: 2
Views: 4522

PostForum: zMUD General Discussion   Posted: Wed Oct 30, 2002 10:22 am   Subject: Auto Resurrect
Hi there

I want to make a trigger that automaticlly casts resurrection at ghosts.
The problem is that I want to put the names of the ghost in a list then
loop trough it untill all the ghost are r ...
  Topic: Timeproblemes
takke

Replies: 3
Views: 5151

PostForum: zMUD General Discussion   Posted: Thu Oct 17, 2002 4:16 pm   Subject: Timeproblemes
Thanks for the replies.
The trigger works great.

//Takke

 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net