Giter Club home page Giter Club logo

Comments (5)

CHR15cs avatar CHR15cs commented on June 12, 2024

Currently the .delete command requires a parameter with the id of the nade you want to delete. (use .nades to see the ID)
I can implement that it if no number is passed the last saved grenade will be deleted

from cs2-practice-plugin.

naofireblade avatar naofireblade commented on June 12, 2024

Ok cleared this up. It's wrong stated as .remove in the wiki :)

Do I need to pass the nade id to all nade commands? .desc, .rename, .addtag, .removeTag?
I remember the cs go practice plugin had a mechanism to apply these commands to the last loaded (not saved) nade. If last action was a save its also the loaded one.

from cs2-practice-plugin.

CHR15cs avatar CHR15cs commented on June 12, 2024

My bad, that wiki isnt up2date yet.

In the update planned for today, there will be a .editnade command.
This way you can select a grenade and edit it with .desc .rename etc. and no extra parameter is required.
In the last version I just totally forgott about it.

If you think its more convenient to just edit the last loaded grenade, that would be fine for me as well.

from cs2-practice-plugin.

naofireblade avatar naofireblade commented on June 12, 2024

I think it's more convenient yes. And i can imagine many users come from the cs go practice plugin and assume the same behavior.

from cs2-practice-plugin.

CHR15cs avatar CHR15cs commented on June 12, 2024

Implemented in commit b7ce25e
Release should be uploaded shortly :)

.delete without parameters will delete the last used or saved nade
to delete a specific nade use .delete

from cs2-practice-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.