You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can send a string to the window by calling this function:
public int sendWindowsStringMessage(int hWnd, int wParam, string msg)
{
int result = 0;
if (hWnd > 0)
{
byte[] sarr = System.Text.Encoding.Default.GetBytes(msg);
int len = sarr.Length;
COPYDATASTRUCT cds;
cds.dwData = (IntPtr)100;
cds.lpData = msg;
cds.cbData = len + 1;
result = SendMessage(hWnd, WM_COPYDATA, wParam, ref cds);
}
return result;
}
And passing lines such as "/use Grand Expedition Yak" and "/target Cousin Slowhands" to then press the interact with target button... and pause for addons to do their magic.
Interesting?
The text was updated successfully, but these errors were encountered:
We can send a string to the window by calling this function:
And passing lines such as "/use Grand Expedition Yak" and "/target Cousin Slowhands" to then press the interact with target button... and pause for addons to do their magic.
Interesting?
The text was updated successfully, but these errors were encountered: