Author |
Message |
Topic: Sorting DB variables |
solem
Replies: 20
Views: 15482
|
Forum: zMUD General Discussion Posted: Wed Jan 05, 2005 8:13 pm Subject: Sorting DB variables |
While I'm here I guess I will answer a question in payment for my question being answered.
#LOOPDB @dbvar {#Var SortedList %sort(%val|@Sortedlist)};
%sort also has a param for reverse sorting.
So ... |
Topic: Database Variables |
solem
Replies: 11
Views: 9316
|
Forum: zMUD General Discussion Posted: Wed Jan 05, 2005 8:10 pm Subject: Database Variables |
I don't seem to beable to delete this. |
Topic: %roomexit problem with %roomportal. |
solem
Replies: 4
Views: 5871
|
Forum: zMUD General Discussion Posted: Wed Jan 05, 2005 7:57 pm Subject: %roomexit problem with %roomportal. |
Hello all,
If I am in a room, with a standard exit north and a roomportal exits called test and Enter Trapdoor, and I run the following command:
#FORALL %roomexit {#Say %i -> room: %roomlink( ... |
Topic: %find issue. |
solem
Replies: 2
Views: 4940
|
Forum: zMUD General Discussion Posted: Wed Dec 15, 2004 5:05 pm Subject: Tried it at work. |
Nexela,
Thank you for your reply. I installed a client at work so I could test your suggestions and they all work . My original #SHOW %find(@zone.znames,All) also works?! I will test from home ... |
Topic: %find issue. |
solem
Replies: 2
Views: 4940
|
Forum: zMUD General Discussion Posted: Wed Dec 15, 2004 5:15 am Subject: %find issue. |
I have a database set up that stores zone information. If I issue the following command:
#SHOW %find(The Western Roads,All)
I get the output:
742zo|773zo
Now... If I issue the command:
zone.zn ... |
Topic: Removing Text from string. |
solem
Replies: 1
Views: 3590
|
Forum: zMUD General Discussion Posted: Mon Nov 22, 2004 11:48 pm Subject: Removing Text from string. |
I currently discoved the use of (&nn) in triggers and am useing it to consolidate multiple triggers with into one
In my old triggers I would use {The|A||} to get rid of the THE's and A's ... |
Topic: Need Help with FUNCTION command out of zMud Help |
solem
Replies: 1
Views: 3446
|
Forum: zMUD General Discussion Posted: Sat Oct 23, 2004 2:28 pm Subject: Need Help with FUNCTION command out of zMud Help |
I would like to start using functions in my scripts. So I thought I would start with the example given in zMud Help.
#FU fact {%if(%1<=1,1,%1*@fact(%eval(%1-1)))}; #EVAL @fact(5); #SHOW @fact ... |
Topic: Automatic logging |
solem
Replies: 1
Views: 3509
|
Forum: zMUD General Discussion Posted: Wed Jul 07, 2004 3:56 pm Subject: Automatic logging |
Is there a way to automatically turn on logging when I log into my mud?
Thank you in advance. |
Topic: Import/Export |
solem
Replies: 1
Views: 11586
|
Forum: zMapper Discussion Posted: Wed Jun 30, 2004 7:01 pm Subject: Import/Export |
I am playing with zMapper trying to do exports and imports of zones.
1. Open main map and export a zone to XML file.
2. Create new map and import XML file.
After I do this a couple of times wit ... |
Topic: Capturing strange test to a var |
solem
Replies: 3
Views: 5122
|
Forum: zMUD General Discussion Posted: Wed Jun 23, 2004 3:30 am Subject: Capturing strange test to a var |
Thank you for the reply, I did try the quotes before
test = "<*]AMAZON[*> Earrings"; #say @test
I get the same result.
I can't use the ~ because this is part of a trigger that captures t ... |
Topic: Capturing strange test to a var |
solem
Replies: 3
Views: 5122
|
Forum: zMUD General Discussion Posted: Wed Jun 23, 2004 2:41 am Subject: Capturing strange test to a var |
If i issue the following commands:
test = <*]AMAZON[*> Earrings
#say @test
I get *]AMAZON[* Earrings
which is missing the <>.
How can fix this so the <> are saved to the v ... |
Topic: MapQuery |
solem
Replies: 4
Views: 9078
|
Forum: zMUD General Discussion Posted: Sat Jun 05, 2004 4:04 pm Subject: MapQuery |
Sorry for the late reply..... I've been on vacation for a while.
Script works like a charm.
Thank you
|
Topic: MapQuery |
solem
Replies: 4
Views: 9078
|
Forum: zMUD General Discussion Posted: Sat May 22, 2004 5:28 am Subject: MapQuery |
I've gotten the following to work no problem.
#VAR QuestRoom %replace( "%2", "'", "''")
#mapquery {[Name] = '@QuestRoom'}
Now I would like to refine it a little and add zone to the mapquery.
... |
Topic: Reversing a path. |
solem
Replies: 2
Views: 4522
|
Forum: zMUD General Discussion Posted: Sat Mar 20, 2004 8:39 pm Subject: Reversing a path. |
Thank you... Works like a charm. |
Topic: Reversing a path. |
solem
Replies: 2
Views: 4522
|
Forum: zMUD General Discussion Posted: Sat Mar 20, 2004 8:01 pm Subject: Reversing a path. |
I am trying to record the path from recall (vnum 0) to the room I’m currently in.
So I do the following.
path = %WALK(0)
Which gives me the path I want reversed, so now I need to find a way to re ... |
Topic: More on SlowWalking |
solem
Replies: 1
Views: 3373
|
Forum: zMUD General Discussion Posted: Wed Mar 17, 2004 6:27 am Subject: More on SlowWalking |
So I'm trying to figure out my slow walk problem and am trying some experiments to figure out how the mapper works. This is one of the stranger ones that I'm hoping someone can shed some light on.
... |
Topic: Weird Slowwalk problem |
solem
Replies: 6
Views: 8176
|
Forum: zMUD General Discussion Posted: Wed Mar 17, 2004 2:31 am Subject: Weird Slowwalk problem |
Here is an examle.
Alas, you cannot go that way.
<133/133/100% 100 133 |1937 1100xp 0tell 885| A busy tree | NSW 18tq |dbl
Slow walking aborted
You hear something's death cry.
south ... |
Topic: Weird Slowwalk problem |
solem
Replies: 6
Views: 8176
|
Forum: zMUD General Discussion Posted: Tue Mar 16, 2004 10:14 pm Subject: Weird Slowwalk problem |
Sorry, Bad example of why if might fail. I do keep the mapper open while slowwalking and watch my progress on it.
But
I'm typing in the command #SL .4ne4sw
Lets say I walk the 4n just fine and whe ... |
Topic: Weird Slowwalk problem |
solem
Replies: 6
Views: 8176
|
Forum: zMUD General Discussion Posted: Tue Mar 16, 2004 9:22 pm Subject: Weird Slowwalk problem |
The speed walk does work... But if it fails for some reason... like, Someone shuts a door and I don't have the door marked on map... Then I get the abort message. I then type in a new direction like ... |
Topic: Weird Slowwalk problem |
solem
Replies: 6
Views: 8176
|
Forum: zMUD General Discussion Posted: Tue Mar 16, 2004 8:24 pm Subject: Weird Slowwalk problem |
I’m currently trying to use slowwalk with zmud 7.04 and am getting some weird behavior.
1. I start a slowwalk with #SL .3n3en4w2s
2. Slowwalk goes along just fine for a while.
3. Then something ... |
|