How to message the topic of a channel?
if you type !saytopic that the bot says the topic of the channel?
this command tells you the current topic in the channel /topic #ChannelName .... are you wanting this to be messaged to the channel? Because the /topic command just tells you the current topic.
You can't type !saytopic using the same nickname that the script's in.
are your remotes on, becuase that worked fine for me.
Can you explain to me why it's $chan($chan).topic ? msg $chan tells the "bot" to msg the channel. And $chan($chan).topic tells what? My best shoot would me that($chan).topic is the topic of the channel and i don't know whant the $chan before that should do. Can you tell me?
It is two seperate $chan meanings, the $chan on its own is a remote (event) identifier, and is the channel the event occured in.
The $chan(channel name here).prop is a Widnow identifier and gives info about a channel, so
$chan( $chan ).topic, can only be isssued from inside an event or an alias called from an event, sicne it relys on the $chan remote identifier to tell it what channel to look up in the window identifier $chan()
try typing this on the mirc line
//echo -a $chan(insert a channel name here your on).topic
also see
/help $chan
both topics
AAaaah... Then I understand
It just looked wierd with 3 $chan i a rough