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
daarklord
Beginner


Joined: 22 Mar 2011
Posts: 12
Location: nilgiri.mythril.com

PostPosted: Tue Mar 22, 2011 8:47 am   

[resolved] call an alias inside a script, and a suggestion on help files
 
It's a really simple question, but I can't find the answer through searching.

I have an alias:
"getAll"
which just does
"get all"

And I have a trigger:
"Aurora drops *"
and I want to call the alias, "getAll" as the reaction.

(the actual alias is more complex, so no suggesting to "get all" as a reaction to the trigger please!)

How do I call an alias from within a the script text?


-------------------


Also related: I'm new to zmud/cmud and I've noticed that it's impossible to find commands and syntax I'm looking for sometimes, unless I just look at the command list and guess which one to read about. I would suggest adding a "see also" or "related" section at the end of each reference file. So for example, the file for "#TRIGGER" could have a "see also" that directs you to "#T-, #T+, #UNTRIG, etc." This would make it much easier for new users to get to know the CMUD commands and syntax.




-----------------

Thanks,
Daarklord


Last edited by daarklord on Thu Mar 31, 2011 7:56 am; edited 1 time in total
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Tue Mar 22, 2011 9:21 am   
 
Usually all you have to do is have the alias name on a line by itself. In some cases you can do:

#EXEC {aliasName}

----------

The help files do have a related section already listed, take this example of: #HELP #TRIGGER
_________________
Discord: Shalimarwildcat
Reply with quote
daarklord
Beginner


Joined: 22 Mar 2011
Posts: 12
Location: nilgiri.mythril.com

PostPosted: Wed Mar 23, 2011 10:09 am   
 
Ok thanks shalimar. I put the alias on a line by itself and it works.

--------

Edit: nevermind, I just opened multiple instances of CMUD instead. It seems to do what I needed.

Next question is, I find it difficult to type Ctrl+Tab. I have multiple characters at at time and need to quickly switch between them, and the Ctrl key is difficult to reach from typing position. Can I customize the window switching to become something easy to reach like Alt+Tab or Alt+F?
Reply with quote
Ithilion
Wanderer


Joined: 02 Sep 2005
Posts: 85

PostPosted: Thu Mar 24, 2011 9:03 pm   
 
alt tab is windows by default, so doubt you can change that.. alt f would be file menu shortcut.. so, you'd have to find some other key that's not used, but likely you can set session hotkeys, possibly..
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