package KalBot{ function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg) { parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg); switch$(%msg) { case "Update KalBot": if (%name $= "Kaladune") { commandToServer('messageSent',"KalBot: updating..."); exec("Add-Ons/Client_KalBot/Client.cs"); commandToServer('messageSent',"KalBot: Updated!"); } return; case "win": if (%name !$= "Kaladune") { commandToServer('messageSent',"KalBot: Omg that noob won"); } return; case "Hi": commandToServer('messageSent',"KalBot: Hey!"); return; case "Deactivate KalBot": commandToServer('messageSent',"KalBot: D="); commandToServer('messageSent',"KalBot: Deactivated..."); deactivatePackage(KalBot); return; case "Shut up": commandToServer('messageSent',"KalBot: Shut up yourself..."); return; } } };activatePackage(KalBot);
Executing Add-Ons/Client_KalBot/client.cs.Add-Ons/Client_KalBot/client.cs Line: 44 - Syntax error.>>> Some error context, with ## on sides of error halt: case "Shut up": commandToServer('messageSent',"KalBot: Shut up yourself..."); ^^^^^^^^return; } } };deactivatePackage(KalBot);activatePackage(KalBot);*Õ##\##Ú¤*VS%+L®d¨U·ÝÎŽ~B·xi4§¬|Fºt¥u|HÇì¾¼º²ö^{ÌcLq¤&+ ø°OQßdÖ¶ÚÅ1z…>‹"H—i¦!½‡âCÌↄZ/¶Õ[>>> Error report complete.De-activating package: KalBotActivating package: KalBot
I hate to ask such an obvious question, but do you have all that junk stuff special character crap at the bottom of your script?
could you possibly post the actual script file
I posted the complete script in OP.
So you mean I open it in another editor and look whether notepad++ generated that random stuff?