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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Rikeshar
Beginner


Joined: 13 Jun 2007
Posts: 11

PostPosted: Wed Jun 13, 2007 12:12 am   

%1 help
 
Hey, I know there's got to be a way to do this, I just can't find it!

I've got an alias of 'I' and i want it to do "Conjure illusion (whatever I type after the "I")"

The %1 expression will only copy the first word I type after "I"

If I put %1 %2 %3 etc... then however many %'s I have, it will copy that many words.

Any ideas?
Reply with quote
Daagar
Magician


Joined: 25 Oct 2000
Posts: 461
Location: USA

PostPosted: Wed Jun 13, 2007 12:32 am   
 
I think you're looking for "%-1" or "%params"
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Wed Jun 13, 2007 12:53 am   
 
Use either %-1 or %params
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
Daagar
Magician


Joined: 25 Oct 2000
Posts: 461
Location: USA

PostPosted: Wed Jun 13, 2007 1:02 am   
 
Oh sure, get fancy and link the help file ;)
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Wed Jun 13, 2007 9:40 pm   
 
It's very easy to link the help you just surround the word with double square brackets.
_________________
Taz :)
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu Jun 14, 2007 10:55 am   
 
Whoa... all this time I'd been doing it manually! Thanks!
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Jun 14, 2007 5:17 pm   
 
Well, some of the help topics are harder because you need to use the abbreviated command (like #TR instead of #TRIGGER). But there is another easy way: If you have the CMUD help file open (in CMUD or the Help Viewer), there is a Edit/Copy Link (or Control-L) command that will copy a link to that help topic to the clipboard that you can then paste into your forum post. For example, the Getting Started section, which has a forum link of [[cmud_getting_started]Getting Started]
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Fri Jun 15, 2007 2:00 am   
 
#TRIGGER and #TR both work for me, The only problem I notice is that they link to the zmud manual and not the cmud one, Possibly tweak it a bit depending on which forum you are in?
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Fri Jun 15, 2007 6:32 am   
 
Hmm! Bizarre, some seem to link to cmud but most are linking to zmud, I could have sworn not long ago everything was linking to cmud.
_________________
Taz :)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Jun 15, 2007 5:09 pm   
 
Unfortunately, there isn't any way for the bbcode routine to know what forum it was posted in.

The reason both #TR and #TRIGGER work is that it searches both the ID field (#TR in this case) as well as the topic title (#TRIGGER in this case). So either will work in that case. But I wanted to make sure people knew about the Copy Link in the CMUD Help window since that the foolproof way to link without having to worry about the ID or title.

Since the ID field in the online knowledge base must be unique, the zMUD topics have "zmud_" at the front of the ID, and the CMUD topics have "cmud_" at the front. Right now it always puts "zmud_" in front to search the ID field. If it doesn't find the ID match, then it searches by topic title. So that can explain why most link to the zMUD help, but some (topic title matches) might link to the CMUD help.

The Copy Link function in the CMUD Help window always puts "cmud_" in front and always uses the ID value, so you can ensure that the help link points to the correct help file.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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