-
Notifications
You must be signed in to change notification settings - Fork 5
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
Variables as variable defaults don't work #283
Comments
Hmm... this wasn't really considered. Could look into it, just making sure that recursion isn't an issue. 👍 |
Yeah, that would be a mild issue. XD |
Fixed this in #295 |
Silly @Innectic. ;P |
Can confirm, am noob. |
You Innectato! |
So, I was thinking about this, and I would that only having one layer-o'-recursion would be fine, anything beyond that would just be pointless and redundant in my opinion.
If that makes any sense. And it should check to see if they are the same so that it can't do something like |
I would agree; having more than one layer doesn't really make sense. The more I think about it, the more I think recursion might not be an issue... for example, with the response
|
What is the issue?
When you put a variable as the default for another variable, it doesn't work, it returns the variable as it is.
How do we reproduce this issue?
Do that.
Environment
Remote hosted CactusBot 0.4
Other Information
I feel as though it should work because it would make default arguments much coolio-er. 😄
Also: default arguments for
%ARGS%
doesn't work, it returnsNot enough arguments
The text was updated successfully, but these errors were encountered: