mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2008
Posts: 167
S
Vogon poet
OP Offline
Vogon poet
S
Joined: Oct 2008
Posts: 167
When someone types "!cmodes"
I want my bot to reply with the current modes set on the channel.

e.g.
Quote:
<+user> !cmodes
<+Bot> Current modes on this channel is: mGfnt


Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
on *:text:!cmodes:#:{
  .msg $chan Current modes on this channel are: $chan($chan).mode
}


Link Copied to Clipboard