mIRC Home    About    Download    Register    News    Help

Print Thread
on 1 join #36144 13/07/03 07:03 PM
Joined: Jul 2003
Posts: 16
M
MaGoNeGrO Offline OP
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.

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

Re: on 1 join #36146 13/07/03 07:20 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline
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.
Re: on 1 join #36147 13/07/03 09:13 PM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
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
Re: on 1 join #36148 14/07/03 03:22 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
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
Re: on 1 join #36149 14/07/03 07:29 AM
Joined: Dec 2002
Posts: 191
N
Nobodi Offline
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
You mean just like the one Hammer just used.

on me:1:JOIN:#:

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


-KingTomato