Register to post in forums, or Log in to your existing account
 
:
Search found 155 matches for:
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
Author Message
  Topic: OK, so I can't seem to handle a simple IF statement
chaossdragon

Replies: 9
Views: 272

PostForum: CMUD General Discussion   Posted: Mon Mar 06, 2023 4:19 am   Subject: OK, so I can't seem to handle a simple IF statement
Start with each line and do a #SHOW so your first line $newarea=%gmcp.Room.info.area test with #SHOW %gmcp.Room.info.area if this does work then you can move to the next line. should help figu ...
  Topic: Comments within settings
chaossdragon

Replies: 3
Views: 210

PostForum: CMUD General Discussion   Posted: Tue Feb 14, 2023 5:41 am   Subject: Comments within settings
I use

// script ignores this line

actual sample...
combo alias

//master combo list
$comboList="opener|blind|basic|DfA|dahleg|slow"

// command check with echo syntax
#IF ( ...
  Topic: Out of my depth, need help with a script.
chaossdragon

Replies: 12
Views: 986

PostForum: CMUD General Discussion   Posted: Mon Dec 19, 2022 2:35 pm   Subject: Out of my depth, need help with a script.
Personally I would set a variable [ Blacklist = Multi_name_1|Multi_name_2|etc|etc ] specifically for the chars you want captured but not sent to the chat window. This will allow your capture trigger ...
  Topic: How to capture a mob short description as a trigger?
chaossdragon

Replies: 3
Views: 644

PostForum: CMUD General Discussion   Posted: Sun Oct 30, 2022 3:54 am   Subject: How to capture a mob short description as a trigger?
#TR {An (%a) switches and hits * hard|very hard!} {grapple %1}
#TR {An (%a) pummels * hard|very hard!} {grapple %1}


assuming MULTI1 is a potential list of targets as well...
  Topic: Change the speedwalk speed?
chaossdragon

Replies: 2
Views: 523

PostForum: CMUD General Discussion   Posted: Thu Oct 06, 2022 12:57 am   Subject: Change the speedwalk speed?
Look into #step #pause #resume I used to run a bot that would start and follow a speedwalk using those commands to nav through rooms, check for mobs, kill if present or move to next room if no mo ...
  Topic: Colors for Status Window
chaossdragon

Replies: 6
Views: 1251

PostForum: CMUD General Discussion   Posted: Wed Aug 31, 2022 1:37 am   Subject: Colors for Status Window
https://i.imgur.com/ectXFkQ.png

here's an example of how it looks for me... main mud window is on left, chat captures are upper right, and lower right is my tracked status variables.

Sorry it's ...
  Topic: Colors for Status Window
chaossdragon

Replies: 6
Views: 1251

PostForum: CMUD General Discussion   Posted: Wed Aug 31, 2022 12:14 am   Subject: Colors for Status Window
close your coloring with %reset()

#VAR shield %ansi(bold,cyan)ON%reset()

usually I just set my color in the status windows code and not embed in the variable, this could lead to issues with rea ...
  Topic: How to prevent duplicate variable creation?
chaossdragon

Replies: 23
Views: 3894

PostForum: CMUD General Discussion   Posted: Tue Jul 26, 2022 12:05 am   Subject: How to prevent duplicate variable creation?
out of curiousity, how long do you leave cmud running at any given time? Do you save and close the program periodically? I have noticed that dupe vars and mis-firing scripts will occur with variably ...
  Topic: temporary variable
chaossdragon

Replies: 3
Views: 1079

PostForum: CMUD General Discussion   Posted: Sat Jul 23, 2022 11:07 pm   Subject: temporary variable
As Tarn said. Use "#LOCAL {tempVar}" then reference it with $tempVar

if you don't define it with #LOCAL it will dump the tempVar once the inital {script} is closed, so any further calls on it wil ...
  Topic: #math issues on flaoting numbers in a variable
chaossdragon

Replies: 3
Views: 1103

PostForum: CMUD General Discussion   Posted: Mon Jul 18, 2022 10:49 am   Subject: #math issues on flaoting numbers in a variable
Shalimar advised me on a floating script a few years back, and had said you pretty much have to always use #.00 for it to function.

in fact you had commented on that exact thread "I suck at math" ...
  Topic: getting my syntax right
chaossdragon

Replies: 5
Views: 1534

PostForum: CMUD General Discussion   Posted: Tue Jul 12, 2022 10:24 pm   Subject: getting my syntax right
for on/off states I tend to use boolean (if that is the correct term) 1/0 so (@autosc = 1) {on} {off}
  Topic: Placing variables to the root
chaossdragon

Replies: 7
Views: 2069

PostForum: CMUD General Discussion   Posted: Sun May 15, 2022 7:54 pm   Subject: Placing variables to the root
Sadly this is an issue with my settings to... I find it does it more frequently when I am enabling/disabling classes that store said variables.

My solution was to migrate to DBVars " charData.Var_ ...
  Topic: Reading value from the line with ()
