Register to post in forums, or Log in to your existing account
 
:
Search found 4463 matches for:
Page 1 of 179 Goto page 1, 2, 3 ... 177, 178, 179  Next
Author Message
  Topic: Making a spontaneous action list, specifically grouped/spammed commands
shalimar

Replies: 3
Views: 43

PostForum: CMUD General Discussion   Posted: Fri Jun 24, 2022 2:42 pm   Subject: Making a spontaneous action list, specifically grouped/spammed commands
You would want to insert a path command
.3nj
in this example.

but then you would need to
#EXEC %pop(varname)
To ensure it gets evaluated.

the same holds true if you want to insert an alia ...
  Topic: Does cmud still work under windows 11 ?
shalimar

Replies: 2
Views: 72

PostForum: CMUD General Discussion   Posted: Tue Jun 21, 2022 9:26 pm   Subject: Does cmud still work under windows 11 ?
I have yet to upgrade from 10 myself. One person reported issues, but I'm not sure how bad it was.
  Topic: Trying to use IF statement to complete a recall
shalimar

Replies: 2
Views: 60

PostForum: CMUD General Discussion   Posted: Mon Jun 20, 2022 12:32 am   Subject: Trying to use IF statement to complete a recall
The issue before was the lack of a space between the ) and the {
  Topic: Dynamic button and gauge locations
shalimar

Replies: 8
Views: 236

PostForum: CMUD General Discussion   Posted: Sun Jun 12, 2022 7:11 pm   Subject: Dynamic button and gauge locations
One of the major issues I recall in creating buttons by command rather than through the GUI is that variables tend to be evaluated in the button's creation rather than keep their status as a pointer. ...
  Topic: Dynamic button and gauge locations
shalimar

Replies: 8
Views: 236

PostForum: CMUD General Discussion   Posted: Sun Jun 12, 2022 6:47 pm   Subject: Dynamic button and gauge locations
The whole point of autoposition is to avoid stacking buttons, which you can force with manual data.
You turn it off long enough to set the toolbar and justification, then turn it back on.
It -should ...
  Topic: Dynamic button and gauge locations
shalimar

Replies: 8
Views: 236

PostForum: CMUD General Discussion   Posted: Sun Jun 12, 2022 5:19 pm   Subject: Dynamic button and gauge locations
If you leave autoposition checked, they should compress to fill less space in the given window/panel you have them displayed on.

As for if gauges accept the extra parameters... uncertain, I always ...
  Topic: CMUD triggering with special characters
shalimar

Replies: 8
Views: 269

PostForum: CMUD General Discussion   Posted: Sun Jun 12, 2022 6:05 am   Subject: CMUD triggering with special characters
You seem to keep leaving a space between various functions and their opening parentheses.
This causes them to 'lose' the parameters you are trying to pass them.

Try:

#var unreadnotes %additem ...
  Topic: Dynamic button and gauge locations
shalimar

Replies: 8
Views: 236

PostForum: CMUD General Discussion   Posted: Sun Jun 12, 2022 1:34 am   Subject: Dynamic button and gauge locations
It -can- be done on the fly, if you know what you are doing (#HELP #BUTTON), but there are so many potential parameters for buttons that most people are encouraged to use the GUI instead.

#BUTTON i ...
  Topic: CMUD triggering with special characters
shalimar

Replies: 8
Views: 269

PostForum: CMUD General Discussion   Posted: Sun Jun 12, 2022 1:23 am   Subject: CMUD triggering with special characters
Correct, ~ escapes (makes the parser ignore any special uses for) the character immediately following it. That is all.

In '#HELP #TRIGGER' there is a link to 'pattern matching symbols'.
I prefer ...
  Topic: CMUD triggering with special characters
shalimar

Replies: 8
Views: 269

PostForum: CMUD General Discussion   Posted: Sat Jun 11, 2022 9:13 pm   Subject: CMUD triggering with special characters
#TR {~*(%d) ~[} {#var unreadnotes %additem(%1,@unreadnotes)}
  Topic: Creating a fictional alien language
shalimar

Replies: 8
Views: 281

PostForum: CMUD General Discussion   Posted: Sat Jun 11, 2022 4:54 am   Subject: Creating a fictional alien language
#FUNCTION translate($lang, $message, $debug) {
$key=%db(@tongues, $lang)
#IF ($key=%null) {
#PRINT Error: $lang is an unknown language!
#EXIT
...
  Topic: Creating a fictional alien language
shalimar

Replies: 8
Views: 281

PostForum: CMUD General Discussion   Posted: Sat Jun 11, 2022 4:03 am   Subject: Creating a fictional alien language
Could make it a lot less ugly by using using a dbVar instead of a switch as well.

#IF (%ismember($char, %dbkeys(@dbVar))) {$newchar=%db(@dbVar, $char)} {$newchar=$char}

But that requires the tra ...
  Topic: Reset Variables after midnight, game time zone?
shalimar

Replies: 4
Views: 191

PostForum: CMUD General Discussion   Posted: Fri Jun 10, 2022 11:03 pm   Subject: Reset Variables after midnight, game time zone?
The Client needs to be open, but if you close the client, it will auto-reset when you reopen anyway, so a moot point.

Take a look at '#HELP %time' to see how you can spit out a value.
I was never ...
  Topic: Reset Variables after midnight, game time zone?
shalimar

Replies: 4
Views: 191

PostForum: CMUD General Discussion   Posted: Fri Jun 10, 2022 10:26 pm   Subject: Reset Variables after midnight, game time zone?
Best option for that is setting the default variable for those variables.

It already resets the values whenever the session is loaded.

And you can also reset them with the #RESET command.

Odd ...
  Topic: Creating a fictional alien language
shalimar

Replies: 8
Views: 281

PostForum: CMUD General Discussion   Posted: Fri Jun 10, 2022 4:55 pm   Subject: Creating a fictional alien language
Make yourself a list of the 2 char combinations you wanna check for.

#LOCAL $translation
$decode=%params
#WHILE ($decode) {
#LOCAL $newchar

//Checking two characters at a t ...
  Topic: Creating a fictional alien language
shalimar

Replies: 8
Views: 281

PostForum: CMUD General Discussion   Posted: Fri Jun 10, 2022 4:16 pm   Subject: Creating a fictional alien language
Ahhh i see the issue, instead of %leftback use %right.
You could edit my loop to check on two characters at a time, but you would have to ensure it makes a match before redefining what is left to $de ...
  Topic: Creating a fictional alien language
shalimar

Replies: 8
Views: 281

PostForum: CMUD General Discussion   Posted: Thu Jun 09, 2022 7:30 pm   Subject: Creating a fictional alien language
I would probably loop through each character of the string and use a #SWITCH, just to ensure you don't end up swapping one char into another char that will get swapped out later.

#LOCAL $translatio ...
  Topic: Registration Code
shalimar

Replies: 1
Views: 123

PostForum: CMUD General Discussion   Posted: Thu Jun 09, 2022 3:32 am   Subject: Registration Code
I have never had an issue with this.

Make sure you are actually installing the program and not just copying it from an old hard drive.
You also need to request a new key each time. Old keys expire ...
  Topic: getting my syntax right
shalimar

Replies: 2
Views: 133

PostForum: CMUD General Discussion   Posted: Wed Jun 08, 2022 7:27 pm   Subject: getting my syntax right
Your issue seems to be one of spacing. Or rather, its lack.
Try:

#if (@autosc = "on") {#var autosc {off}} {#var autosc {on}}
  Topic: Targetting System
shalimar

Replies: 27
Views: 5698

PostForum: CMUD General Discussion   Posted: Tue Jun 07, 2022 7:58 pm   Subject: Targetting System
Autotargetting systems mean you don't have to type at all, but can go straight to using macros.

Sure, passing a parameter to an alias doesn't take long.
But over the course of weeks, you will spen ...
  Topic: Targetting System
shalimar

Replies: 27
Views: 5698

PostForum: CMUD General Discussion   Posted: Tue Jun 07, 2022 4:37 pm   Subject: Targetting System
Well, you probably don't want all of these variants simultaneously, or you will likely end up confusing the client or yourself.
I changed the code when you clarified what you wanted the settings do t ...
  Topic: Targetting System
shalimar

Replies: 27
Views: 5698

PostForum: CMUD General Discussion   Posted: Tue Jun 07, 2022 2:57 pm   Subject: Targetting System
If its a mob you want to kill, technically, that would be a whitelist.

Blacklists are usually things you ignore.

#TR {({@whitelist}) stands here.} {attack %1}
  Topic: Creating an auto heal/message when group below certain health
shalimar

Replies: 3
Views: 147

PostForum: CMUD General Discussion   Posted: Sat Jun 04, 2022 11:13 pm   Subject: Creating an auto heal/message when group below certain health
Hmmm... Well, we need a line that signifies that you have received all the group information there is to be had, that should be what fires the loop.

#TR {some line} {#FORALL @groupli ...
  Topic: Creating an auto heal/message when group below certain health
shalimar

Replies: 3
Views: 147

PostForum: CMUD General Discussion   Posted: Sat Jun 04, 2022 6:07 pm   Subject: Creating an auto heal/message when group below certain health
Something like this will input the group command every 10 seconds:

#ALARM "groupChecker" -10 {group}

then you can toggle it on and off with

#T+ groupChecker
#T- groupChecker
  Topic: Alarm firing too often
shalimar

Replies: 5
Views: 280

PostForum: CMUD General Discussion   Posted: Fri Jun 03, 2022 3:50 pm   Subject: Alarm firing too often
Yes, you can run each character in a separate instance of CMUD.
 
Page 1 of 179 Goto page 1, 2, 3 ... 177, 178, 179  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net