Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Make something happen on message.
Make something happen on message. [message #220123] Sun, 17 September 2006 15:33 Go to next message
chat is currently offline  chat
Messages: 34
Registered: August 2006
Karma: 0
Recruit
How do i make something happen when somebody says something like !spawn cnc_gdi_orca? Can you give me an example in source code?

[Updated on: Sun, 17 September 2006 15:50]

Report message to a moderator

Re: Make something happen on message. [message #220151 is a reply to message #220123] Sun, 17 September 2006 18:09 Go to previous message
=HT=T-Bird is currently offline  =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.
Previous Topic: Error
Next Topic: BrenBot connection failed
Goto Forum:
  


Current Time: Mon Sep 16 17:47:03 MST 2024

Total time taken to generate the page: 0.00761 seconds