fix not being able to get out items + chatbox not working + fix readme
This commit is contained in:
parent
aadf2b2af9
commit
e13c69fe2b
4 changed files with 15 additions and 4 deletions
BIN
logo.png
Normal file
BIN
logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
16
readme.md
16
readme.md
|
|
@ -1,5 +1,17 @@
|
||||||
# (S)ophie (I)ncoroporated - (S)torage (S)olution
|
<table>
|
||||||
<h1><p align=center>SISS</p></h1>
|
<tr>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
<h1 style="margin-bottom:0">Sophie</h1>
|
||||||
|
<h2 style="margin-top:0;margin-bottom:0">Incorporated Storage</h2>
|
||||||
|
<h1 style="margin-top:0">(S)olution</h1>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td align="right" width="40%">
|
||||||
|
<img src="logo.png" alt="Logo" width="168">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
1. First, in your /config.lua file, add the following:
|
1. First, in your /config.lua file, add the following:
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,6 @@ end
|
||||||
|
|
||||||
function run()
|
function run()
|
||||||
if config.chatbox == nil then return end
|
if config.chatbox == nil then return end
|
||||||
if #config.chatbox == 0 then return end
|
|
||||||
|
|
||||||
while true do
|
while true do
|
||||||
local _, user, command, args = os.pullEvent("command")
|
local _, user, command, args = os.pullEvent("command")
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ local function runUi()
|
||||||
return com
|
return com
|
||||||
end,
|
end,
|
||||||
function(option)
|
function(option)
|
||||||
local z = option:match("^([^\\s]*)")
|
local z = option:match("^(%S+)")
|
||||||
|
|
||||||
if inv.getAIL().getItem(z) then
|
if inv.getAIL().getItem(z) then
|
||||||
inv.sendItemToSelf(z)
|
inv.sendItemToSelf(z)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue