I was bored and made a CWTN column but apparently the commands don't work the same with Lua Vs. in-game.
For example, this command as shown below in the code:
If I enter this in the in-game browser but replace the #botName# with the characters name, it works. But as a button it does not work.
If I use that command in-game using Lua, it sends the command to the proper character but detects the sender's class, saying I am not a specific class.
I think I can tweak it by setting up an alias, but I do not learn anything. Anyone willing to share some knowledge?
For example, this command as shown below in the code:
INI:
/noparse /dex #botName# /docommand /${Me.Class.ShortName} mode assist
If I use that command in-game using Lua, it sends the command to the proper character but detects the sender's class, saying I am not a specific class.
I think I can tweak it by setting up an alias, but I do not learn anything. Anyone willing to share some knowledge?
INI:
{
Name='CWTN',
Columns = {
{
Name='Manual',
Type='button',
Action='/noparse /dex #botName# /docommand /${Me.Class.ShortName} Manual',
Width=60
},
{
Name='Assist',
Type='button',
Action='/noparse /dex #botName# /docommand /${Me.Class.ShortName} assist',
Width=55
},
{
Name='Chase',
Type='button',
Action='/noparse /dex #botName# /docommand /${Me.Class.ShortName} chase',
Width=55
},
{
Name='Vorpal',
Type='button',
Action='/noparse /dex #botName# /docommand /${Me.Class.ShortName} vorpal',
Width=55
},
{
Name='Tank',
Type='button',
Action='/noparse /dex #botName# /docommand /${Me.Class.ShortName} tank',
Width=50
},
{
Name='PullTank',
Type='button',
Action='/noparse /dex #botName# /docommand /${Me.Class.ShortName} PullerTank',
Width=70
},
{
Name='PullAss',
Type='button',
Action='/noparse /dex #botName# /docommand /${Me.Class.ShortName} PullerAssist',
Width=65
},
{
Name='Pause',
Type='button',
Action='/noparse /dex #botName# /docommand /${Me.Class.ShortName} pause on',
Width=55
},
{
Name='UnPause',
Type='button',
Action='/noparse /dex #botName# /docommand /${Me.Class.ShortName} pause off',
Width=70
}
}
},





