Blockland Forums > Modification Help

Reload script with keybind?

Pages: << < (3/3)

Demian:

I'll test those scripts when I have time. It's for my own personal use only.

Amade:

If you want it sweet and simple you could just do this:

--- Code: ---MoveMap.bindCmd("Keyboard", "G", "discoverFile(\"Add-Ons/YourZipFile.zip\"); exec(\"Add-Ons/YourZipFile/server.cs\");", "");
--- End code ---


Nexus:

Shameless self advertising

http://forum.returntoblockland.com/dlm/viewFile.php?id=3499

This mod lets you paste your script into it and it executes it automatically for you.

If you edit it, it will reload the script when you click save.

Demian:


--- Quote from: Amade on September 25, 2011, 08:55:19 PM ---If you want it sweet and simple you could just do this:

--- Code: ---MoveMap.bindCmd("Keyboard", "G", "discoverFile(\"Add-Ons/YourZipFile.zip\"); exec(\"Add-Ons/YourZipFile/server.cs\");", "");
--- End code ---

--- End quote ---
Amade saves the day! It works just like I want it to. Thank you. This helps me a lot. I just jammed it to the end of config.cs in the config folder.

Pages: << < (3/3)

Go to full version