mIRC Home    About    Download    Register    News    Help

Print Thread
#36144 13/07/03 07:03 PM
Joined: Jul 2003
Posts: 16
M
Pikka bird
OP Offline
Pikka bird
M
Joined: Jul 2003
Posts: 16
on 1:join:#: iif $nick== $me { .echo -s $chan 0,7 Bienvenido a # 12,0 | .mode # +h $me }
please help.

#36145 13/07/03 07:16 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
if, not iif

#36146 13/07/03 07:20 PM
Joined: Mar 2003
Posts: 437
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
Code:
on 1:join:#: if  [color:red]$nick ==[/color]  $me { .echo -s $chan 0,7 Bienvenido a # 12,0 | .mode # +h $me }

Last edited by MTech; 13/07/03 07:21 PM.
#36147 13/07/03 09:13 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
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.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#36148 14/07/03 03:22 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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


-KingTomato
#36149 14/07/03 07:29 AM
Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
You mean just like the one Hammer just used.

on me:1:JOIN:#:

#36150 14/07/03 07:43 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
yea, something like that... lol, sorry im halfawake >:D


-KingTomato

Link Copied to Clipboard