mIRC Home    About    Download    Register    News    Help

Topic Options
#36144 - 13/07/03 08:03 PM on 1 join
MaGoNeGrO Offline
Pikka bird

Registered: 09/07/03
Posts: 16
on 1:join:#: iif $nick== $me { .echo -s $chan 0,7 Bienvenido a # 12,0 | .mode # +h $me }
please help.

Top
#36145 - 13/07/03 08:16 PM Re: on 1 join
codemastr Offline
Hoopy frood

Registered: 12/12/02
Posts: 2809
if, not iif

Top
#36146 - 13/07/03 08:20 PM Re: on 1 join
MTech Offline
Fjord artisan

Registered: 05/03/03
Posts: 437
Code:
on 1:join:#: if  [color:red]$nick ==[/color]  $me { .echo -s $chan 0,7 Bienvenido a # 12,0 | .mode # +h $me }


Edited by MTech (13/07/03 08:21 PM)

Top
#36147 - 13/07/03 10:13 PM Re: on 1 join
Hammer Offline
Hoopy frood

Registered: 07/12/02
Posts: 1321
Loc: Georgia, USA
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

Top
#36148 - 14/07/03 04:22 AM Re: on 1 join
KingTomato Offline
Planetary brain

Registered: 04/01/03
Posts: 3012
Loc: New Hampshire, USA
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

Top
#36149 - 14/07/03 08:29 AM Re: on 1 join
Nobodi Offline
Vogon poet

Registered: 10/12/02
Posts: 191
Loc: Australia
You mean just like the one Hammer just used.

on me:1:JOIN:#:

Top
#36150 - 14/07/03 08:43 AM Re: on 1 join
KingTomato Offline
Planetary brain

Registered: 04/01/03
Posts: 3012
Loc: New Hampshire, USA
yea, something like that... lol, sorry im halfawake >:D
_________________________
-KingTomato

Top