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
Fallen.Anvil
Novice


Joined: 12 Jul 2012
Posts: 47

PostPosted: Wed Mar 23, 2016 4:08 am   

Simple alias
 
I used to use Cmud but stopped for a while and now cannot remember the simplest of commands.

I want to make a command that uses +F as a shortcut for +finger %1?

Where %1 represents a specific name such as Anvil so +F Anvil would +finger Anvil.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Mar 23, 2016 6:49 pm   
 
I believe aliases must start with a letter or number. You would have to use an #ONINPUT trigger with #SUBSTITUTE. This should make the correct setting for you:
#ONINPUT "finger" {^+F (*)$} {#SUB {+finger %1}} {} "case"
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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