|
chosig Novice
Joined: 20 Apr 2008 Posts: 39 Location: Sweden
|
Posted: 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) |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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? |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Wed Aug 04, 2010 6:34 pm |
I wasn't able to reproduce it either.
|
|
_________________ Asati di tempari! |
|
|
|
|
|