- ComputerCraft | Programmable Computers for Minecraft
- → danieldigital's Content
danieldigital's Content
There have been 7 items by danieldigital (Search limited from 30-March 23)
#277192 Text adventure parsing help
Posted by danieldigital on 09 May 2018 - 05:38 PM in Ask a Pro
Thanks so much for the help guys!
I will post a thread when it is done.
I will post a thread when it is done.
#277176 Taken - A programming oriented puzzle game
Posted by danieldigital on 09 May 2018 - 12:09 PM in Command Programs
#277158 Taken - A programming oriented puzzle game
Posted by danieldigital on 08 May 2018 - 07:30 PM in Command Programs
I made a pastebin installer for it.
pastebin run LPP6Wphb
pastebin run LPP6Wphb
#277156 How to make spoilers
Posted by danieldigital on 08 May 2018 - 07:25 PM in Forum Discussion
Quote
Just wanted to point out, ya'll do realize you can escape spoilers without code tags?
Oh, you do this?
#277142 How to make spoilers
Posted by danieldigital on 08 May 2018 - 12:17 PM in Forum Discussion
Lupus590, on 08 May 2018 - 11:35 AM, said:
<html> <style> .tooltip { position: relative; display: inline-block; border-bottom: 1px dotted black; } .tooltip .tooltiptext { visibility: hidden; width: 120px; background-color: black; color: #fff; text-align: center; border-radius: 6px; padding: 5px 0; /* Position the tooltip */ position: absolute; z-index: 1; bottom: 100%; left: 50%; margin-left: -60px; } .tooltip:hover .tooltiptext { visibility: visible; } </style> <body style="text-align:center;"> <div class="tooltip">Wait... <span class="tooltiptext">I can do something similar.</span> </div> </body> </html>
#277129 How to make spoilers
Posted by danieldigital on 08 May 2018 - 12:29 AM in Forum Discussion
Cranium, on 07 October 2014 - 05:18 AM, said:
Although, I would like to make note. If you are using spoilers, do not make the actual [spoiler] text any different formatting, or your spoiler cannot be opened in some browsers.
You can do this by highlighting the [spoiler] tags, and clicking on the eraser icon in the editor toolbar.
You can do this by highlighting the [spoiler] tags, and clicking on the eraser icon in the editor toolbar.
Unrelated, but how did you tooltip it?
Edit: I know I have replies, but I feel like such an idiot when I looked at the last reply date.
#277128 Text adventure parsing help
Posted by danieldigital on 07 May 2018 - 11:41 PM in Ask a Pro
Hey! This is my first post on the forum, and I'm not really that good at Lua either, so sorry if I miss something obvious.
I'm trying to make a text adventure game and there will be one word commands.
However, there will be parameters after them.
So I need to seperate the first one and know what it is, but also know what all of the rest of them are together.
Just like I said at the top, if I'm missing something, tell me.
really crappy explanation of what it should do
Ignore that ^^ it's probably not the best wayYou still clicked show?
Fine, here's the explanation with my bad Lua knowledge.
So, I'm trying to seperate a string into a table.
The delimiter would be space, which means that it would seperate the words.
The last step is to reassemble all of the words in the table except the first one into a string.
Does that make any sense?
Fine, here's the explanation with my bad Lua knowledge.
So, I'm trying to seperate a string into a table.
The delimiter would be space, which means that it would seperate the words.
The last step is to reassemble all of the words in the table except the first one into a string.
Does that make any sense?
I'm trying to make a text adventure game and there will be one word commands.
However, there will be parameters after them.
So I need to seperate the first one and know what it is, but also know what all of the rest of them are together.
Just like I said at the top, if I'm missing something, tell me.
- ComputerCraft | Programmable Computers for Minecraft
- → danieldigital's Content