Author Topic: Help me scripting  (Read 1438 times)

0 Members and 2 Guests are viewing this topic.

Offline Zyyn

  • Major(1)
  • Posts: 21
Help me scripting
« on: May 12, 2007, 07:01:22 pm »
I can only open the .pas files when they are in a .zip folder, and I can't save them when I'm done putting them together. Am I even supposed to open the .pas files for these scripts. What should I do?

Offline urraka

  • Soldat Developer
  • Flagrunner
  • ******
  • Posts: 703
Re: Help me scripting
« Reply #1 on: May 12, 2007, 07:11:48 pm »
You can open .pas files with any text editor, just select open with... and select a program from the list, like Notepad.
urraka

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Help me scripting
« Reply #2 on: May 12, 2007, 07:12:02 pm »
You extract them just like the other server files... And then you open them with Notepad or some other text editor.

Offline Zyyn

  • Major(1)
  • Posts: 21
Re: Help me scripting
« Reply #3 on: May 12, 2007, 07:26:39 pm »
But when I try and save the file it won't save as .pas, but as something like .txt will that work?

Offline urraka

  • Soldat Developer
  • Flagrunner
  • ******
  • Posts: 703
Re: Help me scripting
« Reply #4 on: May 12, 2007, 07:28:38 pm »
You can choose the extension you want when you save it. Anyway, if you save it to .txt rename the file to .pas and done.
urraka

Offline Zyyn

  • Major(1)
  • Posts: 21
Re: Help me scripting
« Reply #5 on: May 12, 2007, 07:32:03 pm »
The only extension I can choose from is text documents. If I put .pas in it, it is just NetworkCore.pas.txt.

Offline urraka

  • Soldat Developer
  • Flagrunner
  • ******
  • Posts: 703
Re: Help me scripting
« Reply #6 on: May 12, 2007, 07:33:53 pm »
Well save it and then rename it so it doesn't end with .txt. If you use Save and not Save As... you shouldn't have that problem.
urraka

Offline jettlarue

  • Flagrunner
  • ****
  • Posts: 724
Re: Help me scripting
« Reply #7 on: May 12, 2007, 07:35:28 pm »
change save as type:text document(txt) to all files and add .pas to the end of the file name

Offline Zyyn

  • Major(1)
  • Posts: 21
Re: Help me scripting
« Reply #8 on: May 12, 2007, 08:17:13 pm »
Ok I got that working, but now I just need to get it working on my server. Thanks. ;D