Raised This Month: $12 Target: $400
 3% 

[ANY] Command Shortcuts


Post New Thread Reply   
 
Thread Tools Display Modes
starcs
Member
Join Date: Nov 2018
Old 05-31-2021 , 16:36   Re: [ANY] Command Shortcuts
Reply With Quote #11

Nice plugin! Have a way to add a entry like "steamid" and let just the specified steamid use the command?
__________________
Founder of ⭐ STRTEAM
starcs is offline
The Solid lad
Senior Member
Join Date: Oct 2018
Old 05-31-2021 , 16:54   Re: [ANY] Command Shortcuts
Reply With Quote #12

Nice plugin!

You recommended it to me on discord, because I was looking for a hl_chatresponder alternative, which supports adding multiple chat triggers for the same command ("say" command in this case, issued by the console), but it looks like your plugin doesn't do that either... yet.

And as far as I can see, it also has downsides compared to hl_chatresponder, namely:
It can't recognize chat triggers which are part of a sentence, or don't have the "!" or "/" prefix.
__________________

Last edited by The Solid lad; 05-31-2021 at 16:59.
The Solid lad is offline
stephen473
Senior Member
Join Date: Jan 2017
Location: somewhere on earth
Old 11-12-2021 , 16:09   Re: [ANY] Command Shortcuts
Reply With Quote #13

Quote:
Originally Posted by starcs View Post
Nice plugin! Have a way to add a entry like "steamid" and let just the specified steamid use the command?
thank you, currently this is not supported. will be added.

Quote:
Originally Posted by The Solid lad View Post
Nice plugin!

You recommended it to me on discord, because I was looking for a hl_chatresponder alternative, which supports adding multiple chat triggers for the same command ("say" command in this case, issued by the console), but it looks like your plugin doesn't do that either... yet.

And as far as I can see, it also has downsides compared to hl_chatresponder, namely:
It can't recognize chat triggers which are part of a sentence, or don't have the "!" or "/" prefix.
if you do not use "registershortcut", you can register the trigger whatever u want, but in this plugin you need to call exact word you specified to activate trigger.
__________________
Also known as Hardy`.

Feel free to contact me if you have a private plugin request!

My Steam Profile | Discord: Hardy`#3792
stephen473 is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 11-13-2021 , 11:14   Re: [ANY] Command Shortcuts
Reply With Quote #14

Quote:
Originally Posted by stephen473 View Post
Quote:
Originally Posted by starcs View Post
Nice plugin! Have a way to add a entry like "steamid" and let just the specified steamid use the command?
thank you, currently this is not supported. will be added.
You can also add that the possible targets are also the clientindex id?
There are plugins like [L4D2] Speedrunner Tools require the player's clientindex id to select the target.
Or maybe need another plugin for this... I don't know

Last edited by Tonblader; 11-13-2021 at 11:18.
Tonblader is offline
stephen473
Senior Member
Join Date: Jan 2017
Location: somewhere on earth
Old 11-25-2021 , 04:34   Re: [ANY] Command Shortcuts
Reply With Quote #15

Quote:
Originally Posted by Tonblader View Post
You can also add that the possible targets are also the clientindex id?
There are plugins like [L4D2] Speedrunner Tools require the player's clientindex id to select the target.
Or maybe need another plugin for this... I don't know
{player} is actually stands for userid, which is equal to client index id. you can safely use it.
__________________
Also known as Hardy`.

Feel free to contact me if you have a private plugin request!

My Steam Profile | Discord: Hardy`#3792

Last edited by stephen473; 11-25-2021 at 04:36.
stephen473 is offline
stephen473
Senior Member
Join Date: Jan 2017
Location: somewhere on earth
Old 11-25-2021 , 04:56   Re: [ANY] Command Shortcuts
Reply With Quote #16

updated!

new version 1.2
Added option to use a specified STEAMID instead of admin flag. Requested by starcs

see main post to download the latest version.
__________________
Also known as Hardy`.

Feel free to contact me if you have a private plugin request!

My Steam Profile | Discord: Hardy`#3792
stephen473 is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 12-02-2021 , 19:12   Re: [ANY] Command Shortcuts
Reply With Quote #17

yes i loved this,i try my older plugins recompile for change trigger command, ,i seem i dont need anymore
__________________
NoroHime is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 12-02-2021 , 19:30   Re: [ANY] Command Shortcuts
Reply With Quote #18

since not works for me
PHP Code:
sm_v
L 12
/03/2021 08:27:30: [SMException reportedClient index 0 is invalid
L 12
/03/2021 08:27:30: [SMBlamingsm_commandshortcuts.smx
L 12
/03/2021 08:27:30: [SMCall stack trace:
L 12/03/2021 08:27:30: [SM]   [0IsClientInGame
L 12
/03/2021 08:27:30: [SM]   [1Line 94C:\Users\Ka*********an\Downloads\sm_commandshortcuts_v1.1\addons\sourcemod\scripting\sm_commandshortcuts.sp::Command_ShortCutTrigger 
all example also not works
it triggered like
[SM] Player NOЯO triggered an shortcut! (sm_fly)
but nothing happen
im running sm1.11 with l4d2
__________________
NoroHime is offline
stephen473
Senior Member
Join Date: Jan 2017
Location: somewhere on earth
Old 12-10-2021 , 15:26   Re: [ANY] Command Shortcuts
Reply With Quote #19

Quote:
Originally Posted by NoroHime View Post
since not works for me
PHP Code:
sm_v
L 12
/03/2021 08:27:30: [SMException reportedClient index 0 is invalid
L 12
/03/2021 08:27:30: [SMBlamingsm_commandshortcuts.smx
L 12
/03/2021 08:27:30: [SMCall stack trace:
L 12/03/2021 08:27:30: [SM]   [0IsClientInGame
L 12
/03/2021 08:27:30: [SM]   [1Line 94C:\Users\Ka*********an\Downloads\sm_commandshortcuts_v1.1\addons\sourcemod\scripting\sm_commandshortcuts.sp::Command_ShortCutTrigger 
all example also not works
it triggered like
[SM] Player NOЯO triggered an shortcut! (sm_fly)
but nothing happen
im running sm1.11 with l4d2
it seems like you are running an older version
__________________
Also known as Hardy`.

Feel free to contact me if you have a private plugin request!

My Steam Profile | Discord: Hardy`#3792
stephen473 is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 12-11-2021 , 05:01   Re: [ANY] Command Shortcuts
Reply With Quote #20

im running sm1.11 is latest version, since problem may from listen server?
__________________
NoroHime is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode