mIRC Homepage
Posted By: naval scripting, ... When do I understand it ? - 28/05/04 07:31 PM
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
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
Posted By: naval Re: scripting, ... When do I understand it ? - 28/05/04 08:22 PM
thanks! everything is working ! grin
© mIRC Discussion Forums