mIRC Homepage
Posted By: SnakeRulez help.. - 05/09/03 12:27 PM
Help me please

i am doing this :

on *:TEXT:*:#:{
if ($network == mIRCx) {
if ($1 == !topic) && ($2 == $server(2).desc) {
scon 2 set %topic $chan(#fun-chan).topic
if (%topic == $null) {
set %topic No topic for #fun-chan!
}
scon 1 msg #FREES %topic
halt
}
}
if ($network == Macron) {
if ($1 == !topic) && ($2 == $server(1).desc) {
scon 1 set %topic $chan(#FREES).topic
if (%topic == $null) {
set %topic No topic for #FREES!
}
scon 2 msg #Fun-chan %topic
halt
}
}
}

and when i writing in other mirc this :
!topic macron
so in the status of the bot i see this :
* /set: invalid parameters

whats wrong?

and i want to do when i writing in mIRCx this
!nicks macron
this writing to the channel
Snake,o-g,LaDy^SwAnN-Away,Bot-Snake... and the other nicks that in the channel #fun-chan thats in macron


help me please
Posted By: Collective Re: help.. - 05/09/03 12:31 PM
Try:
scon 2 set % $+ topic $chan(#fun-chan).topic
scon 1 set % $+ topic $chan(#FREES).topic
Posted By: pheonix Re: help.. - 05/09/03 12:32 PM
the topics should be like this:
set %topic $iif($chan(#FREES).topic,$chan(#frees).topic,No Topic For #FREES!)
same for the other 1 smile
© mIRC Discussion Forums