|
|
| Author |
Message |
UKhappychat none

Joined: 08 Mar 2008 Posts: 28
|
Posted: Mar 21, 2008 4:17pm Post subject: Unreal alias |
|
|
Hello.
we've got a bot which will be used for banning, kicking, oping people up etc but we don't want to keep using the !command /msg bot command
i've come across the alias and i want to use it so when i type
/botname <command> it shall do the command?
whats the correct alias format for it please
thanks |
|
| Back to top |
|
 |
PingBad Guru

Joined: 05 Feb 2005 Posts: 1949 Location: New Zealand
|
Posted: Mar 21, 2008 5:56pm Post subject: |
|
|
| Code: | alias botname {
format ".*" {
target botname;
type real;
parameters "%1-";
};
type command;
spamfilter no;
}; |
UnrealIRCd Documentation :: Alias block |
|
| Back to top |
|
 |
UKhappychat none

Joined: 08 Mar 2008 Posts: 28
|
Posted: Mar 22, 2008 8:56am Post subject: |
|
|
Thankyou for the quick response..
all the best |
|
| Back to top |
|
 |
UKhappychat none

Joined: 08 Mar 2008 Posts: 28
|
Posted: Mar 23, 2008 11:09am Post subject: |
|
|
Tried that command, all it does is pop's the message up in mirc
iany other reason why it won't do the command |
|
| Back to top |
|
 |
katsklaw Guru

Joined: 28 Jun 2004 Posts: 1029
|
Posted: Mar 23, 2008 11:52am Post subject: |
|
|
| All Unreal can do is send the command to your bot, it's up to you to code it correctly. The fact that mIRC pops up a window shows that Unreal did it's job. |
|
| Back to top |
|
 |
|