Register to post in forums, or Log in to your existing account
 
:
Search found 4554 matches for:
Page 1 of 183 Goto page 1, 2, 3 ... 181, 182, 183  Next
Author Message
  Topic: Old Script Need Help
Vijilante

Replies: 11
Views: 22514

PostForum: zMUD General Discussion   Posted: Fri May 05, 2017 6:06 pm   Subject: Old Script Need Help
Parenthesis should be used for the condition part of an #IF. There are 2 lines to correct; one is in the pk alias the other is in a trigger:
#if (%1=in) {@action @target} {
#IF (@celdarianissexy) {
  Topic: Cant Save Font, Font Color, Macros, Etc. How do I fix?
Vijilante

Replies: 1
Views: 7630

PostForum: zMUD General Discussion   Posted: Thu Apr 06, 2017 4:00 am   Subject: Cant Save Font, Font Color, Macros, Etc. How do I fix?
Check where it is trying to save to. Newer versions of Windows restrict certain locations to administrator only. You may have to grant yourself access to write files in that location.
  Topic: Functions for accessing/manipulating nested variables?
Vijilante

Replies: 1
Views: 6012

PostForum: CMUD General Discussion   Posted: Thu Mar 02, 2017 12:02 am   Subject: Functions for accessing/manipulating nested variables?
Sure you can, and like most things in zScript you can do it many ways.$temp="key=valueA|key2=valueB|key3=valueC"
#ADDKEY $temp {key4} {valueD}
#ADDKEY SomeVar {key ...
  Topic: Saving literal evaluations of functions at menu creation?
Vijilante

Replies: 4
Views: 11031

PostForum: CMUD General Discussion   Posted: Mon Feb 27, 2017 11:08 pm   Subject: Saving literal evaluations of functions at menu creation?
The Planets variable is a permanent list variable. You set its sorting order directly in its settings and that will eliminate the need to play with the sort whenever you execute the alias to rebuild t ...
  Topic: Saving literal evaluations of functions at menu creation?
Vijilante

Replies: 4
Views: 11031

PostForum: CMUD General Discussion   Posted: Mon Feb 27, 2017 4:06 pm   Subject: Saving literal evaluations of functions at menu creation?
I created some test data and things to make sure I got it right. In writing it I reordered some lines based on the probability that the Destination variable might need to be set for aliases called by ...
  Topic: [3.34][Discworld] Adding a string identifier to a room to help with identifying?
Vijilante

Replies: 4
Views: 9914

