Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » chatcommand
Re: chatcommand [message #457244 is a reply to message #457111] Sat, 08 October 2011 00:10 Go to previous messageGo to previous message
snazy2000 is currently offline  snazy2000
Messages: 67
Registered: December 2007
Karma:
Recruit
No i mean so if lets say you had a chat command

!help

the code could be

Console_Input("msg Help Me Bla Bla Bla");

and you wanted that to come up on keypress


you would put


void KB_keyhook::KeyHook()
{
Console_Input("msg Help Me Bla Bla Bla");
}
ScriptRegistrant<KB_keyhook> KB_keyhook_Registrant("KB_keyhook","");
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: gameobject lists-> which&when
Next Topic: TCW Tropical [wip]
Goto Forum:
  


Current Time: Tue Jul 22 06:08:46 MST 2025

Total time taken to generate the page: 0.00776 seconds