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


Joined: 03 May 2005
Posts: 72

PostPosted: Wed Feb 19, 2014 7:27 pm   

switching from safe mode to map mode on the command line
 
Hello. I want to make an alias to grab the description of a room by using the #look command. My question is can this be done from the command line.

so in short. Switch from safe mode to map mode.. Use #look .. return to safe mode
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Wed Feb 19, 2014 8:40 pm   
 
You can, with the %maplocked function.
Reply with quote
Scarn
Apprentice


Joined: 24 Jul 2005
Posts: 137

PostPosted: Sun Feb 23, 2014 11:35 pm   
 
This will work:

Code:
#ALIAS getinfo
{
#call %maplocked(0)
#look
#call %maplocked(1)
}


If you need anymore help feel free to reach me on the MUD, currently playing Falgor and Arkal.
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