Hi can some one help how can i add a command that will allow ppl to send reports to a specified room the command i want to add is
/report
How this will work if a chatter types /report joejoebloggs is being an idiot in #roomname it will relay this message to #ops via my eggdrop the message that will be relayed will look like this botsnick joebloggs reported joejoebloggs for being an idiot
Also I use an eggdrop that runs my channels how can i add a command so the server recognises
/botnick as a command rather than have to do /msg botnick commands
example
/botnick kill joejoebloggs
this will then recognise the command and then send the command to the bot do a kill or what ever command is specified
Thanks in advance
how to add a command
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Re: how to add a command
This can already be done with Unreal's built-in alias block:
All you need to do is keep the channel available to outside messages (-n). I recommend modes for the channel as +tOp to keep people out, but to still allow messages being sent to it.
Code: Select all
alias report {
target "#ops";
type normal;
spamfilter yes;
};
Re: how to add a command
Ive added this to my aliases.conf just says,REPORT Unknown command have i put in the right placeStealth wrote:This can already be done with Unreal's built-in alias block:
All you need to do is keep the channel available to outside messages (-n). I recommend modes for the channel as +tOp to keep people out, but to still allow messages being sent to it.Code: Select all
alias report { target "#ops"; type normal; spamfilter yes; };
Re: how to add a command
Did you do a rehash and did you include the file to the unrealircd.conf
Ex Network-Administrator
Re: how to add a command
I`ve added that text to my aliases.conf rehashed the server and its included in my unreal.conf
include "aliases/aliases.conf";
include "aliases/aliases.conf";
Re: how to add a command
And if you just try to add it to the unrealircd.conf ?
Ex Network-Administrator
Re: how to add a command
I have taken it out of the aliases.conf and added it to unreal.conf i`ve also had it on both configs I get no errors when I rehash but still get REPORT unknown command when i type /report etc,ect,ect