![]() |
#1
|
|||
|
|||
![]()
So in an older version of UMC (1.14.3 I think) I could use a line to kill things based on variables such as this:
Code:
#alias {kill}{#if {$psychic=1}{cast 'lightning' $0};#if {$psychic=0}{psy $0}} With the newer versions post what I had before (including the latest 1.15.8) this no longer works. With the above code if $psychic was 0 it would output "psy $0" instead of "psy centaur" I have tried the following with no success: Code:
#alias {kill %0}{#if {$psychic=1}{cast 'lightning' $0};#if {$psychic=0}{psy $0}} #alias {kill %0}{#if {$psychic=1}{cast 'lightning' %0};#if {$psychic=0}{psy %0}} - Xabren |
#2
|
||||
|
||||
![]()
Try:
Code:
#alias {kill}{#if {$psychic=1}{cast 'lightning' $$0};#if {$psychic=0}{psy $$0}} |
#3
|
|||
|
|||
![]()
Makes sense. Best thing is it worked too
![]() Thanks. - Xab |
![]() |
|
|