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

Holzberg's EasySay


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:         
holzberg
Junior Member
Join Date: Sep 2004
Old 09-30-2004 , 09:57   Holzberg's EasySay
Reply With Quote #1

This plugin allows you to use say and say_team to do a command.

You need to "say !" followed by the command minus "amx_". This plugin will add "amx_" to the command.

Here are a few examples:

say !slap holzberg
say !kick holzberg
say !tsay here is my message
Any command that begins with "amx_" will work.

EDIT: Added requested function
To repeat last command:
say !#


Enjoy!
Attached Files
File Type: sma Get Plugin or Get Source (amx_holz_easysay.sma - 1356 views - 975 Bytes)
holzberg is offline
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 09-30-2004 , 11:42  
Reply With Quote #2

Add the ability to hide what your saying so you can secretly slap someone, etc.

Maybe like this:

#!csay Message
#!slap player
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
LizardKing
Member
Join Date: Sep 2004
Old 09-30-2004 , 12:30  
Reply With Quote #3

why did u post the sma in a zip file, plz post it the normal way so i can use online compiler. TY
LizardKing is offline
Send a message via MSN to LizardKing
holzberg
Junior Member
Join Date: Sep 2004
Old 09-30-2004 , 13:25  
Reply With Quote #4

It already will not print out any text that starts with "!". Thsi means the commands won't print out in chat.

There is an option in the amxx config file that will disable the display when you do a command. All this plugin does is send the command to your console. So if you have command display on in the setting it will display it to screen. Also, if you dont have access to a command it will not work either.


Sorry about that.
holzberg is offline
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 09-30-2004 , 13:30  
Reply With Quote #5

Quote:
Originally Posted by holzberg
I can add the option to hide, but then it will also depend on your amx seeting to not display the that you slapped someone.

I will add this and then update with a non-zipped file.

Sorry about that.
Thats fine, I thought it would be a nice addon
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
holzberg
Junior Member
Join Date: Sep 2004
Old 09-30-2004 , 13:38  
Reply With Quote #6

Quote:
Originally Posted by Kamikaze
Quote:
Originally Posted by holzberg
I can add the option to hide, but then it will also depend on your amx seeting to not display the that you slapped someone.

I will add this and then update with a non-zipped file.

Sorry about that.
Thats fine, I thought it would be a nice addon
I edited that post
holzberg is offline
Jedi
Member
Join Date: Mar 2004
Location: Houston, TX
Old 09-30-2004 , 23:03  
Reply With Quote #7

Thank you for this plugin. Good job. Works great.
__________________
Jedi is offline
holzberg
Junior Member
Join Date: Sep 2004
Old 10-01-2004 , 07:54  
Reply With Quote #8

Your welcome.

I have written many plugins but hesitate to post because I don't have a lot of time to add to them and that is mainly what most people ask for.

Someone begged me for this and told me to post it so I did. I am glad you are enjoying it.

holzberg is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 10-01-2004 , 14:17  
Reply With Quote #9

Not a bad plugin.

Maybe i will check this out.
__________________

BigBaller is offline
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 10-03-2004 , 01:24  
Reply With Quote #10

Can you add a way to repeat the last command ran.

For Instance:

say "!#"

You could bind a key do that and you could do something like csaying a message 4 times, slapping a person for doing something he shouldn't be, etc.

If you need help with the repeating, look for the BAILROOT Plugin in the AMX forums, it does this exact thing except his plugin used $ command instead of !command
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
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 07:10.


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