GachaLifeWolf Posted January 30, 2021 Share Posted January 30, 2021 (edited) When I use the command I just get:The 'addbutton' command got more arguments then expected (Had: 5; Max: 3)How does this work? Edited January 30, 2021 by GachaLifeWolf Link to comment Share on other sites More sharing options...
JimmyRJump Posted February 5, 2021 Share Posted February 5, 2021 When a game has its own fora, it's better to post there. Link to comment Share on other sites More sharing options...
EthanCramer Posted August 15, 2023 Share Posted August 15, 2023 If you want to make a buttin that fastforwards the time by 6 in game hours and you want it to be labled TIME, you type it like addbutton <Identifier> <TIME> 'fastforward 6' When entering the Identifier it can be anything it just cant be one that you've already used for another one. When entering the <command> part type the command like normal and replace the "<" and ">" with single quotation marks (These ones 'my name is Jeff') I hope this helped, i tried all the different ways of enclosing a phrse and that finally worked Link to comment Share on other sites More sharing options...
amirhassan60 Posted August 25, 2023 Share Posted August 25, 2023 The error message "The 'addbutton' command got more arguments then expected (Had: 5; Max: 3)" means that you are trying to use the addbutton command with more than 3 arguments. The addbutton command takes 3 arguments: The name of the button The text that should be displayed on the button The function that should be called when the button is clickedIf you are trying to use the addbutton command with more than 3 arguments, you will get the error message.To fix this error, you need to remove the extra arguments from your command. For example, if you are trying to use the command like this:addbutton button1 "This is a button" function1 function2You would need to change it to this:addbutton button1 "This is a button" function1 This will remove the extra arguments and the command will work as expected. 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