mIRC Home    About    Download    Register    News    Help

Print Thread
#216839 04/12/09 06:34 AM
Joined: May 2009
Posts: 28
B
Ameglian cow
OP Offline
Ameglian cow
B
Joined: May 2009
Posts: 28
hi there , can anyone teach me how to write a changing topic command? Example when i type !topic welcome to #abc the room topic will automatically change it.Thank you

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
1) If the topic is locked via chanserv (or the equivalent) this will only change it temporarily.
2) The client running the code must be opped in the channel.
Code:
on @*:text:!topic*:#:  .topic $chan $$2-


Joined: May 2009
Posts: 28
B
Ameglian cow
OP Offline
Ameglian cow
B
Joined: May 2009
Posts: 28
i tried putting in remote but it dun work

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
You yourself cannot trigger on TEXT events from the same client that's running the code.
For your result, see /help on input


Link Copied to Clipboard