WHAT'S hooker?
hooker is a truly basic Decal
PlugIn for Asheron's Call that scans all input typed by the user in the chat bar for a
line beginning with /D. It will then echo that line to the chat window with
in a selected color. a line of chat so echoed in the manner is NOT
spoken out loud for all the world to hear.WHY DO I CARE?
well good golly miss molly, hooker is insanely cool (i'd say roXors ... but
i'm toooo old for that). now that i've got her, i can ... umm ... er ... well ...
what CAN i do with hooker? explain to me why i care?!
as it so happens, hooker will catch ANYTHING put into the char bar, whether typed by
the user, or generated by an extrnal macro program like ACScript. So hooker becomes
a simple communications mechanism by which ACScript
can write something to the AC chat window that the USER can see
... but is not shouted for all the world to hear (well, read actually.
whatever).
HOW DO USE hooker?
simple ... just use the fSay() function of the acscriplib, and start
the text with /D.
So go change your ACScript macros to:
fSay("/D Mana Potions Complete");
rather than
ac.debug("Mana Potions Complete");
yes, this is probably the simplest plugin anyone would ever write ... but it works for
me. hope it does for you.
ANYTHING ELSE?
not really. the hook text and color is settable through an ingame decal control, as well as
a master enable/disable check box. note that while the enable/disable checkbox is effective
immediately upon clicking, any changes to the hook text and text color boxes are NOT applied
until the "SAVE AND APPLY" button is pushed.
OTHER THOUGHTS
possible bugs: does/how does she interfere with other plugins using the same hook text?
possible enhancements
* obviously, the major enhancement would be to move the text from
the chat window to a decal control ... since decal does not have a
multi-line text box, the best way would be to do this in a scrollable
list. i'm working on that, but am having some problems managing the list
size so far ... but expect it in the not too distant future.
* validate hook text and text color immediately upon change, rather than upon button press
* work with ACScript to add a parameter to the ac.debug function to "output as
fSay"
* hook the Windows OutputDebugString function for true transparency
* audible output for incoming messages
* priority/filters for different hook texts
* external script launcher
CREDITS
All the credit goes out to Your God:
this would not be possible
without Text Hack -- hooker is REALLY just a heavily abridged
version of Text Hack.