Inhale MASM Template for 1.2.9
Some improvements that dt took the time to code in iNHALE are...
- Improved Chat Command Registration (structs free)
- UniText (channel/lobby/game)
- *NEW* Hotkey support for External Plugins
If you are a developer and you don't know/like C++ here is the MASM Template 
Download Link:
http://www.bwhacks.com/forums/downlo...?do=file&id=24
Copy-Paste Version
Code:
; Inhale.inc
; ~~~~~~~~~~~~~
; by bulk_4me ([email protected])
;
; For use with the Inhale API 1.2.9 by dt
;
; Special thanks to dt for his time, during the creation
; of this include. Thanks to indulgence for his collaboration
; and tips.
;
; "if you use the updated lib - you must use the updated dll"
;
; USAGE:
; Include Inhale.inc
; IncludeLib Inhale.lib
; Register hotkey
RegisterHotkey PROTO keycode:DWORD, context:BOOL, function:DWORD, description:DWORD
; Register chat command
RegisterChatCommand PROTO command:DWORD, parameters:BOOL, function:DWORD, inChannel:BOOL, inLobby:BOOL, inGame:BOOL
; universal client-side text function (channel, lobby and game)
UniText PROTO :DWORD
You are free to post errors, suggestions in this thread and give me +1 rep points.