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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
chosig
Novice


Joined: 20 Apr 2008
Posts: 39
Location: Sweden

PostPosted: Wed Aug 04, 2010 12:16 am   

[3.22a] Macro and deleted aliases
 
If you have a macro bound to an alias, and then delete that alias the macro defaults to the last created alias - which can wreck havoc.

It happened to me, and borked my portal list, but I have not been able to reproduce it...

This is what I had
Code:
#alias healMe {get @potion.heal @container.potion;quaff @potion.heal}
#key F10 {healMe}
#alias addportal {
  #echo %ansi(default)Adding %ansi(white)Name:%ansi(default) %1 %ansi(white)ID: %ansi(default)%2 %ansi(white)Level: %ansi(default)%3
  portal.%1 = %2
  portallevel.%1 = %3
  #portal {portal %1}
}


When I removed the healMe alias - F10 issued the addportal alias without any arguments, thus emptying my portal variables (stupid me for not adding fail-safes)
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Aug 04, 2010 5:08 pm   
 
I could not reproduce this. I entered your scripts as shown above. Then I verified that F10 was running the healMe alias. Then I went into the Settings Editor and deleted the healMe alias. Then I went back to the command line and presses F10 and it displayed "healMe" on the screen.

Can anybody else reproduce this?
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Wed Aug 04, 2010 6:34 pm   
 
I wasn't able to reproduce it either.
_________________
Asati di tempari!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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