mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2008
Posts: 167
S
Vogon poet
OP Offline
Vogon poet
S
Joined: Oct 2008
Posts: 167
On entrance into a channel (#bb9viewer) I want to automatically say: !modes

just not quite sure...

I think "on *:JOIN:*" is for other people joining... not yourself.

Joined: Sep 2008
Posts: 62
_
Babel fish
Offline
Babel fish
_
Joined: Sep 2008
Posts: 62
on me:JOIN:#bb9viewer:msg # !modes

Joined: Oct 2008
Posts: 167
S
Vogon poet
OP Offline
Vogon poet
S
Joined: Oct 2008
Posts: 167
cool... Thanks!

smile

Joined: Oct 2008
Posts: 167
S
Vogon poet
OP Offline
Vogon poet
S
Joined: Oct 2008
Posts: 167
Sorry... but it doesn't seam to work.

Joined: Nov 2008
Posts: 8
D
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
D
Joined: Nov 2008
Posts: 8
i would rather go with:
on *:join:#bb9viewer: if ( $me == $nick ) /msg # !mode

Joined: Sep 2008
Posts: 62
_
Babel fish
Offline
Babel fish
_
Joined: Sep 2008
Posts: 62
Oops, it's 'me' before the level so it's 'me:*:' instead. Sorry, I always forget that.

Joined: Sep 2008
Posts: 62
_
Babel fish
Offline
Babel fish
_
Joined: Sep 2008
Posts: 62
the slash ('/') prefix is not necessary in scripts.

the me: prefix works the same as if ($nick == $me), so either or. The only difference is the size of code.

Joined: Oct 2008
Posts: 167
S
Vogon poet
OP Offline
Vogon poet
S
Joined: Oct 2008
Posts: 167
No problem...

Thanks!

Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
It didn't work because it is missing the user level of the event.

on me:*:join:#:{ }

edit: oh sorry memo I didnt see that you corrected yourself.

Last edited by DJ_Sol; 14/11/08 12:49 AM.

Link Copied to Clipboard