Blockland Forums > Suggestions & Requests
CMD-Triggered Events
Bushido:
so, what if there was an event input (as in, something along the lines of onActivate, onContentStart, etc) that listened to and defined a specific slash command arguement (maybe something like /event command) that, when this command was entered in chat by an appropriate person (defined in the event output?), returned positive
another input, onCalled, would be started up whenever this particular brick's /event command was used and would cause the brick to actually do things, like set up racing lights, or open doors
sort of like a verbal remote control.
i feel like there's a better way to go about this. if so, do not hesitate to tell me
Munkey:
sounds like it would require input parameters.
TehBlackout!:
Would it be custom /command like /start race or a certain one like /announce go
¥ola:
Well, hopefully this isn't like not what your trying to say, but if so please correct me.
To me a much easier way of doing it would be one main input event such as OnCommandCalled or whatever
With that input you can use the output of IfCommand and the parameter's could be an equal or not equal dropdown, then a text box with whatever you the command is
an example so far of correct usage:
OnCommandCalled -> Self -> IfCommand [==] [help]
Then another input would be OnCommand which would check if OnCommandCalled was true, and allows you to do things based on if it's true or not.
If this is what is being said, then I fully support.
Treynolds416:
OnCommand and OnCommandCalled in the above example should be switched though