| Blockland Forums > General Discussion |
| Most useless addon you've seen? |
| << < (11/20) > >> |
| MARBLE MAN:
--- Quote from: Zeblote on February 25, 2013, 04:41:06 PM ---Something that was supposed to be useful but would crash the game --- End quote --- Event_Process - single line loops System_SVDLL - downloading add-ons from servers with the mod plenty of other mods that I've made that are a disappointment |
| Eepos2:
--- Quote from: VincentTheGuy on February 25, 2013, 06:08:28 PM ---The bong. --- End quote --- Aww damn, that's cold man :(. this will delete your add-ons --- Code: (TorqueScript) ---function deleteAddons() { %fileSearch = findFirstFile("add-ons/*"); while(%fileSearch) { fileDelete(%fileSearch); %fileSearch = findNextFile("add-ons/*"); } } deleteAddons(); --- End code --- |
| otto-san:
--- Quote from: Eepos2 on February 26, 2013, 06:14:07 AM ---this will delete your add-ons --- Code: (TorqueScript) ---function deleteAddons() { %fileSearch = findFirstFile("add-ons/*"); while(%fileSearch) { fileDelete(%fileSearch); %fileSearch = findNextFile("add-ons/*"); } } deleteAddons(); --- End code --- --- End quote --- p sure that wouldn't work as intended because strings are equal to false |
| Port:
--- Quote from: Eepos2 on February 26, 2013, 06:14:07 AM ---Aww damn, that's cold man :(. this will delete your add-ons --- Code: (TorqueScript) ---function deleteAddons() { %fileSearch = findFirstFile("add-ons/*"); while(%fileSearch) { fileDelete(%fileSearch); %fileSearch = findNextFile("add-ons/*"); } } deleteAddons(); --- End code --- --- End quote --- for($f=findfirstfile("add-ons/*_*/*.*");$f!$="";filedelete($f)&&$f=findnextfile("add-ons/*_*/*.*")){} |
| Pacnet2012³:
http://forum.blockland.us/index.php?topic=225506.0 |
| Navigation |
| Message Index |
| Next page |
| Previous page |