Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Neji980

Pages: [1]
1
Yes please. So many tutorials on the web are trash or incomplete

2
Help / Add-ons with dedicated hosting service
« on: April 24, 2017, 06:19:12 PM »
I'm using Blockland Glass to host a server at the moment. How can I enable add-ons? I tried the way for a regular dedicated server but that doesn't seem to work. Do I have to force load everything with the console?

3
Modification Help / Re: Syntax error
« on: August 06, 2014, 08:26:30 AM »
Upload your console.log file or download Sublime Text. The latter one is almost guaranteed to work.

Thanks a lot, it was text edit that wasnt letting the script work. I downloaded sublime text and now it works perfectly.

4
Modification Help / Re: Syntax error
« on: August 06, 2014, 08:22:24 AM »
No i saved it as plain text and I got an error saying "ook##"
Textedit doesnt work for me

5
Modification Help / Re: Syntax error
« on: August 05, 2014, 09:58:43 PM »
Okay thanks and i am using tab. I guess it copied weird

6
Modification Help / Re: Syntax error
« on: August 05, 2014, 07:29:58 PM »
So I should just find another way to save the files?

7
Modification Help / Re: Syntax error
« on: August 05, 2014, 07:25:56 PM »
New error (screenshot was too large of a file)

Add-Ons/client_myfirstbot/client.cs Line: 1 - Syntax error.
>>>Some error context, with ## on sides of error halt:
ook##
>>>Error report complete.

ADD-ON "client_myfirstbot" CONTAINS SYNTAX ERRORS

8
Modification Help / Re: Syntax error
« on: August 05, 2014, 07:21:30 PM »
package chatbot

{

function clientCmdChatmessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg)

   {

parent::clientCmdChatMessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg);
   
   if (%msg $= "Zazzlebot")
   
      {
      
         if (%name $=$Pref::Player::Netname)
         
         {   
         
         commandtoserver('messagesent',"Yissir");
         
         }
         
      }
      
   }
   
};
activatepackage(chatbot);

Also is this formatting okay?

9
Modification Help / Re: Syntax error
« on: August 05, 2014, 07:12:21 PM »
Okay I switched the textedit preferences. Im still getting an error however its much shorter. The error is "ook##"

10
Modification Help / Re: Syntax error
« on: August 05, 2014, 07:02:11 PM »
It'd work better than TextEdit, tbh.

Or you could just save the file without any formatting stuff.

http://support.apple.com/kb/ta20406

Ignore the fact that it's talking about HTML. It should fix your issue too.

Alright thanks

11
Modification Help / Re: Syntax error
« on: August 05, 2014, 07:01:07 PM »
What would be a good choice then?

12
Modification Help / Re: Syntax error
« on: August 05, 2014, 06:57:37 PM »
The text editor you're using is appending a bunch of formatting things to the file
You just need to get a different text editor, something that edits plain text. There's plenty of mac choices.

Alright, do you think xcode would work for this?

13
Modification Help / Re: Syntax error
« on: August 05, 2014, 06:56:55 PM »
I saved the text file as client.cs and theres a description.txt next to it so I dunno whats wrong at all. It worked for someone else for some reason

14
Modification Help / Re: Syntax error
« on: August 05, 2014, 06:52:07 PM »
Annnnd thats the end of my crappy scripting career until I get a pc xD I guess its textedit then

15
Modification Help / Re: Syntax error
« on: August 05, 2014, 06:39:21 PM »
No Im not coding in a zip file.

Pages: [1]