PostForum: CMUD General Discussion   Posted: Mon Feb 27, 2017 3:15 pm   Subject: [3.34][Discworld] Adding a string identifier to a room to help with identifying?
You might want to use the [[%roomnote]] field instead, because the ID field is for a short name that can be interacted with by commands like [[#WALK]].
  Topic: Recognize / differentiate CMUD pro or basic
Vijilante

Replies: 2
Views: 7500

PostForum: CMUD General Discussion   Posted: Sat Feb 25, 2017 12:50 pm   Subject: Recognize / differentiate CMUD pro or basic
I don't know of any specific way. I think there are no features that are scripting exclusive and different between the 2 versions. I think the Pro version may include support for the zMapper plugin ca ...
  Topic: Triggers not working correctly.
Vijilante

Replies: 2
Views: 7865

PostForum: CMUD General Discussion   Posted: Sat Feb 18, 2017 12:12 am   Subject: Triggers not working correctly.
Also you should use a command of #SEND {%1} rather than just %1.
  Topic: Looking for a specific Room Name
Vijilante

Replies: 15
Views: 23482

PostForum: CMUD General Discussion   Posted: Thu Feb 16, 2017 6:31 pm   Subject: Looking for a specific Room Name
SQL likes to have its quotes too.
$str = %concat("[Name] = '", %replace($room, "'", "''"), "'")
  Topic: Menu-type Button?
Vijilante

Replies: 12
Views: 24254

PostForum: CMUD General Discussion   Posted: Thu Feb 16, 2017 6:29 pm   Subject: Menu-type Button?
You can make it a little simpler by putting the repeated expressions into functions. Using that method you can simplify the caption ones by using #RETURN "" to make the blank caption instead of the me ...
  Topic: Menu-type Button?
Vijilante

Replies: 12
Views: 24254

PostForum: CMUD General Discussion   Posted: Wed Feb 15, 2017 8:48 am   Subject: Menu-type Button?
Since the technique for doing this really complex I decided to mock up an example for you.<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<class name="B ...
  Topic: Menu-type Button?
Vijilante

Replies: 12
Views: 24254

PostForum: CMUD General Discussion   Posted: Wed Feb 15, 2017 2:05 am   Subject: Menu-type Button?
You can make it do pages by having other buttons increment a page number variable. A single bar on one side with 10-15 gauges and page control buttons should not be hard. With a little bit of work you ...
  Topic: Menu-type Button?
Vijilante

Replies: 12
Views: 24254

PostForum: CMUD General Discussion   Posted: Sat Feb 11, 2017 10:19 pm   Subject: Menu-type Button?
If you are looking to make dynamic buttons I always recommend making multiple nearly identical buttons. The buttons should each have a unique number that corresponds to their position/order, and that ...
  Topic: math in a variable and test value with an IF
Vijilante

Replies: 2
Views: 8745

PostForum: zMUD General Discussion   Posted: Fri Feb 10, 2017 4:49 am   Subject: math in a variable and test value with an IF
This gives you the short command 'fbp' to do all of it.

#ALIAS fpb {#SEND {fill pot bucket};#ADD bucket 1;#IF (@bucket=8) {bucket=1;#SEND {put bucket bag}}}
  Topic: Menu-type Button?
Vijilante

Replies: 12
Views: 24254

PostForum: CMUD General Discussion   Posted: Thu Feb 09, 2017 1:34 pm   Subject: Menu-type Button?
It is in in the help, but a little buried. The Introduction to Buttons mentions how to do it. Anyhow, here is an example.<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmu ...
  Topic: Window texts squashed
Vijilante

Replies: 1
Views: 6150

PostForum: CMUD General Discussion   Posted: Sat Feb 04, 2017 4:30 am   Subject: Window texts squashed
The only things I can recall as causing such problems were the DPI setting and some window docking/decoration managers. The DPI setting got a little buried and renamed in newer version of Windows; it ...
  Topic: cMud licence key
Vijilante

Replies: 1
Views: 5941

PostForum: CMUD General Discussion   Posted: Wed Feb 01, 2017 8:33 pm   Subject: cMud licence key
You should be able to go to your store account and request a key to apply in the program. If you can't access your store account or it does not show the purchase there, then you can mailto://support@z ...
  Topic: zMUD script rewrite
Vijilante

Replies: 8
Views: 25723

PostForum: zMUD General Discussion   Posted: Sun Jan 29, 2017 10:39 am   Subject: zMUD script rewrite
What works is what counts. I have never had a problem using a blank pattern with a loop lines trigger. If you look at the trigger state in the settings editor is its type set to loop lines?

I coul ...
  Topic: zMUD script rewrite
Vijilante

Replies: 8
Views: 25723

PostForum: zMUD General Discussion   Posted: Fri Jan 27, 2017 11:55 am   Subject: zMUD script rewrite
Use the blank pattern with looplines. Use a pattern of * with looppat.

%mapquery returns a list, so just as in your first %mapquery if multiple rooms match they will all be in the list. My assumpti ...
  Topic: zMUD script rewrite
Vijilante

Replies: 8
Views: 25723

PostForum: zMUD General Discussion   Posted: Mon Jan 23, 2017 10:43 pm   Subject: zMUD script rewrite
#ALIAS findMatchDesc {
#VAR findRoomByDesc {}
#FORALL @findRoomByName {#IF (%subchar(%subchar(%roomdesc(%i),%crlf,"")," |"," ...
  Topic: #EXEC on function sending an extra carriage return
Vijilante

Replies: 3
Views: 8955

PostForum: CMUD General Discussion   Posted: Sat Jan 21, 2017 6:01 pm   Subject: #EXEC on function sending an extra carriage return
The blank line might be caused by how you are calling the function. An alias would likely be a better solution for what you are doing, but that does not make using a function wrong. If you have the fu ...
  Topic: Path question
Vijilante

Replies: 1
Views: 7493

PostForum: zMUD General Discussion   Posted: Thu Jan 19, 2017 5:52 pm   Subject: Path question
If you are using the mapper then you enter those as an 'other command' type of exit. For just using the paths I think the format is:
.4n3h;."go bridge";.5e

I always preferred to write my own walk ...
  Topic: toolbar font size
Vijilante

Replies: 1
Views: 7694

PostForum: zMUD General Discussion   Posted: Mon Jan 16, 2017 6:00 pm   Subject: toolbar font size
The only way is to change the DPI setting for your graphics display. That will affect all Windows and is probably not what you want.
  Topic: Help with alias/variable
Vijilante

Replies: 2
Views: 9341

PostForum: zMUD General Discussion   Posted: Mon Jan 16, 2017 5:58 pm   Subject: Help with alias/variable
Copy and paste into the command line and then modify it in the settings editor as needed. #CLASS Backpack
#VAR GetItem {} {}
#ALIAS gb {#IF (%1<>"") ...
  Topic: Using MUD/Class specific settings, AND character-specific settings?
Vijilante

Replies: 3
Views: 8910

PostForum: CMUD General Discussion   Posted: Sat Jan 14, 2017 1:52 am   Subject: Using MUD/Class specific settings, AND character-specific settings?
I am not sure where you are getting the "fatal error" so I can't offer too much help with that problem.

CMud has a very robust system for setting independence -/- interdependence. You can place you ...
 
Page 1 of 183 Goto page 1, 2, 3 ... 181, 182, 183  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net