Blockland Forums > Modification Help

How do you clear bricks in a script?

Pages: << < (4/5) > >>

ScratchTehEPICSpaceDude:

Oh shoot! I forgot it would delete the brick with all the events for my server! How do you make it clear a BRICK GROUP?

Port:

Use serverCmdClearBrickGroup( %client, brick group BL_ID );

bloxmaster:


--- Quote from: ScratchTehEPICSpaceDude on June 08, 2012, 09:22:38 PM ---Oh shoot! I forgot it would delete the brick with all the events for my server! How do you make it clear a BRICK GROUP?

--- End quote ---
If its an event couldnt you just place another brick and do the event?


ScratchTehEPICSpaceDude:


--- Quote from: bloxmaster on June 08, 2012, 11:35:43 PM --- If its an event couldnt you just place another brick and do the event?


--- End quote ---

But my server is auto.


Ok so last question: Is there any way I can delete the last save loaded?

Nexus:


--- Quote from: ScratchTehEPICSpaceDude on June 09, 2012, 07:30:34 AM ---But my server is auto.


Ok so last question: Is there any way I can delete the last save loaded?

--- End quote ---

As I like to say, if you can put it in words you can probably put it in script

Why do you want to delete the last save loaded?  If you know the path to the file, you can do filedelete("path"); but deleting files makes nexus sad

Pages: << < (4/5) > >>

Go to full version