Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added [last] in weapon commands #79

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JustSamuel
Copy link
Contributor

This allows for 'last' to be used in commands and it will be replaced
with the last weapon the user has found.

where getLastWeaponID is the actually query / finding of the ID and
replaceLastWithID just loops through the args c if its either
last or l and replaces it with getLastWeaponID.

Intent: QOL improvement, since typing weapon codes after opening a
crate on mobile can be quite annoying. 'owo crate + owo w last' is easier.

This allows for 'last' to be used in commands and it will be replaced
with the last weapon the user has found.

where getLastWeaponID is the actually query / finding of the ID and
replaceLastWithID just loops through the args checking if its either
last or l and replaces it with getLastWeaponID.

Intent: QOL improvement, since typing weapon codes after opening a
crate on mobile can be quite annoying. owo crate + owo w last is easier.
@ChristopherBThai
Copy link
Owner

Although rare, major issues can occur if the uwid returns a string like epic, common, rare, etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants