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

advanced auto responder.. please help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
h3h3
Senior Member
Join Date: Sep 2011
Old 02-21-2013 , 13:06   advanced auto responder.. please help
Reply With Quote #1

Hello, I would like to know if its possible to make it:
When a client writes "!report x" (x = nick of a player who currently at the server. if the 'reporter' mistype the name of the client we want to report, the plugin will print the player a msg that it couldn't find anyone with the name he have writed)
The plugin will print to the client a msg saying: "[team-depens-color or only blue] Hello , [green]thanks for your input!"
*as requested above, the "!report whatevernickname" cmd will not be shown at the chat, only the autorespond(s)
h3h3 is offline
didoWEE
Senior Member
Join Date: Oct 2012
Location: Bulgaria
Old 02-21-2013 , 16:03   Re: advanced auto responder.. please help
Reply With Quote #2

i didn't understand the first sentence..
you want to know if it is possible OR if s1 will make it
didoWEE is offline
h3h3
Senior Member
Join Date: Sep 2011
Old 02-21-2013 , 16:04   Re: advanced auto responder.. please help
Reply With Quote #3

Quote:
Originally Posted by didoWEE View Post
i didn't understand the first sentence..
you want to know if it is possible OR if s1 will make it
haha, if someone can make it
h3h3 is offline
didoWEE
Senior Member
Join Date: Oct 2012
Location: Bulgaria
Old 02-21-2013 , 16:10   Re: advanced auto responder.. please help
Reply With Quote #4

much people can make it
didoWEE is offline
quilhos
Veteran Member
Join Date: Jun 2010
Old 02-22-2013 , 09:15   Re: advanced auto responder.. please help
Reply With Quote #5

What you asking is a reporting system not a "advanced auto responder".
Search for that or see this link http://forums.alliedmods.net/showthread.php?t=142122
__________________
ELO RATING SYSTEM - SQL [COMPLETE]
Quote:
Originally Posted by Liverwiz View Post
DDDRRRRAAAAMMMMAAAAA!!!???

Put this shit on pause while i go get some popcorn!!
quilhos is offline
h3h3
Senior Member
Join Date: Sep 2011
Old 02-22-2013 , 12:16   Re: advanced auto responder.. please help
Reply With Quote #6

Quote:
Originally Posted by quilhos View Post
What you asking is a reporting system not a "advanced auto responder".
Search for that or see this link http://forums.alliedmods.net/showthread.php?t=142122
No, I dont want a plugin which makes it. just the autoresponder requrest I have asked for.
h3h3 is offline
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 02-22-2013 , 12:50   Re: advanced auto responder.. please help
Reply With Quote #7

Quote:
Originally Posted by h3h3 View Post
No, I dont want a plugin which makes it. just the autoresponder requrest I have asked for.
No idea if this will work but you can try

Code:
#include <amxmodx>
#include <colorchat>
new const PLUGIN[]  = "REPORT THING? IDK"
new const VERSION[]  = "1.0"
new const AUTHOR[]  = "ironskillz1"
public plugin_init()
{
register_clcmd( "say", "Report" )
}
public Report( id )
{
static arg [ 36 ]
new target [ 32 ]
read_argv ( 1, arg, sizeof ( arg ) - 1 )
parse (arg, arg, 35, target, sizeof ( target ) - 1 )
if ( equali ( arg, "!report" ) )
{
if ( !target [ 0 ] )
        {
                ColorChat(id, GREY, "You need to write a name!");
                
        }
 else
 {
  new iPlayerNameID = cmd_target ( id, target, 2 )
  if ( iPlayerNameID )
   Report? ( id, iPlayerNameID ) // report TARGET HERE!
                        give_item( iPlayerNameID, "weapon_shield" ) // EXEMPLE THIS CODE GIVE TARGET A SHIELD
   else
    ColorChat(id, GREY, "There is no OR multiple players with that name: '^x04 %s^x03 '", target);
  }
  return PLUGIN_HANDLED
 }
 return PLUGIN_CONTINUE
}
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
h3h3
Senior Member
Join Date: Sep 2011
Old 02-26-2013 , 15:44   Re: advanced auto responder.. please help
Reply With Quote #8

Quote:
Originally Posted by ironskillz1 View Post
No idea if this will work but you can try

Code:
#include <amxmodx>
#include <colorchat>
new const PLUGIN[]  = "REPORT THING? IDK"
new const VERSION[]  = "1.0"
new const AUTHOR[]  = "ironskillz1"
public plugin_init()
{
register_clcmd( "say", "Report" )
}
public Report( id )
{
static arg [ 36 ]
new target [ 32 ]
read_argv ( 1, arg, sizeof ( arg ) - 1 )
parse (arg, arg, 35, target, sizeof ( target ) - 1 )
if ( equali ( arg, "!report" ) )
{
if ( !target [ 0 ] )
        {
                ColorChat(id, GREY, "You need to write a name!");
                
        }
 else
 {
  new iPlayerNameID = cmd_target ( id, target, 2 )
  if ( iPlayerNameID )
   Report? ( id, iPlayerNameID ) // report TARGET HERE!
                        give_item( iPlayerNameID, "weapon_shield" ) // EXEMPLE THIS CODE GIVE TARGET A SHIELD
   else
    ColorChat(id, GREY, "There is no OR multiple players with that name: '^x04 %s^x03 '", target);
  }
  return PLUGIN_HANDLED
 }
 return PLUGIN_CONTINUE
}
???
h3h3 is offline
h3h3
Senior Member
Join Date: Sep 2011
Old 03-13-2013 , 17:07   Re: advanced auto responder.. please help
Reply With Quote #9

???
h3h3 is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 03-13-2013 , 18:35   Re: advanced auto responder.. please help
Reply With Quote #10

Quote:
Originally Posted by h3h3 View Post
???
What is your question? Your post is essentially useless. Did the plugin work? If not, what did you try, or what errors did you get? Lazy requests typically don't get answers...
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
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 06:28.


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