|
Re: Make something happen on message. [message #220151 is a reply to message #220123] |
Sun, 17 September 2006 18:09 |
=HT=T-Bird
Messages: 712 Registered: June 2005
Karma: 0
|
Colonel |
|
|
chat wrote on Sun, 17 September 2006 17:33 | How do i make something happen when somebody says something like !spawn cnc_gdi_orca? Can you give me an example in source code?
|
Set the chat hook in the scripts.dll. You can look in SSAOW's aow.cpp of an example of that.
HTT-Bird (IRC)
HTTBird (WOL)
Proud HazTeam Lieutenant.
BlackIntel Coder & Moderator.
If you have trouble running BIATCH on your FDS, have some questions about a BIATCH message or log entry, or think that BIATCH spit out a false positive, PLEASE contact the BlackIntel coding team and avoid wasting the time of others.
|
|
|