spam chat

Posts 1–4 of 4 · Page 1 of 1
spam chat
how to make spam chat?
Use the engine function ExecuteClientCmd, assuming you're internal.
Code:
SourceEngine::Interfaces::Engine()->ExecuteClientCmd("say hi");
Well, a family & friends friendly possibility would be to bind the text to a key like bind "k" "say SPAM SPAM" and then write a little external program which simulates a keypress (see below (ty msdn)) like every second. No actual risk of detection. But the variant of 4773n0x is something I would prefer, but requires you to "know" about internals.

Code:
while(true)
{
      // Simulate a key press
         keybd_event( 18, 0x45, KEYEVENTF_EXTENDEDKEY | 0, 0 );

      // Simulate a key release
         keybd_event( 18, 0x45, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0);

         Sleep(1000);
}
Believe this has been solved.

/Closed.
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us