Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts
scripts [message #351555] Sun, 21 September 2008 06:04 Go to previous message
snazy2000 is currently offline  snazy2000
Messages: 67
Registered: December 2007
Karma:
Recruit
is there any way of detecting if a player attacted??
i fond this


if (!(Is_Script_Attached(o, "JFW_Stealth_Generator_Ignored"))) 



but can this be changed to "",""

and is there away of and fuction that can make 1 caht command do another chat command


made up



Do_Chat_Command("TEST2");  





eg



class TESTChatCommand : public ChatCommandClass {
   void Triggered(int ID,const TokenClass &Text,int ChatType) {
Do_Chat_Command("TEST2");
   }
};
ChatCommandRegistrant<TESTChatCommand> TESTChatCommandReg("!eg",CHATTYPE_ALL,0,GAMEMODE_AOW);  
  
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Tiberian Wrath Update!
Next Topic: cs
Goto Forum:
  


Current Time: Sat Jan 04 13:40:09 MST 2025

Total time taken to generate the page: 0.00759 seconds