Page 1 of 1

Another Beginner Question about Options

PostPosted: Monday, 20th March 2017, 20:18
by Ryleigh
Hi there,

So I'm wondering if there is any method I could use to set up predefined macros based on character race or class.

My idea was to somehow use

  Code:
if you.class() == (class name) then


but I'm not sure how to set that up for this purpose, and whether it should be in the init.txt file or the macro.txt file.

Any advice would be much appreciated.

Re: Another Beginner Question about Options

PostPosted: Friday, 31st March 2017, 16:09
by cut1less
I think you'd want the init/rc file to do that. The options guide has a method for using macros (section 3-m) in your init file itself.

So, yeah, combining it with you-lua conditionals should probably work