Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include(...) in CBOT #238

Open
adiblol opened this issue Sep 30, 2013 · 3 comments
Open

include(...) in CBOT #238

adiblol opened this issue Sep 30, 2013 · 3 comments

Comments

@adiblol
Copy link
Member

@adiblol adiblol commented Sep 30, 2013

Correct me if it already exists, but I couldn't find it in script/script.cpp

I want CBOT to have function that will read, parse and execute file given as argument, like include(...) or require(...) in PHP.

This will make using common functions more easy. See also https://en.wikipedia.org/wiki/Don%27t_repeat_yourself

@krzys-h krzys-h removed the todo label Jun 27, 2014
@krzys-h krzys-h added this to the alpha-0.3.0 milestone Jun 27, 2014
@krzys-h krzys-h removed this from the release milestone Jun 27, 2014
@Erihel Erihel added this to the alpha-0.3.0 milestone Jun 27, 2014
@Erihel Erihel removed this from the alpha-0.3.0 milestone Jun 27, 2014
@theFox6
Copy link

@theFox6 theFox6 commented Dec 28, 2017

I had the idea that you might put your scripts on an infoserver... it would make them way more useful. see #1059

@immibis
Copy link
Contributor

@immibis immibis commented Jan 9, 2018

What does this have to do with #1059 though?

@theFox6
Copy link

@theFox6 theFox6 commented Jan 9, 2018

I just didn't see all the other issues to this subject and thought this would be the only one... 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants