Dieeeeeeeeeeeeee Posted May 13, 2021 Share Posted May 13, 2021 options: timer: 2 command /timer <number>: trigger: set {@timer} to arg-1 every {@timer} seconds: broadcast "a" i'm trying to set the variable with a command but it just gives me errors. Error: Can't understand this condition/effect: set 2 to arg-1 line 6: set {@timer} to arg-1 Link to comment Share on other sites More sharing options...
MrTibo Posted May 13, 2021 Share Posted May 13, 2021 You can store it in a variable instead of an option [<3] DMs open - Discord » MrTibo#9659 | or send a forum message Link to comment Share on other sites More sharing options...
M4RK7000 Posted May 13, 2021 Share Posted May 13, 2021 I don't know how you could mention a variable within an event declaration, but for the first few lines this could be a good starting point: variables: {timer} = 2 command /timer <number>: trigger: set {timer} to arg-1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now