Raised This Month: $ Target: $400
 0% 

command question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
rex
Senior Member
Join Date: Mar 2004
Location: Australia
Old 04-15-2004 , 22:22   command question
Reply With Quote #1

okay just a simple question (i hope)
first i better tell you want i am trying to do.
got a plugin (easyspeech by Eric Lidman aka Ludwig van)
and it say that you can use the commands in the console or by just saying them.
eg: to say hello with vox the comand is "yy", so to say something you would press "y"(chat) and type "yy hello" and the vox should say hello. However this isn't working.
i have to bring down the console and type it "yy hello" and then it works.

have being trying to work out what is wrong with the comands but after three nights trying i have got nowhere.
anyway i think i have to change something in here.
Code:
public plugin_init() { register_plugin("Easy Speech Plugin","1.4c","EJL") register_concmd("yy","sp_shrtcut",ADMIN_MAP,"<msg>: Speak words on system of everyone. <vox>") register_concmd("uu","sp_shrtcut",ADMIN_MAP,"<msg>: Speak words on system of everyone. <fvox>") register_concmd("ii","sp_shrtcut",ADMIN_MAP,"<msg>: Speak words on system of everyone. <scientist>") register_concmd("rr","sp_shrtcut",ADMIN_MAP,"<msg>: Speak words on system of everyone. <barney>") register_concmd("tt","sp_shrtcut",ADMIN_MAP,"<msg>: Speak words on system of everyone. <hgrunt>") register_concmd("amx_speakall","sp_shrtcut",ADMIN_MAP,"<msg>: Speak words on system of everyone.") register_concmd("amx_speakteam","sp_shrtcut",ADMIN_MAP,"<team> <msg>: Speak words on a whole team.") register_concmd("amx_speak","sp_shrtcut",ADMIN_MAP,"<part of nick> <msg>: Speak words on a player.") register_concmd("amx_stopallsounds","admin_stopallsounds",ADMIN_MAP,"executes stopsound on all clients -- useful for ending looped sounds.") register_clcmd("yy_help","admin_ssearch",ADMIN_MAP,"yy_help <search target>: Find words to speak from <vox>") register_clcmd("uu_help","admin_ssearch",ADMIN_MAP,"uu_help <search target>: Find words to speak from <fvox>") register_clcmd("tt_help","admin_ssearch",ADMIN_MAP,"tt_help <search target>: Find words to speak from <hgrunt>") register_clcmd("rr_help","admin_ssearch",ADMIN_MAP,"rr_help <search target>: Find words to speak from <barney>") register_clcmd("ii_help","admin_ssearch",ADMIN_MAP,"ii_help <search target>: Find words to speak from <scientist>") register_clcmd("say","handle_say")

not sure what to change those.
try adding /say in frunt of the comands that don't work(don't think you need it with "register_clcmd("say","handle_say") )
sure it is something simple just i can't work it out.
hope you can help
thanks
rex is offline
Send a message via MSN to rex
 



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


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