[Ask]Console trigger in plugins

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

gamenikko
The Way Of Human
The Way Of Human
Posts: 192
Joined: 16 Aug 2009, 03:47
Noob?: Yes
Location: Gonryun

[Ask]Console trigger in plugins

#1 Post by gamenikko »

Please help me in a certain matter,
how to hook "console trigger" in a plugin? example, like

Code: Select all

console /test/ 
in macro. but this time ill do it in a plugin,
i dont know which packet to hook, tnx =)
Just like old times.
Schwarzschild
Noob
Noob
Posts: 6
Joined: 28 Jul 2011, 02:30
Noob?: Yes

Re: [Ask]Console trigger in plugins

#2 Post by Schwarzschild »

maybe you may use Log::addHook. you should have a sub for handling the string (regex). look automacro.pm for details.

actually, im curious what you are doing, why would you use that for ? :oops:


CMIIW