Add box selection history
This commit is contained in:
		| @@ -45,6 +45,7 @@ function serverCmdDupHelp(%client) | ||||
| 	messageClient(%client, '', "<tab:220>\c3/ForcePlant\t\c6 Plant a selection in mid air; bricks can float."); | ||||
| 	messageClient(%client, '', "<tab:220>\c3/ToggleForcePlant\t\c6 Enable force plant for normal planting, so you dont have to type it all the time."); | ||||
| 	messageClient(%client, '', "<tab:220>\c3/PlantAs\c6 [\c3target\c6]\t\c6 Plant bricks in a different brick group. Target can be a name or blid."); | ||||
| 	messageClient(%client, '', "<tab:220>\c3/Ownership\t\c6 Plant bricks with the original ownership from when they were copied or saved."); | ||||
| 	messageClient(%client, '', "<font:Arial:8> "); | ||||
|  | ||||
| 	messageClient(%client, '', "<tab:220>\c3/FillWrench\t\c6 Open the fill wrench gui to change settings on all selected bricks."); | ||||
| @@ -57,16 +58,20 @@ function serverCmdDupHelp(%client) | ||||
| 	messageClient(%client, '', "<font:Arial:8> "); | ||||
|  | ||||
| 	messageClient(%client, '', "<tab:220>\c3/SuperCut\t\c6 Delete everything in your selection box, cutting bricks in half on its sides!"); | ||||
| 	messageClient(%client, '', "<tab:220>\c3/FillBricks\t\c6 First supercut, then completely fill your selection box with few bricks."); | ||||
| 	messageClient(%client, '', "<tab:220>\c3/FillBricks\t\c6 First supercut, then completely fill your selection box with bricks."); | ||||
| 	messageClient(%client, '', "<font:Arial:8> "); | ||||
|  | ||||
| 	messageClient(%client, '', "<tab:220>\c3/PrevBox\t\c6 Recall the previous selection box when in Box Select mode. Similar to pressing up in a chat client. Can be used multiple times."); | ||||
| 	messageClient(%client, '', "<tab:220>\c3/NextBox\t\c6 Undo one /prevBox, going forward in the selection box history."); | ||||
| 	messageClient(%client, '', "<font:Arial:8> "); | ||||
|  | ||||
| 	messageClient(%client, '', "<tab:220>\c3/SaveDup\c6 [\c3name\c6]\t\c6 Save your current selection to a file."); | ||||
| 	messageClient(%client, '', "<tab:220>\c3/LoadDup\c6 [\c3name\c6]\t\c6 Load a selection from a file. Your current selection will be deleted."); | ||||
| 	messageClient(%client, '', "<tab:220>\c3/AllDups\c6 [\c3filter\c6]\t\c6 Show all known saved duplications that match the filter. Leave blank to show all."); | ||||
| 	messageClient(%client, '', "<font:Arial:8> "); | ||||
| 	//messageClient(%client, '', "<font:Arial:8> "); | ||||
|  | ||||
| 	messageClient(%client, '', "<tab:220>\c3/DupVersion\t\c6 Show the duplicator and blockland versions running on the server."); | ||||
| 	messageClient(%client, '', "<tab:220>\c3/DupClients\t\c6 Show the duplicator versions of other clients on the server."); | ||||
| 	//messageClient(%client, '', "<tab:220>\c3/DupVersion\t\c6 Show the duplicator and blockland versions running on the server."); | ||||
| 	//messageClient(%client, '', "<tab:220>\c3/DupClients\t\c6 Show the duplicator versions of other clients on the server."); | ||||
|  | ||||
| 	messageClient(%client, '', "\c7--------------------------------------------------------------------------------"); | ||||
| 	messageClient(%client, '', "\c6All of the commands can be shortened by just typing a \c3/\c6 and the capital letters!"); | ||||
| @@ -78,6 +83,7 @@ function serverCmdDupHelp(%client) | ||||
| //function serverCmdDV(%client){serverCmdDupVersion(%client);} | ||||
| //function serverCmdDC(%client){serverCmdDupClients(%client);} | ||||
| function serverCmdDH(%client){serverCmdDupHelp(%client);} | ||||
| function serverCmdNdHelp(%client) { serverCmdDupHelp(%client); } | ||||
|  | ||||
|  | ||||
|  | ||||
| @@ -291,11 +297,11 @@ function serverCmdNdCopy(%client) | ||||
| } | ||||
|  | ||||
| //Paste selection (ctrl v) | ||||
| function serverCmdNdPaste(%client) | ||||
| { | ||||
| 	if(%client.ndModeIndex) | ||||
| 		%client.ndMode.onPaste(%client); | ||||
| } | ||||
| //function serverCmdNdPaste(%client) | ||||
| //{ | ||||
| //	if(%client.ndModeIndex) | ||||
| //		%client.ndMode.onPaste(%client); | ||||
| //} | ||||
|  | ||||
| //Cut selection (ctrl x) | ||||
| function serverCmdNdCut(%client) | ||||
| @@ -1203,3 +1209,12 @@ function serverCmdPlantAs(%client, %t0, %t1, %t2, %t3, %t4) | ||||
|  | ||||
| //Alternative short command | ||||
| function serverCmdPA(%client, %t0, %t1, %t2, %t3, %t4) {serverCmdPlantAs(%client, %t0, %t1, %t2, %t3, %t4);} | ||||
|  | ||||
|  | ||||
| /////////////////////////////////////////////////////////////////////////// | ||||
| // Box history | ||||
|  | ||||
| function serverCmdPrevBox(%client) { %client.ndPrevBox(); } | ||||
| function serverCmdNextBox(%client) { %client.ndNextBox(); } | ||||
| function serverCmdPB(%client) { serverCmdPrevBox(%client); } | ||||
| function serverCmdNB(%client) { serverCmdNextBox(%client); } | ||||
|   | ||||
| @@ -24,10 +24,10 @@ function NewDuplicatorMode::onCopy(%this, %client) | ||||
| 	ndmessageClient(%client, '', "\c6Copy can not be used in your current duplicator mode."); | ||||
| } | ||||
|  | ||||
| function NewDuplicatorMode::onPaste(%this, %client) | ||||
| { | ||||
| 	ndmessageClient(%client, '', "\c6Paste can not be used in your current duplicator mode."); | ||||
| } | ||||
| //function NewDuplicatorMode::onPaste(%this, %client) | ||||
| //{ | ||||
| //	ndmessageClient(%client, '', "\c6Paste can not be used in your current duplicator mode."); | ||||
| //} | ||||
|  | ||||
| function NewDuplicatorMode::onCut(%this, %client) | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Redo
					Redo