Author |
Message |
Topic: File write location |
Vodoc
Replies: 6
Views: 8847
|
Forum: CMUD Beta Forum Posted: Wed Aug 30, 2006 5:41 am Subject: File write location |
That's interesting because I don't think there are any such restrictions with the #LOG command. Granted the #LOG command is a little more limited with what you can write, can't exactly write a binary ... |
Topic: A newbie trying to understand how to extract text |
Vodoc
Replies: 5
Views: 8905
|
Forum: CMUD Beta Forum Posted: Tue Aug 29, 2006 7:02 pm Subject: A newbie trying to understand how to extract text |
Start with using zMUD. CMUD is still a beta software in heavy development. Secondly, what you are describing are called "triggers" and you should read the help files regarding that. Then come to the z ... |
Topic: package library question |
Vodoc
Replies: 6
Views: 11354
|
Forum: CMUD Beta Forum Posted: Sat Aug 26, 2006 7:55 am Subject: package library question |
I talked with Zugg about this earlier and you should get something once the public package system has been properly tested. That is when we have a protocol that works and is stable.
This was a whil ... |
Topic: The buffer |
Vodoc
Replies: 13
Views: 16382
|
Forum: CMUD Beta Forum Posted: Thu Aug 24, 2006 5:25 am Subject: The buffer |
You can use the "scroll lock" key as well as Ctrl+Z |
Topic: Themes Ponderings |
Vodoc
Replies: 1
Views: 5544
|
Forum: CMUD Beta Forum Posted: Sun Aug 20, 2006 1:20 pm Subject: Themes Ponderings |
Search is a wonderful tool...
CMUD is being written using the themed-components that were created as part of the zApp project. This means that CMUD will support skins/themes.
CMUD will support t ... |
Topic: Decimal To Binary Convertor |
Vodoc
Replies: 13
Views: 24500
|
Forum: Finished MUD Scripts Posted: Tue Jul 25, 2006 5:38 pm Subject: Decimal To Binary Convertor |
Bah to late but here is my solution using two functions (also works from base 2 to 36):
#FUNC dec2any {%if( "%1"!="0", %concat( @dec2any(%eval(%1/%2),%2 ... |
Topic: CMud/Windows Vista |
Vodoc
Replies: 13
Views: 18292
|
Forum: CMUD Beta Forum Posted: Mon Jul 24, 2006 4:26 pm Subject: CMud/Windows Vista |
One thought... Since the security model in Vista has changed and Microsoft is actually trying to encourage users to run under a limited account. You might want to reconsider putting all files in the C ... |
Topic: Creating One-way exits through scripting |
Vodoc
Replies: 3
Views: 7168
|
Forum: zMUD General Discussion Posted: Wed Jul 19, 2006 6:24 am Subject: Creating One-way exits through scripting |
It's part of zMapper, or rather it's part of the scripting options that you get when having zMapper as a plugin in zMUD. |
Topic: Creating One-way exits through scripting |
Vodoc
Replies: 3
Views: 7168
|
Forum: zMUD General Discussion Posted: Tue Jul 18, 2006 5:45 pm Subject: Creating One-way exits through scripting |
The only way I know of is via zMapper and the zMUDLink object. |
Topic: New Zuggsoft support pages online |
Vodoc
Replies: 4
Views: 12383
|
Forum: Website or Forum problems Posted: Sat Jul 08, 2006 7:34 am Subject: New Zuggsoft support pages online |
The "Submit a Request for Assistance" seems like a good idea. For the future though maybe you should tie it to the forum accounts (so that the name and email is taken care of automatically if availabl ... |
Topic: CMUD Status Blog |
Vodoc
Replies: 173
Views: 292788
|
Forum: Zugg's Blog Posted: Sat Jun 10, 2006 6:28 am Subject: CMUD Status Blog |
Well, it was a *long* If all goes well, I'll release it around 11am Monday morning (Mountain time, which means 10am Pacific, 1pm Eastern US).
This will be a very interesting week for sure but what ti ... |
Topic: Newbie with a complex problem (maybe) |
Vodoc
Replies: 7
Views: 13192
|
Forum: zMUD General Discussion Posted: Wed May 03, 2006 7:50 pm Subject: Newbie with a complex problem (maybe) |
Ok, last question then: Whenever I do something with an account,- in this case change it to 0,- is there any way I can put that in a separate external textfile? Like a log of some sorts?
Sure there i ... |
Topic: Newbie with a complex problem (maybe) |
Vodoc
Replies: 7
Views: 13192
|
Forum: zMUD General Discussion Posted: Wed May 03, 2006 10:24 am Subject: Newbie with a complex problem (maybe) |
Just using the first trigger/cond combo doesn't do much since all it does is to reset the variable capturing citizens and then activating the trigger that capture new citizens (trigger nr 2).
So you ... |
Topic: Prompt |
Vodoc
Replies: 1
Views: 4740
|
Forum: zMUD General Discussion Posted: Wed May 03, 2006 8:18 am Subject: Prompt |
Your pattern has regex syntax, use this:
#REGEX {H:(\d+) M:(\d+) <([a-z- -]+)>} {#echo hrm} |
Topic: finding room color via map |
Vodoc
Replies: 7
Views: 12315
|
Forum: zMUD General Discussion Posted: Mon May 01, 2006 6:18 pm Subject: finding room color via map |
Now, the question is, how to get the zone names listed in there?
Fantasizing (13863) - Fantasy Fields
By using the functions %zonename and %roomzone. For example change the loop in the above script ... |
Topic: finding room color via map |
Vodoc
Replies: 7
Views: 12315
|
Forum: zMUD General Discussion Posted: Sun Apr 30, 2006 2:32 pm Subject: finding room color via map |
Hmm, very easy actually. The first alias (search_color) works right out of the bat since it doesn't use they %map function.
#ALIAS room_current {#ECHO Color in %roomname( ) ~(%room ... |
Topic: coding in zmapper |
Vodoc
Replies: 1
Views: 12829
|
Forum: zMapper Discussion Posted: Sat Apr 29, 2006 1:25 pm Subject: coding in zmapper |
#ECHO %roomname( %map.SelectRoomID) ~(%map.SelectRoomID~) have %map.CurRoom.NumLinks links
This will display the name, id and number of links in the current room.
For help on the com ... |
Topic: Newbie with a complex problem (maybe) |
Vodoc
Replies: 7
Views: 13192
|
Forum: zMUD General Discussion Posted: Fri Apr 28, 2006 6:06 pm Subject: Newbie with a complex problem (maybe) |
#TRIGGER {^Citizens of the City of Mercinae.$} {#var citizens "";#t+ capture_citizens}
#COND {^The City of Mercinae has %d citizens.$} {#t- capture_citize ... |
Topic: Help With A Script |
Vodoc
Replies: 8
Views: 14005
|
Forum: zMUD General Discussion Posted: Wed Apr 26, 2006 11:16 am Subject: Help With A Script |
Using blank settings and issuing the following commands works without a hitch
#VAR mob_types %array("dog","cat","bird")
#ALIAS kk {kill %1}
kk %arrg ... |
Topic: Help With A Script |
Vodoc
Replies: 8
Views: 14005
|
Forum: zMUD General Discussion Posted: Wed Apr 26, 2006 10:37 am Subject: Help With A Script |
Is the identifier passed on to the kk alias always one word consisting only of a-z chars? If it contains spaces, commas or other chars then must you surround the identifier with appropriate delimiters ... |
Topic: %replace, I tried to figure out, but failed |
Vodoc
Replies: 9
Views: 19860
|
Forum: zMUD General Discussion Posted: Mon Apr 24, 2006 7:30 am Subject: %replace, I tried to figure out, but failed |
Nah, but it substitutes the entire pattern which is not always what you want to do and thus we also have PSUB. |
Topic: finding room color via map |
Vodoc
Replies: 7
Views: 12315
|
Forum: zMUD General Discussion Posted: Sun Apr 23, 2006 8:29 pm Subject: finding room color via map |
#alias search_color {
#VARIABLE map_rooms {%mapquery( %concat( "[Color] = ", %1, " AND ZoneID = ", %zonenum))}
#ECHO {Searched for c ... |
Topic: %replace, I tried to figure out, but failed |
Vodoc
Replies: 9
Views: 19860
|
Forum: zMUD General Discussion Posted: Sun Apr 23, 2006 7:28 am Subject: %replace, I tried to figure out, but failed |
You can do it simpler than that:
#TRIGGER {naughty word} {#SUB ""} |
Topic: %replace, I tried to figure out, but failed |
Vodoc
Replies: 9
Views: 19860
|
Forum: zMUD General Discussion Posted: Sat Apr 22, 2006 9:53 pm Subject: %replace, I tried to figure out, but failed |
What exactly are you trying to do? zMUD can filter stuff just fine, I just don't understand what you are up to... It does sound like you are looking for a substitution trigger or am I completely off b ... |
Topic: More discussion of %1 and %%1 |
Vodoc
Replies: 42
Views: 66425
|
Forum: CMUD Beta Forum Posted: Sat Apr 22, 2006 8:40 am Subject: More discussion of %1 and %%1 |
Does it handle defaults, for example can I do this?
#FUNCTION add($a,$b=34) ($a+$b)
thus only having to provide $a when calling the function unless I want to provide both $a and $b |
|