Register to post in forums, or Log in to your existing account
 
:
Search found 17 matches for:
Page 1 of 1
Author Message
  Topic: adding linebreaks to #ECHO commands?
Pauley

Replies: 2
Views: 499

PostForum: CMUD General Discussion   Posted: Wed Aug 21, 2024 2:50 pm   Subject: adding linebreaks to #ECHO commands?
Is something like
#echo foo %crlf bar
what you want?

To avoid a space before "bar" on the new line, you could use %concat

That appears to be it, thank you :)
  Topic: adding linebreaks to #ECHO commands?
Pauley

Replies: 2
Views: 499

PostForum: CMUD General Discussion   Posted: Sun Aug 18, 2024 2:39 pm   Subject: adding linebreaks to #ECHO commands?
Hi.

Is there a way of adding linebreaks when using the #ECHO command? Here's what I'd like:

#ECHO *linebreak* text text text blah blah


The way I found that does this is to add an addi ...
  Topic: Button to enable/disable a trigger
Pauley

Replies: 8
Views: 1423

PostForum: CMUD General Discussion   Posted: Sun Aug 11, 2024 4:03 pm   Subject: Button to enable/disable a trigger
The ID needs to start with a letter is the issue here, fully numeric IDs are not supported.

Aaah, that makes sense - i was using the default ID assigned by cmud upon creating the trigger
  Topic: Button to enable/disable a trigger
Pauley

Replies: 8
Views: 1423

PostForum: CMUD General Discussion   Posted: Sun Aug 04, 2024 10:52 am   Subject: Button to enable/disable a trigger
You can either edit the xml directly, id="PartyChecker"

Or you can click the 'More' button at the bottom of the package editor window and just fill in the panel labeled ID.

I cannot get this but ...
  Topic: How does #MATH works?
Pauley

Replies: 11
Views: 2504

PostForum: CMUD General Discussion   Posted: Mon Jul 08, 2024 1:22 pm   Subject: How does #MATH works?
General speaking, there is no real 'best' way to do things, just a bunch of tools in the toolbox

The #HELP command can be used with any command or function to read the help files

#HELP #MATH
#H ...
  Topic: Button to enable/disable a trigger
Pauley

Replies: 8
Views: 1423

PostForum: CMUD General Discussion   Posted: Mon Jul 08, 2024 9:51 am   Subject: Button to enable/disable a trigger
You can do that.
You need to give the trigger an ID of "PartyChecker"
then your button will do the following:

#SWITCH (%trigger(PartyChecker))
(0) {#T+ PartyChecke ...
  Topic: How does #MATH works?
Pauley

Replies: 11
Views: 2504

PostForum: CMUD General Discussion   Posted: Mon Jul 08, 2024 5:38 am   Subject: How does #MATH works?
The #MATH command has been officially deprecated and made redundant, any equation in parentheses will try to evaluate itself, use nested parenthesis when you need to force order of operations.

usin ...
  Topic: How does #MATH works?
Pauley

Replies: 11
Views: 2504

PostForum: CMUD General Discussion   Posted: Sun Jul 07, 2024 4:54 pm   Subject: How does #MATH works?
Big oooof

The problem was that the trigger capturing my wisdom also captured one blankspace :3

Works as it should now

Edit:
Changed a %1 to "%s(%n)%s" in the capture trigger to avoid getti ...
  Topic: How does #MATH works?
Pauley

Replies: 11
Views: 2504

PostForum: CMUD General Discussion   Posted: Sun Jul 07, 2024 7:50 am   Subject: How does #MATH works?
No, #MATH doesn't do math in cMud - it isn't actually a command any more, so the parser is treating it as just a string of text. It is expanding your variables, but not doing anything with them as th ...
  Topic: Button to enable/disable a trigger
Pauley

Replies: 8
Views: 1423

PostForum: CMUD General Discussion   Posted: Fri Jul 05, 2024 2:38 pm   Subject: Re: Button to enable/disable a trigger
I have a trigger for my healer which will do a "party check" command for each "new round" of combat
so that I can know who to heal and not.

However, this "party check" command is spammy when I'm n ...
  Topic: How does #MATH works?
Pauley

Replies: 11
Views: 2504

PostForum: CMUD General Discussion   Posted: Fri Jul 05, 2024 10:34 am   Subject: How does #MATH works?
I cannot get #MATH to work, curious as to what I'm doing wrong.

I have a spell's duration which is 2 times your current wisdom + 200 (so the total = X seconds)

I made a trigger to capture my wis ...
  Topic: Button to enable/disable a trigger
Pauley

Replies: 8
Views: 1423

PostForum: CMUD General Discussion   Posted: Fri Jul 05, 2024 9:54 am   Subject: Button to enable/disable a trigger
I have a trigger for my healer which will do a "party check" command for each "new round" of combat
so that I can know who to heal and not.

However, this "party check" command is spammy when I'm n ...
  Topic: line break in trigger pattern OR multiple lines trigger? [SOLVED]
Pauley

Replies: 6
Views: 1878

PostForum: CMUD General Discussion   Posted: Thu May 30, 2024 9:35 am   Subject: line break in trigger pattern OR multiple lines trigger? [SOLVED]
#CONDITION on its own will attach to the last defined #TRIGGER, therefore it is recommended to only be used from the command line when first creating a trigger.
It should never be in the body of a tr ...
  Topic: line break in trigger pattern OR multiple lines trigger? [SOLVED]
Pauley

Replies: 6
Views: 1878

PostForum: CMUD General Discussion   Posted: Sat May 18, 2024 8:50 am   Subject: line break in trigger pattern OR multiple lines trigger? [SOLVED]
A new problem arises with this method - some times when the 1st trigger triggers it creates a new 2nd trigger, leading to en endless string of new 2nd triggers nesting themselves below the 1st trigger ...
  Topic: line break in trigger pattern OR multiple lines trigger? [SOLVED]
Pauley

Replies: 6
Views: 1878

PostForum: CMUD General Discussion   Posted: Sat May 18, 2024 8:32 am   Subject: line break in trigger pattern OR multiple lines trigger? [SOLVED]
It works perfectly according to what i want it to do, but it also now gives an error msg: "ERROR: Trigger "%1 chant 'Meiyou Du De.'" fired but did not compile"

Edit: turns out it was the space I ...
  Topic: line break in trigger pattern OR multiple lines trigger? [SOLVED]
Pauley

Replies: 6
Views: 1878

PostForum: CMUD General Discussion   Posted: Sat May 18, 2024 7:40 am   Subject: line break in trigger pattern OR multiple lines trigger? [SOLVED]
Hmm, I suppose I'm mucking up the syntax somewhat, because this doesn't work. (I specifically made the trigger to work when i cast it on myself for this testing stage)

The variable MIPOI stand fo ...
  Topic: line break in trigger pattern OR multiple lines trigger? [SOLVED]
Pauley

Replies: 6
Views: 1878

PostForum: CMUD General Discussion   Posted: Fri May 17, 2024 8:30 pm   Subject: line break in trigger pattern OR multiple lines trigger? [SOLVED]
Hi.

Scenario: I want to make a trigger for some protection spells with the syntax of:


Peter chants: Hoo Boo Woo!
You feel protected!


This trigger must be across multiple lines becaus ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net