(): Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content added Content deleted
(Added bold and information on the default value)
No edit summary
 
Line 6: Line 6:
The '''()''' block is a reporter block and an [[operators block]] that sends the string you input into it. As it seems useless, it is useful for inputs that do not support text (such as set costume and other dropdowns). The default value for this block is "foo".
The '''()''' block is a reporter block and an [[operators block]] that sends the string you input into it. As it seems useless, it is useful for inputs that do not support text (such as set costume and other dropdowns). The default value for this block is "foo".
==Workaround==
==Workaround==
This block can be replicated by using any reporter that outputs the wanted string (ex. join () (text)).
This block can be replicated by using any reporter that outputs the wanted string (ex. join () (text)):
<scratchblocks>
join [] [text] //the first input is empty
</scratchblocks>
[[Category:Reporter Blocks]]
[[Category:Reporter Blocks]]
[[Category:Operators Blocks]]
[[Category:Operators Blocks]]

Latest revision as of 01:10, 1 July 2024

()
...
[[File:|200px]]
Caption
Block Type Reporter
Category / Extension Operators
Status
This article is about the block in the operators category. For other uses, see () (disambiguation).

The () block is a reporter block and an operators block that sends the string you input into it. As it seems useless, it is useful for inputs that do not support text (such as set costume and other dropdowns). The default value for this block is "foo".

Workaround

This block can be replicated by using any reporter that outputs the wanted string (ex. join () (text)):

join [] [text] //the first input is empty