hi all...sorry to intrude...I need advice on the best way to do something. We are trying to write our own scripts for a custom shard and, I am currently considering options for housing. I would like to create config files or datafiles or whatever I find more appropriate to define "plots" for houses so I can predefine their default names, prices, coords, etc. I want the "plots" to be pretty "tight" as in only the spaces that I define and not anything else. I have created an example below:
Code: Select all
..........oooooooo.....
..........oooooooo.....
..........ooo..........
..........ooo..........
..........ooo..........
..........ooooooooooooo
..........ooooooooooooo
..........ooooooooooooo
..........ooooooooooooo
..........ooooooooooooo
ooooooooooooooooooooooo
ooooooooooooooooooooooo
ooooooooooooooooooooooo
ooooooooooooooooooooooo
ooooooooooooooooooooooo
ooooooooooooooooooooooo
ooooooooooooooooooooooo
ooooooooooooooooooooooo
ooooooooooooooooooooooo
ooooooooooooooooooooooo
ooooooooooooooooooooooo
oooooooooooooo.........
oooooooooooooo.........
oooooooooooooo.........
oooooooooooooo.........
oooooooooooooo.........
oooooooooooooo.........
oooooooooooooo.........
oooooooooooooo.........
where there are "o" I want the owner to be able to execute "commands," where there are "." I do NOT want the owner to have the ability to execute any commands. I am new to all this and am not great with logic or anything so...I appreciate any suggestions. The only two solutions I have come up with are, create multiple "rectangles" encompasing the "o" areas, OR create one rectangle encompasing the whole area and smaller areas encompasing the "." areas that I would explicitly check to NOT allow commands. Any suggestions on which may work best or totally different solutions? Again I may be overlooking the best and most obvious solution

A little explination of any suggestions is also greatly appreciated like how to define the coords best...like multiple...erm.."elements" defining each or a single "element" with many values defining all etc. Thanks for the help in advance!
Mike