Page 1 of 1

Alias Problem

Posted: Sun Jun 13, 2010 12:21 pm
by Skriptz
I've created an alias with the patter ^dds$
This is it
Code: [show] | [select all] lua
echo("\nDead:"..dead)
echo("\nAff.Anorexia:"..Aff.Anorexia)
echo("\nAeon:"..Aff.Aeon)
echo("\nStunned:"..Aff.Stunned)
echo("\nSleep:"..Aff.Sleep)
echo("\nHerb:"..Balance.Herb)
however I send the command dds but get nothing at all

Re: Alias Problem

Posted: Sun Jun 13, 2010 12:56 pm
by Vadi
Probably some of your variables are nil. Try

echo("\nDead:"..tostring(dead))
echo("\nAff.Anorexia:"..tostring(Aff.Anorexia))
...etc

Re: Alias Problem

Posted: Sun Jun 13, 2010 1:21 pm
by Skriptz
Vadi wrote:Probably some of your variables are nil. Try

echo("\nDead:"..tostring(dead))
echo("\nAff.Anorexia:"..tostring(Aff.Anorexia))
...etc
Your a GOD Vadi. I LOVE you!

I have been trying to figure out my code for 2 full days. Trying to figure out one problem that's stopping me and now I know what was wrong. Dead variable is nil while the others are zero. Thank you a heap.

Re: Alias Problem

Posted: Sun Jun 13, 2010 1:49 pm
by Vadi
Look in the Errors view next time as well