mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2004
Posts: 9
N
naval Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: May 2004
Posts: 9
this string is writen in my script:
on *:join:*:if ($nick = $me) && (%autohi == on) {
/msg $chan $read txt/hello.txt }

- this string writes on join #(channel) : "Hi!"(as I said this), but is it possible to change this string in the way it worked like this:
on joining as an "action"
for example , like this :
*naval saying Hello to all",
as it would be typed as /me ...,
I have tryed many times to change it :
on *:join:*:if ($nick = $me) && (%autohi == on) { /me $chan $read txt/hello.txt }

on *:join:*:if ($nick = $me) && (%autohi == on) { /me $read txt/hello.txt }

on *:join:*:if ($nick = $me) && (%autohi == on) { /msg $chan /me $read txt/hello.txt }
.....................but they all are not working... confused

so, help me, to change it... shocked

Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Hi,

put the following into your remotes.
Code:
  
on me:*:JOIN:#: if %autohi == on { describe # $read(hello.txt) }


I'm assumign that you have a .txt file called hello.txt in your main mIRC folder.

Greets


Gone.
Joined: May 2004
Posts: 9
N
naval Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: May 2004
Posts: 9
thanks! everything is working ! grin


Link Copied to Clipboard