Author |
Message |
Topic: Data record with stringlist values |
shazara
Replies: 1
Views: 3279
|
Forum: zMUD General Discussion Posted: Sun Mar 26, 2006 7:17 pm Subject: Data record with stringlist values |
What I want is a datarecord variable that has a stringlist as each key's %val
For example
#VAR enemiesfound {Titan[]South Karr Street|Lyra[]Byron Edmund Square|Estarr}
So I used the following:
... |
Topic: Removing last character from a string |
shazara
Replies: 3
Views: 4642
|
Forum: zMUD General Discussion Posted: Sun Mar 26, 2006 6:50 am Subject: Solution? |
Well, it does return the last character, but I couldn't see how it helped me delete that character, since it's not unique and the string has a changing length. This is what I ended up doing...let me k ... |
Topic: #T+/- versus #Class 0/1 |
shazara
Replies: 5
Views: 7236
|
Forum: zMUD General Discussion Posted: Sun Mar 26, 2006 6:18 am Subject: #T+/- versus #Class 0/1 |
You can specify what type to look for...use #T+ Aname class or #T+ Aname trigger |
Topic: Removing last character from a string |
shazara
Replies: 3
Views: 4642
|
Forum: zMUD General Discussion Posted: Sun Mar 26, 2006 6:11 am Subject: Removing last character from a string |
If I have "myvar" as a string of variable length, how would I delete the very last character of the string? |
Topic: [7.05] #showdb problems? |
shazara
Replies: 3
Views: 3997
|
Forum: zMUD General Discussion Posted: Sun Mar 26, 2006 12:51 am Subject: Well |
If you don't have "Echo messages" in Preferences/Script Parser/General Parsing checked, #SHOWDB will not work. |
Topic: Exiting ZMud from the command line |
shazara
Replies: 2
Views: 4480
|
Forum: zMUD General Discussion Posted: Wed Apr 27, 2005 4:43 am Subject: Yay! |
Thank you! |
Topic: Exiting ZMud from the command line |
shazara
Replies: 2
Views: 4480
|
Forum: zMUD General Discussion Posted: Tue Apr 26, 2005 2:22 am Subject: Exiting ZMud from the command line |
Is there a way to quit Zmud from the command line? |
Topic: Btncol for Toggle button |
shazara
Replies: 2
Views: 3771
|
Forum: zMUD General Discussion Posted: Wed Apr 13, 2005 11:46 am Subject: Btncol for Toggle button |
Toggle buttons!
Is there a way to change the background and foreground colors of both the ON state and the OFF state in one command? |
Topic: {bleh|blah|gah} patterns |
shazara
Replies: 5
Views: 5624
|
Forum: zMUD General Discussion Posted: Sun Apr 10, 2005 7:48 pm Subject: Hmm.. |
My questions weren't really answered.
I used the { |*$*} pattern to match either word-space, word-space-linebreak, word-linebreak, word-linebreak-space, or word-space-linebreak-space. If that descr ... |
Topic: Avatars, no option? |
shazara
Replies: 1
Views: 7933
|
Forum: Website or Forum problems Posted: Sun Apr 10, 2005 12:26 am Subject: Avatars, no option? |
I don't see an option for avatars on http://forums.zuggsoft.com/phpbb/profile.php?mode=editprofile
Have they been disabled or moved? |
Topic: {bleh|blah|gah} patterns |
shazara
Replies: 5
Views: 5624
|
Forum: zMUD General Discussion Posted: Sun Apr 10, 2005 12:18 am Subject: {bleh|blah|gah} patterns |
I have the following trigger:
You{ |*$*}may{ |*$*}enter{ |*$*}the{ |*$*}wilderness{ |*$*}map{ |*$*}from{ |*$*}here.$
It is written this way to account for: a space, a linebreak, a space-linebrea ... |
Topic: Button images in states |
shazara
Replies: 1
Views: 3150
|
Forum: zMUD General Discussion Posted: Sun Mar 06, 2005 1:10 am Subject: Button images in states |
How do you assign different images to different button states? Example, I want ButtonDown to have image1, and ButtonUp to display image2. |
Topic: Multi-State buttons displaying contents of a variable |
shazara
Replies: 1
Views: 3176
|
Forum: zMUD General Discussion Posted: Sun Mar 06, 2005 12:54 am Subject: Multi-State buttons displaying contents of a variable |
I have a multi-state button, and I would like certain state captions to display the contents of a variable. The Main Caption does this automatically (so if @myvar=7, then the Main Caption state shows ... |
Topic: Commands based on whether a class is on or off. |
shazara
Replies: 1
Views: 2940
|
Forum: zMUD General Discussion Posted: Mon Jun 28, 2004 10:01 pm Subject: Commands based on whether a class is on or off. |
I need a way to use an #IF command that operates on whether or not a class/subclass is enabled or disabled. Such as #IF (classisenabled) {do this} {else do this}. Is this possible, and if so, what exp ... |
Topic: Looping execution of stringlist items |
shazara
Replies: 2
Views: 5179
|
Forum: zMUD General Discussion Posted: Sun Sep 14, 2003 4:37 am Subject: Looping execution of stringlist items |
That works fine. Thank you! |
Topic: Looping execution of stringlist items |
shazara
Replies: 2
Views: 5179
|
Forum: zMUD General Discussion Posted: Sat Sep 13, 2003 1:10 pm Subject: Looping execution of stringlist items |
Part of my script goes through a stringlist to split gold between a hunting group, and it does this via:
#WHILE (%numitems( @group) > 0) {give @result gold to %item( @group, 1);group=%delitem( % ... |
|