mIRC Homepage
Posted By: MaGoNeGrO on 1 join - 13/07/03 07:03 PM
on 1:join:#: iif $nick== $me { .echo -s $chan 0,7 Bienvenido a # 12,0 | .mode # +h $me }
please help.
Posted By: codemastr Re: on 1 join - 13/07/03 07:16 PM
if, not iif
Posted By: MTech Re: on 1 join - 13/07/03 07:20 PM
Code:
on 1:join:#: if  [color:red]$nick ==[/color]  $me { .echo -s $chan 0,7 Bienvenido a # 12,0 | .mode # +h $me }
Posted By: Hammer Re: on 1 join - 13/07/03 09:13 PM
or:

on me:1:JOIN:#: .echo -s $chan 0,7 Bienvenido a # 12,0 | .mode $chan +h $me

However, if you've just joined the channel, how can you set a channel mode? You won't be opped at the time. If you've just joined and created the channel, you'll be alone and already opped, so again, the +h would be unnecessary.
Posted By: KingTomato Re: on 1 join - 14/07/03 03:22 AM
there should be an "if nick == $me" prefix for mirc just as there's a "if $nick != $me". Save atleast 1 line of code >:D
Posted By: Nobodi Re: on 1 join - 14/07/03 07:29 AM
You mean just like the one Hammer just used.

on me:1:JOIN:#:
Posted By: KingTomato Re: on 1 join - 14/07/03 07:43 AM
yea, something like that... lol, sorry im halfawake >:D
© mIRC Discussion Forums