chaossdragon

Replies: 2
Views: 1195

PostForum: CMUD General Discussion   Posted: Wed Apr 20, 2022 3:25 am   Subject: Reading value from the line with ()
#TR {Gigantic %n Force ~((%n)~) - %n ~[ ~]} {#PRINT %1}

should do the trick.
  Topic: default session test size
chaossdragon

Replies: 4
Views: 1681

PostForum: CMUD General Discussion   Posted: Mon Apr 04, 2022 10:42 am   Subject: default session test size
Just tested mine, default 8 upped to 10 no change, upped to 12 it adjusted no issues, yes 16 is too large... do you have the check box for 'use default' enabled?
  Topic: Converting targeting system from Zmud which works like a Champ to CmuD.
chaossdragon

Replies: 3
Views: 1466

PostForum: CMUD General Discussion   Posted: Sat Apr 02, 2022 9:39 am   Subject: Converting targeting system from Zmud which works like a Champ to CmuD.
Use %null to clear the variable.

@targets2 = %null
@targets = %null
  Topic: help with regular expsression
chaossdragon

Replies: 2
Views: 1422

PostForum: CMUD General Discussion   Posted: Sat Mar 26, 2022 5:05 am   Subject: help with regular expsression
Going to assume you want to toggle certain ones on/off based on some criteria. I ended up just doing a blanket capture...
<trigger priority="1640" regex="true" id="2070&q ...
  Topic: Not moving after death
chaossdragon

Replies: 3
Views: 1482

PostForum: CMUD General Discussion   Posted: Thu Mar 10, 2022 11:15 pm   Subject: Not moving after death
Was going to say this sounds like the Issue I was having with "%pop(Var)" and having to use "#EXEC {%pop(Var)}
  Topic: issue with stringlist and %pop
chaossdragon

Replies: 3
Views: 2138

PostForum: CMUD General Discussion   Posted: Wed Feb 23, 2022 5:38 am   Subject: issue with stringlist and %pop
After digging around and sleeping on this for a few days... I think I solved the issue.

trying to expand or force #exec from the string list with %pop() is still sending the commands to the mud and ...
  Topic: issue with stringlist and %pop
chaossdragon

Replies: 3
Views: 2138

PostForum: CMUD General Discussion   Posted: Mon Feb 21, 2022 6:52 am   Subject: issue with stringlist and %pop
ok I figured I failed to fully explain how my uhm 'bot' functions and I'm far from a programmer/coder so I could and most likely am going about this completely wrong.

So I have a DBVar with a maste ...
  Topic: issue with stringlist and %pop
chaossdragon

Replies: 3
Views: 2138

PostForum: CMUD General Discussion   Posted: Mon Feb 21, 2022 12:02 am   Subject: issue with stringlist and %pop
I know using ".(unlock door;open door)n" works no problem... however this is for a script to loop through an area killing mobs til the end then retracing path back to area entrance (and I Do Not use t ...
  Topic: HUD trigger that may or may not include data initially
chaossdragon

Replies: 4
Views: 1704

PostForum: CMUD General Discussion   Posted: Sat Feb 19, 2022 4:34 am   Subject: HUD trigger that may or may not include data initially
so if I am following your here


There are three obvious exits: n, s, e
There is one obvious exit: w

would be ...
#TR {There {is|are} %w obvious exit{s|}: *} {do something}
  Topic: Help this poor idiot out.
chaossdragon

Replies: 7
Views: 2831

PostForum: CMUD General Discussion   Posted: Mon Feb 14, 2022 5:10 am   Subject: Help this poor idiot out.
This should "work" but someone with a higher paygrade may have a better option...
#TR {^&{room} ~[&{roomdirs}~]$} {}
  Topic: HUD trigger that may or may not include data initially
chaossdragon

Replies: 4
Views: 1704

PostForum: CMUD General Discussion   Posted: Sat Feb 12, 2022 11:06 pm   Subject: HUD trigger that may or may not include data initially
My solution so far... functional but just feels dirty lol.

<trigger name="HUD_1" priority="330" id="33">
<pattern><![CDATA[^HP:%s& ...
  Topic: HUD trigger that may or may not include data initially
chaossdragon

Replies: 4
Views: 1704

PostForum: CMUD General Discussion   Posted: Sat Feb 12, 2022 2:26 am   Subject: HUD trigger that may or may not include data initially
The mud I play allows us to customize our hpbar based on the guild we are in...

out of combat
HP: 1914/952 | SP: 378/336 | E:
C: 100.00% | F: 0.00% | D: 1
| -n- ...
  Topic: Help with trigger and DB
chaossdragon

Replies: 11
Views: 3839

PostForum: CMUD General Discussion   Posted: Sun Jan 09, 2022 4:38 pm   Subject: Help with trigger and DB
looks like it's not writing to the dbvar. I'm not super well versed in that myself... i've tried to learn but it's just out of my pay grade.
hpoonis, shalamar and a few others would more or less in ...
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net