Beispiel #1
0
        private void ExecuteIngameListener()
        {
            const string command =
                "local frame = CreateFrame('Frame', 'evcFrame'); frame:RegisterAllEvents(); frame:SetScript('OnEvent', function(self, event, ...) GetBillingTimeRested(event, ...); end);";

            WoWScript.ExecuteNoResults(command);
        }
Beispiel #2
0
 public static void SendRaid(string Text)
 {
     WoWScript.ExecuteNoResults("SendChatMessage(\"" + Text + "\", \"RAID\", GetDefaultLanguage(\"player\"), \"\");");
 }
Beispiel #3
0
 public static void SendWhisp(string PlayerName, string Text)
 {
     WoWScript.ExecuteNoResults("SendChatMessage(\"" + Text + "\", \"WHISPER\", GetDefaultLanguage(\"player\"), \"" + PlayerName + "\");");
 }
Beispiel #4
0
 public void SetConsoleKey(string key)
 {
     WoWScript.ExecuteNoResults("SetConsoleKey(\"" + key + "\")");
 }