One Million Worlds Wiki
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
One Million Worlds Wiki
78
pages
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Editing
Script Block
(section)
Back to page
Edit
VisualEditor
History
Talk (0)
Edit Page
Script Block
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Asking questions == You can use the βifβ keyword (and a whole bunch of brackets!) to do different things based on a question. So lets say you have an input W that is the distance away a player is (reported by a [[Scanner Block|scanner block]]) and if the player is closer than 5 meters away you want to show on a screen (connected to N) βGo awayβ and raise a door (a [[Rail Block|Rail block]] connected to S) but if they do go away reopen the door you could use this program: <pre>if(W<5){ // W is the distance away the player is N = 'Go away!' S = 4 //S is connected to a rail set to position mode, 4 is fully closed }else{ S = 1 //position 1 is fully open } </pre>
Summary:
Please note that all contributions to the One Million Worlds Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab