Files

> > CS2D > Lua Scripts > Undo Command # HC 1.9.4
Files overviewCS2D overviewLua Scripts overview

English Undo Command # HC 1.9.4 >

0 comments86 kb, 335 Downloads

old Undo Command # HC 1.9.4

Mami Tomoe
User Off Offline

Hello!

This is a technical module that you may implement into file cs2d HC Admin Script 1.9.4 (21/10/2025) or file cs2d HC Admin Script 1.9.3 .

This module will implement the "undo" API.
Said API allows for developers to integrate the ability for players to revert actions (commonly commands) made by themselves.
For example you may teleport player A to player B, regret it, and use the undo say command to revert the action (teleport player A back to their original position).

spam Comparable scripts that also have this feature:
file cs2d Y.A.T.E.S (3.0.2) - Admin Script / Framework & file cs2d [Yank] Bass Powertool (Admin Script) - Both only allow to revert the last command, while my API allows to revert any number of commands (configurable, default is 3).
Furthermore, my API accepts a function as opposed to a string, which makes it so much more powerful.

INFO
You may look at compatible modules below to understand how to use the API, or the documentation in the module itself.

× Currently the original commands are not supported.
This may change in the future with future updates to file cs2d HC Admin Script 1.9.4 (21/10/2025) , stay tuned.


∗ Suggested by user Mora.

Usage video: https://youtu.be/zMYbVy1_hR8

IMG:https://raw.githubusercontent.com/Mami-Tomoe/hc-194/refs/heads/main/Resources/Font_Awesome_5_brands_github.svg.png
edited 6×, last 21.10.25 05:06:06 pm
Approved by Gaios

Download Download

86 kb, 335 Downloads

Comments

0 comments

Log in!

You need to log in to be able to write comments!Log in