OK, downloaded Notepad++, using FFSO's code
It might work, but its doing nothing, do I need to put it in a .zip file?EDIT: I might need to use a namecheck file...Sorry for Double Post (DP)
it does need to be in a zip
omfg guyswhere did he say thatA: he packaged it properly (description.txt, has an underscore in the file path, etc)B: he executed itfun facthe didn'twe ought to get the file executed first
if (%name $= "Deoxys & One Noob")
Yah, it works, until... (I was updating it, BTW)if (%name $= Deoxys & One Noob)^^^^^^^^^^^^^^^^^^^^^^^^Any syntax errors here
if(%name $= "Deoxys & One Noob")
commandToServer('messageSent',"NoobBot: We lost? D:");
I did that, just forgot to put it in the scriptBL is giving my chatbot fake syntax errorsWheres a syntax error here?Code: [Select]commandToServer('messageSent',"NoobBot: We lost? D:");
Blockland does not give fake syntax errors.Although it's best to post the whole client.cs file.
//Made by Deoxys & One Noob, BLID 30436package NoobBot{ function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg) { parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg); switch$(%msg) { case "Update NoobBot": if(%name $= "Deoxys & One Noob") { commandToServer('messageSent',"NoobBot: Updating..."); exec("Add-Ons/client_NoobBot/client.cs"); commandToServer('messageSent',"NoobBot: The update went well!"); } return; case "win": if(%name $= "Deoxys & One Noob") { commandToServer('messageSent',"NoobBot: We won! :D"); } return; case "Ohai": if(%name $= "Deoxys & One Noob") { commandToServer('messageSent',"NoobBot: Hello!"); } commandToServer('messageSent',"NoobBot: I'm not falling for that again."); return; case "Deactivate NoobBot": if(%name $= "Deoxys & One Noob") { commandToServer('messageSent',"NoobBot: Hold on."); commandToServer('messageSent',"NoobBot: Deactiving..."); deactivatePackage(NoobBot); } commandToServer('messageSent',"NoobBot: Maker purposes only."); return; case "Shut up": commandToServer('messageSent',"NoobBot: :O"); return; case "GLaDOS": commandToServer('messageSent',"NoobBot: I've already been tested!"); return; case "Food": commandToServer('messageSent',"NoobBot: I'm not hungry."); return; case "Pecon7": commandToServer('messageSent',"NoobBot: Note to self, deactivate at that server."); return; case "NoobBot?": commandToServer('messageSent',"NoobBot: ?"); return; case "Activate NoobBot": if(%name $= "Deoxys & One Noob") { exec("Add-Ons/client_NoobBot/client.cs"); activatePackage(NoobBot); commandToServer('messageSent',"NoobBot: Huh, oh, hi everyone!"); } return; case "What version are you in?": commandToServer('messageSent',"NoobBot: I am in version 3!"); return; case "research": commandToServer('messageSent',"NoobBot: Ew."); return; case "Syntax Error Input" commandToServer('messageSent',"NoobBot: Where?"); return; } } };activatePackage(NoobBot);