Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Slicko
Newbie


Joined: 16 Jun 2002
Posts: 6
Location: USA

PostPosted: Sun Jun 16, 2002 8:39 pm   

More help...
 
Okay...I wanted to know if their was any way I can log specific things that are done?

like if i type nw, and it goes northwest, I want that to LOG...just the directions, so i can have them for later use?

- Slicko is out the fat kids at dodge ball!
Reply with quote
DeathShadow
Adept


Joined: 11 Nov 2000
Posts: 228
Location: USA

PostPosted: Sun Jun 16, 2002 9:05 pm   
 
Use paths...

Quick lesson on paths:
1. CTRL+E to start recording:
2. (go do you path you wish to record.)
3. Press the 'save path' button

To go to this path from the command line.
.PATHNAME
to go back from this path use 2 periods. example:
..PATHNAME

that will automagically reverse your path.

I would recommend highly that you read the help file Help-->Getting started-->Defining and Using Paths/Speedwalking


-ds

zMud 6.26a; Win98/Win2000/WinXP
Reply with quote
Slicko
Newbie


Joined: 16 Jun 2002
Posts: 6
Location: USA

PostPosted: Sun Jun 16, 2002 9:10 pm   
 
I don't want to speedwalk though, I just need the directions logged for later use.

- Slicko is out the fat kids at dodge ball!
Reply with quote
DeathShadow
Adept


Joined: 11 Nov 2000
Posts: 228
Location: USA

PostPosted: Mon Jun 17, 2002 12:32 am   
 
Record an alias then?

zMud 6.26a; Win98/Win2000/WinXP
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Jun 17, 2002 5:55 am   
 
quote:

Record an alias then?

zMud 6.26a; Win98/Win2000/WinXP



A simple trigger and an alias to turn it on/off will do:

#alias RecordPath {#if (%null(%1)) {#NOOP do nothing, leave things unchanged} {#case %ismember(%1,"on|off") {PathDirs = "";#T+ tDirections} {#T- tDirections}}}

#trigger "tDirections" {({nw|n|ne|e|w|sw|s|se})} {#VARIABLE PathDirs %additem(@PathDirs,%1)}

li'l shmoe of Dragon's Gate MUD
Reply with quote
Slicko
Newbie


Joined: 16 Jun 2002
Posts: 6
Location: USA

PostPosted: Tue Jun 18, 2002 3:01 am   
 
Nevermind all that, I need to do something new.

Is their any way to log a specific thing that happens? Like everytime I gain a skill, is their any way to get it logged, and just it?

Say I am sitting around and I see, *** You are now unskilled at such and such skill! ***

But their is a whole bunch of other stuff, so I miss it say that...

Anyway to log all skills that raise like that to a file?

- Slicko is out the fat kids at dodge ball!
Reply with quote
Slicko
Newbie


Joined: 16 Jun 2002
Posts: 6
Location: USA

PostPosted: Tue Jun 18, 2002 5:37 am   
 
Hello?

- Slicko is out the fat kids at dodge ball!
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Jun 18, 2002 5:46 am   
 
Open a file
#FILE 1 level.txt
Create triggers to write whatever you want to the file
#TR {You are now * at} {#WRITE 1 {%trigger}


LightBulb
Senior Member
Reply with quote
Slicko
Newbie


Joined: 16 Jun 2002
Posts: 6
Location: USA

PostPosted: Tue Jun 18, 2002 8:17 am   
 
Thanks SO much! That worked.

- Slicko is out the fat kids at dodge ball!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net