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

Binding a key with 3+ spaces between each line


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rirre
Veteran Member
Join Date: Nov 2006
Old 07-23-2015 , 14:00   Binding a key with 3+ spaces between each line
Reply With Quote #1

Hi,

I don't remember if it's even possible to bind a string with several spaces between each line (in this case 3).
Hope someone else knows the solution for me.
I've tried this so far:
Code:
bind pgup "cmd * spk \'vox/test\'"
response: nothing
and
Code:
bind pgup "cmd * \'spk vox/test\'"
response: Unknown command: \
To make it clear. This is just for me via client console, not for slowhacking purpose.

The search engine is kinda broken when I used the words I really wanted to search for.
If you type in bind string or bind space* it always result into a 500 Internal Server Error. Figured out that this is kinda a common issue with it.
Rirre is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 07-23-2015 , 14:16   Re: Binding a key with 3+ spaces between each line
Reply With Quote #2

Should not it be: bind pgup "spk vox/test"
__________________
Jhob94 is offline
Rirre
Veteran Member
Join Date: Nov 2006
Old 07-23-2015 , 14:44   Re: Binding a key with 3+ spaces between each line
Reply With Quote #3

Quote:
Originally Posted by Jhob94 View Post
Should not it be: bind pgup "spk vox/test"
Sorry, forgot to say this is mentioned for me to press a key to send the speech to everyone.
Replace the cmd field I have put into the string with amx_exec for example.
Same way as the default AMXX Speech Menu works, but for a single speech on a key instead.

Last edited by Rirre; 07-23-2015 at 14:49.
Rirre is offline
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 07-23-2015 , 16:16   Re: Binding a key with 3+ spaces between each line
Reply With Quote #4

Alias ? (seems a solution for me)
__________________

Last edited by AmineKyo; 07-23-2015 at 16:17. Reason: Alaiz xD
AmineKyo is offline
Rirre
Veteran Member
Join Date: Nov 2006
Old 07-23-2015 , 23:57   Re: Binding a key with 3+ spaces between each line
Reply With Quote #5

Code:
alias "playsnd" "amx_exec * spk vox/test"
or
alias "playsnd" "amx_exec * spk \'vox/test\'"
bind pgup "playsnd"
Nor this.

Last edited by Rirre; 07-24-2015 at 00:01.
Rirre is offline
Reply



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 03:09.


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