Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

Unreal alias

 
Post new topic   Reply to topic    SearchIRC Forum Index -> IRC Scripts
Author Message
UKhappychat
none
none


Joined: 08 Mar 2008
Posts: 28

PostPosted: Mar 21, 2008 4:17pm    Post subject: Unreal alias Reply with quote

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
Guru


Joined: 05 Feb 2005
Posts: 1949
Location: New Zealand

PostPosted: Mar 21, 2008 5:56pm    Post subject: Reply with quote

Code:
alias botname {
  format ".*" {
    target botname;
    type real;
    parameters "%1-";
  };
  type command;
  spamfilter no;
};

UnrealIRCd Documentation :: Alias block
Back to top
UKhappychat
none
none


Joined: 08 Mar 2008
Posts: 28

PostPosted: Mar 22, 2008 8:56am    Post subject: Reply with quote

Thankyou for the quick response..

all the best
Back to top
UKhappychat
none
none


Joined: 08 Mar 2008
Posts: 28

PostPosted: Mar 23, 2008 11:09am    Post subject: Reply with quote

PingBad wrote:
Code:
alias botname {
  format ".*" {
    target botname;
    type real;
    parameters "%1-";
  };
  type command;
  spamfilter no;
};

UnrealIRCd Documentation :: Alias block


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
Guru


Joined: 28 Jun 2004
Posts: 1029

PostPosted: Mar 23, 2008 11:52am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> IRC Scripts All times are GMT - 6 Hours
Page 1 of 1

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer