Another Beginner Question about Options


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

Temple Termagant

Posts: 8

Joined: Thursday, 9th March 2017, 18:35

Post Monday, 20th March 2017, 20:18

Another Beginner Question about Options

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.

Temple Termagant

Posts: 6

Joined: Friday, 24th February 2017, 20:30

Post Friday, 31st March 2017, 16:09

Re: Another Beginner Question about Options

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

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.