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
Virus
Wanderer


Joined: 29 Jun 2002
Posts: 69
Location: USA

PostPosted: Sat Jul 13, 2002 8:27 am   

Next line in #SH
 
Ok, Im writing a help file for all my aliases. Im wondering if there is a function in zmud similar to %r in a Mux.

Richard Powell
Mux Alias: Virus
2796 Wizard Staff
64.89.10.1 port 2796
Rich@gigdev.com
Reply with quote
seamer
Magician


Joined: 26 Feb 2001
Posts: 358
Location: Australia

PostPosted: Sat Jul 13, 2002 9:35 am   
 
what does %r do, and what do you want zmud to do?

Why oh WHY did I have pass door on...
Reply with quote
Virus
Wanderer


Joined: 29 Jun 2002
Posts: 69
Location: USA

PostPosted: Sat Jul 13, 2002 11:10 am   
 
%r is a next line char. IE if I write a scipt such as @pemit %#=Hear%rThis, it shows as:
Hear
This

Now I want to write a list of things using either the #SAY or the #SHOW command on the Zmud scrpits, but I dont want to have like fifty of them just so that I can write something similar to the following....

Help Commands:
/shelp List Help Commands
/damages Show damages
/contacs Show contacts
/newmap Load a new map

Get it?

Richard Powell
Mux Alias: Virus
2796 Wizard Staff
64.89.10.1 port 2796
Rich@gigdev.com
Reply with quote
Evangelist
Adept


Joined: 10 Oct 2000
Posts: 224
Location: USA

PostPosted: Sat Jul 13, 2002 1:34 pm   
 
I'm not sure exactly what you want, but if i type say this is line 1;this is line 2;this is line 3.....the ; will be taken as a carriage return..is that what you meant?

I am not too keen on programming languages, but I think its C that is like %n for the end of a line..pretty sure %n in C, %r in the thing you were talking about, and a ; in this are all the same...or in the alias trigger, whatever you use, just put each help command on a different line

I still dont think I fully understand your question though

Evangelist
www.phidar.com
Reply with quote
seamer
Magician


Joined: 26 Feb 2001
Posts: 358
Location: Australia

PostPosted: Sat Jul 13, 2002 1:48 pm   
 
zmud uses %cr for carriage returns, quite useful in #show :)

Why oh WHY did I have pass door on...
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat Jul 13, 2002 3:19 pm   
 
Yes, %cr for a carriage return, and %crlf for a carriage return/line feed combo.

Kjata
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