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
francespsywaffle
Newbie


Joined: 14 Dec 2015
Posts: 3

PostPosted: Mon Feb 01, 2021 4:13 pm   

Beginner Help with Aliases
 
It's been a long, long time since I've used either zMUD or cMUd, but currently using cMUD. I cannot for the life of me figure out how to create an alias. It's a lot different from what I remember it being ages ago where you just gave it your shortcut command and the full one, and boom! It did the rest for you. That said, I've looked at the guide and poked around on the forums and none of it is really helpful. I need the basics. And, I mean the real basics. I need to change a super basic command, in this case cast 'magic stone' into ms, but I just cannot figure out how to do it. I have minimal coding experience and am just staring at the box and scratching my head like an idiot, lol. Thanks in advance!
Reply with quote
shalimar
GURU


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

PostPosted: Tue Feb 02, 2021 2:24 am   
 
Quick and dirty it is, enter this on your command line:

#ALIAS ms {cast 'magic stone'}
_________________
Discord: Shalimarwildcat
Reply with quote
francespsywaffle
Newbie


Joined: 14 Dec 2015
Posts: 3

PostPosted: Tue Feb 02, 2021 2:56 am   
 
Super helpful, thank you!

Next problem, lol.

When I go to use the alias- it is registering- but now it's asking me who I want to cast the spell on, which means it's not picking up the target name after the alias.
When I type in 'ms [target name]' it isn't accepting that I've put a target after the alias.
Reply with quote
shalimar
GURU


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

PostPosted: Tue Feb 02, 2021 6:34 am   
 
Easy fix, edit it, and add %params at the end.
_________________
Discord: Shalimarwildcat
Reply with quote
francespsywaffle
Newbie


Joined: 14 Dec 2015
Posts: 3

PostPosted: Tue Feb 02, 2021 2:31 pm   
 
Awesome! Now we're getting somewhere. You've been super helpful. Thank you so much!

Every "guide" I've looked at hasn't explained anything. It just says what aliases are. Which isn't helpful. lol
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