mIRC Home    About    Download    Register    News    Help

Print Thread
#47377 05/09/03 12:27 PM
Joined: Mar 2003
Posts: 49
S
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Mar 2003
Posts: 49
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

#47378 05/09/03 12:31 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Try:
scon 2 set % $+ topic $chan(#fun-chan).topic
scon 1 set % $+ topic $chan(#FREES).topic

#47379 05/09/03 12:32 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
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


new username: tidy_trax

Link Copied to Clipboard