Nothing amazing here. This just uses the output console in-game to send your own custom messages to it. This refers to the box above your chatbox that shows things like damage dealt when you attack, damage you take when your attacked and other things. I use it to output settings of my bot since I don't use a GUI, its nice to see the function status when I activate it or deactivate it.
Code:
OutPut Console:
004A0A65 |. 6A 02 PUSH 2 ; /Arg2 = 00000002
004A0A67 |. 68 D4CC5500 PUSH TwelveSk.0055CCD4 ; |Arg1 = 0055CCD4 ASCII "GM Command OK!!!"
004A0A6C |. B9 38F82D01 MOV ECX,TwelveSk.012DF838 ; |
004A0A71 |. E8 BADB0700 CALL TwelveSk.0051E630 ; \TwelveSk.0051E630
First Arg pushed is the color of the output string, second Arg pushed is the output string itself.
Code:
Usage:
UseConsole(2, "Welcome to my Bot!"); //sends red text to output console
Maybe useful eh?