- Posts: 133
- Thank you received: 5
Language
- Sat32
- Topic Author
- Offline
- User
-
Less
More
2 years 5 months ago #1114
by Sat32
Language was created by Sat32
Hello,
I've been using using notepad++ to work on macro's and stuff.
Is there any chance we could get "User Defined Language template"
for myserver? right now it's not really needed. But as things start to get more
refined and complex with our configurations it might a great help.
Thanks
What does everyone else think, for or against?
I've been using using notepad++ to work on macro's and stuff.
Is there any chance we could get "User Defined Language template"
for myserver? right now it's not really needed. But as things start to get more
refined and complex with our configurations it might a great help.
Thanks
What does everyone else think, for or against?
Please Log in to join the conversation.
- andrew
- Offline
- User
-
Less
More
- Posts: 339
- Thank you received: 28
- davep
- Offline
- Admin
-
Less
More
- Posts: 367
- Thank you received: 96
2 years 5 months ago #1122
by davep
Replied by davep on topic Language
Server macros have to be written using native myServer command syntax. While there are hundreds of server commands in day to day use you really only have to master a handful of them.
You are certainly free to write external scripts in other languages of your choice to do things. The server supports a Run|<something> command just for that.
You are certainly free to write external scripts in other languages of your choice to do things. The server supports a Run|<something> command just for that.
The following user(s) said Thank You: andrew
Please Log in to join the conversation.
- andrew
- Offline
- User
-
Less
More
- Posts: 339
- Thank you received: 28
2 years 5 months ago #1128
by andrew
Andrew
Replied by andrew on topic Language
I was being facetious but that's really useful to know, thanks. And you can call myServer commands from an 'outside' script by GETting a URL. So some event in myServer could trigger something complex in an external script which in turn calls myServer stuff (as long as you're careful not to get into a loop). Nifty.Server macros have to be written using native myServer command syntax. While there are hundreds of server commands in day to day use you really only have to master a handful of them.
You are certainly free to write external scripts in other languages of your choice to do things. The server supports a Run|<something> command just for that.
Andrew
Please Log in to join the conversation.
- davep
- Offline
- Admin
-
Less
More
- Posts: 367
- Thank you received: 96
- Sat32
- Topic Author
- Offline
- User
-
Less
More
- Posts: 133
- Thank you received: 5
2 years 5 months ago #1137
by Sat32
Replied by Sat32 on topic Language
npp-user-manual.org/docs/programing-languages/
It's just an editor but if the language was defined it highlights comment tags and supports nesting commands and point out errors in your syntax.
The C or C++ language highlights the commit tags in green making it a little easier to read.
As I said right now might not be needed but as macro start to include conditional commands setting variables it might be helpful.
What I mean is copying your macro into the notepad++ editor then pasting it back into the
myserver editor after your done editing
Thanks
It's just an editor but if the language was defined it highlights comment tags and supports nesting commands and point out errors in your syntax.
The C or C++ language highlights the commit tags in green making it a little easier to read.
As I said right now might not be needed but as macro start to include conditional commands setting variables it might be helpful.
What I mean is copying your macro into the notepad++ editor then pasting it back into the
myserver editor after your done editing
Thanks
Please Log in to join the conversation.
Time to create page: 0.188 seconds