I have a variable called 'level', a trigger which triggers on my level message to update my own level into 'level' variable.
I would like to make an alias that checks who is within 20 levels of me, and my mud provides the command as
who level <lower level> <higher level>
I have seen one of nick's youtube videos on how to expand a variable in an alias to get it's content, however, i cant figure out how to perform an arithmetic operation with the value.
Here's what I did:
who level @level - 20 @level + 20
Lets say my level is 46, it simply sends "who level 46 - 20 46 + 20"
How can I perform arithmetic operations on the variable then send them?
Thanks!
I would like to make an alias that checks who is within 20 levels of me, and my mud provides the command as
who level <lower level> <higher level>
I have seen one of nick's youtube videos on how to expand a variable in an alias to get it's content, however, i cant figure out how to perform an arithmetic operation with the value.
Here's what I did:
who level @level - 20 @level + 20
Lets say my level is 46, it simply sends "who level 46 - 20 46 + 20"
How can I perform arithmetic operations on the variable then send them?
Thanks!