Author |
Message |
Topic: Opening and closing #WINDOWs with aliases/command line input |
JWhitney
Replies: 3
Views: 6141
|
Forum: CMUD General Discussion Posted: Mon Apr 29, 2013 9:35 pm Subject: Opening and closing #WINDOWs with aliases/command line input |
Ha, of course it would be something so simple!
Thank you Daern! |
Topic: Opening and closing #WINDOWs with aliases/command line input |
JWhitney
Replies: 3
Views: 6141
|
Forum: CMUD General Discussion Posted: Mon Apr 29, 2013 8:56 pm Subject: Opening and closing #WINDOWs with aliases/command line input |
I have a separate HUD window that contains gauges and other info. I'd like to be able to open and close via aliases, instead of having to open and close it manually. #T+/#T- enable and disable the ite ... |
Topic: Menu Buttons |
JWhitney
Replies: 1
Views: 3861
|
Forum: CMUD General Discussion Posted: Mon Aug 06, 2012 6:07 am Subject: Menu Buttons |
Hiya -
I am trying to make a button that will list menu items (a menu button), but the help files for it are apparently out of date.
I have a handful of regular menu items that I use by right-cl ... |
Topic: Capitalizing All Words In A String (%proper?) |
JWhitney
Replies: 6
Views: 9279
|
Forum: CMUD General Discussion Posted: Tue Jul 17, 2012 1:19 am Subject: Capitalizing All Words In A String (%proper?) |
Found a way around it, like this:
#LOCAL $titleproper
$titleproper = %1
#FORALL %word($titleproper) {#IF (%i != %proper(%i)) {$titleproper = %replace($ti ... |
Topic: Capitalizing All Words In A String (%proper?) |
JWhitney
Replies: 6
Views: 9279
|
Forum: CMUD General Discussion Posted: Tue Jul 17, 2012 1:13 am Subject: Capitalizing All Words In A String (%proper?) |
Hmm I'm trying to put this in a function, so I adjusted the @var calls to %1's like this:
#LOCAL $titleproper
#FORALL %word(%1) {#IF (%i != %proper(%i)) {$title ... |
Topic: Capitalizing All Words In A String (%proper?) |
JWhitney
Replies: 6
Views: 9279
|
Forum: CMUD General Discussion Posted: Mon Jul 16, 2012 8:16 pm Subject: Capitalizing All Words In A String (%proper?) |
I'm trying to create a function that will capitalize all words (separated by spaces), similar to the %proper function except I want it to capitalize EACH word, not just the first.
Input:
word1 wor ... |
Topic: Sorting A Database Record Variable by Value |
JWhitney
Replies: 13
Views: 22288
|
Forum: CMUD General Discussion Posted: Sat Jun 02, 2012 9:45 am Subject: Sorting A Database Record Variable by Value |
Worked perfectly. Thank you very much for taking so much of your time to help me out here, it is immensely appreciated. |
Topic: Sorting A Database Record Variable by Value |
JWhitney
Replies: 13
Views: 22288
|
Forum: CMUD General Discussion Posted: Sat Jun 02, 2012 1:14 am Subject: Sorting A Database Record Variable by Value |
This works exactly as you described! I came across a problem of my own creation though - I plan to use this sorting alias in multiple different places, and for one of them I can't really modify the 'p ... |
Topic: Sorting A Database Record Variable by Value |
JWhitney
Replies: 13
Views: 22288
|
Forum: CMUD General Discussion Posted: Fri Jun 01, 2012 10:15 pm Subject: Sorting A Database Record Variable by Value |
That piece sorts the record correctly and displays it exactly how I was hoping, thank you again. It still locks up CMUD if any of the values are "4." for example, but let me explain what I'm doing and ... |
Topic: Sorting A Database Record Variable by Value |
JWhitney
Replies: 13
Views: 22288
|
Forum: CMUD General Discussion Posted: Fri Jun 01, 2012 8:55 pm Subject: Sorting A Database Record Variable by Value |
Daern - I don't need to store the keys/values in any form of sorted order, because for my purposes, every time I need to display the information, I can just use the sorting function/alias. The piece y ... |
Topic: Sorting A Database Record Variable by Value |
JWhitney
Replies: 13
Views: 22288
|
Forum: CMUD General Discussion Posted: Fri Jun 01, 2012 2:55 am Subject: Sorting A Database Record Variable by Value |
Oh sorry Mr. Lofton, I had only seen Rahab's reply before my post. I had never heard of the Package Library before, so I checked the forums and just found the poll and instructions regarding it.. No d ... |
Topic: Sorting A Database Record Variable by Value |
JWhitney
Replies: 13
Views: 22288
|
Forum: CMUD General Discussion Posted: Fri Jun 01, 2012 2:48 am Subject: Sorting A Database Record Variable by Value |
Two different threads seemed to have done it successfully on the forum, in zMUD. Is this just no longer possible in CMUD..?
Threads:
http://forums.zuggsoft.com/forums/viewtopic.php?t=19800
and
... |
Topic: Sorting A Database Record Variable by Value |
JWhitney
Replies: 13
Views: 22288
|
Forum: CMUD General Discussion Posted: Fri Jun 01, 2012 12:20 am Subject: Sorting A Database Record Variable by Value |
Hello -
I am trying to do as the title suggests. There were a couple of old posts (zMUD era) that regarded this topic, but unfortunately they don't seem to work in CMUD 3.34.
I have a variable ... |
Topic: Using %match without returning a number |
JWhitney
Replies: 3
Views: 6236
|
Forum: CMUD General Discussion Posted: Thu Apr 26, 2012 8:49 pm Subject: Using %match without returning a number |
Thanks Rahab! |
Topic: Using %match without returning a number |
JWhitney
Replies: 3
Views: 6236
|
Forum: CMUD General Discussion Posted: Thu Apr 26, 2012 7:20 pm Subject: Using %match without returning a number |
Hiya -
I have a large text file that contains a list of mobs for my MUD, along with basic information about them like their exp value, drops, area, and so on. I have aliases to search for and retur ... |
Topic: Making A Floating Button |
JWhitney
Replies: 3
Views: 5336
|
Forum: CMUD General Discussion Posted: Sun Nov 27, 2011 1:34 am Subject: Making A Floating Button |
In the patch notes for CMUD 3.31, Zugg announced that buttons could now be detached and placed wherever you wish. Here's the excerpt:
New Floating Buttons were added. Simply set the Toolbar propert ... |
Topic: Coloring #SAY Messages |
JWhitney
Replies: 5
Views: 8359
|
Forum: CMUD General Discussion Posted: Fri Nov 25, 2011 5:10 am Subject: Coloring #SAY Messages |
With a minor adjustment, the function option works perfectly - you sir, are a genius. Thank you for assisting me! |
Topic: Coloring #SAY Messages |
JWhitney
Replies: 5
Views: 8359
|
Forum: CMUD General Discussion Posted: Fri Nov 25, 2011 1:47 am Subject: Coloring #SAY Messages |
Wow, thank you for the quick reply! Unfortunately, MXP would actually create a new problem for me - I simplified the example I posted above to make my purpose clearer, but in so doing I neglected to p ... |
Topic: Coloring #SAY Messages |
JWhitney
Replies: 5
Views: 8359
|
Forum: CMUD General Discussion Posted: Fri Nov 25, 2011 12:20 am Subject: Coloring #SAY Messages |
Is there a way to color #SAY and other system (or trigger) created messages with the non-ANSI default 16 colors? I've been using %ansi(0-15) to color them forever, but just found the huge list of colo ... |
Topic: Figuring Out Future Time |
JWhitney
Replies: 2
Views: 6183
|
Forum: CMUD General Discussion Posted: Mon Oct 24, 2011 6:35 am Subject: Figuring Out Future Time |
That works great, thank you! |
Topic: Figuring Out Future Time |
JWhitney
Replies: 2
Views: 6183
|
Forum: CMUD General Discussion Posted: Sun Oct 23, 2011 12:31 pm Subject: Figuring Out Future Time |
I am struggling to come up with a way to figure out what date/time it will be after a varying amount of time.
Example output from MUD:
Armageddon will arrive in 1d 12h 8m 58s
I would like to ... |
Topic: Any way to use a temporary variable to point to another var's value? |
JWhitney
Replies: 2
Views: 6065
|
Forum: CMUD General Discussion Posted: Sun Aug 28, 2011 1:18 am Subject: Any way to use a temporary variable to point to another var's value? |
Hello -
I'm not sure if this is really possible, but if it is, it would make my project much simpler.
What I am looking to do is have a temporary variable that contains the name of a regular var ... |
Topic: Matching text in a string |
JWhitney
Replies: 4
Views: 8031
|
Forum: CMUD General Discussion Posted: Fri Aug 26, 2011 12:27 am Subject: Matching text in a string |
I found a roundabout way to doing this, here's what I did:
#IF (%pos("Sun",%2) > 0) {do commands}
If there's a better way, great, but is functional. Thanks for reading anyway! |
Topic: Matching text in a string |
JWhitney
Replies: 4
Views: 8031
|
Forum: CMUD General Discussion Posted: Thu Aug 25, 2011 11:53 pm Subject: Matching text in a string |
Hello,
This is probably a simpler issue than I am making it, but I can't seem to find the answer. I am looking for a way to search a wildcard string for a specific word, and #IF it contains that, e ... |
Topic: Closed Session Window and can't get it back |
JWhitney
Replies: 2
Views: 4559
|
Forum: CMUD General Discussion Posted: Mon Jul 11, 2011 4:59 pm Subject: Closed Session Window and can't get it back |
That did it, thank you very much. |
|