| Blockland Forums > Modification Help |
| Simple Coding Question |
| << < (2/2) |
| Chrono:
--- Quote from: RockHammer on August 14, 2011, 12:31:46 PM ---Thanks Guys, so: package chatListener { function clientcmdChatMessage(%client,%b,%c,%all,%PreTag,%name,%postTag,%msg) { parent::clientcmdChatMessage(%client,%b,%c,%all,%PreTag,%name,%postTag,%msg); if(%msg $= "Hello") commandtosserver('messagesent', "Hello"); } }; Would do the thingy, ok, so how to I "Activate" the package and make it working? and BTW thx for the help, and this is waterspear, but I got banned for no reason. --- End quote --- activatePackage(chatListener); This will get you banned from many servers by the way, people don't like chat bots, including me. You were also banned for piracy, not for 'no reason'. |
| Navigation |
| Message Index |
| Previous page |