mIRC Home    About    Download    Register    News    Help

Print Thread
#216839 04/12/09 06:34 AM
B
Babystone
Babystone
B
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,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
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-


B
Babystone
Babystone
B
i tried putting in remote but it dun work

5
5618
5618
5
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