When a user with a certain nickname joins a (certain) chan,
i want to send him a private message with lets say 5 seconds delay.
How can i script this? (btw the delay is only a nice to have and the certain chan, too)
Atm i can only script it like this (example) as i dunno anything about mirc scripting:
But this will send the message over and over to Katsch whenever someone joins #aakserver! And of course will also try to send when Katsch isn't even there.
I tried it this way (googled a bit *)
but i get "* /if: insufficient parameters"
* i thought this could work because in google i found:
"on 1:JOIN:#Testraum:{ if ($nick != $me) { msg $chan Hi $nick } }"
but that doesn't work either when i adapt it and test it...
[
btw it works when i use "if ( %test == hello )" where %test is 'hello'.
so is my problem that $nick is not set ?
]
i want to send him a private message with lets say 5 seconds delay.
How can i script this? (btw the delay is only a nice to have and the certain chan, too)
Atm i can only script it like this (example) as i dunno anything about mirc scripting:
Code:
on 1:JOIN:#aakserver:{
{ /msg Katsch fo nap }
}
I tried it this way (googled a bit *)
Code:
on 1:JOIN:#aakserver:{
if ( $nick == Katsch )
{ msg $nick fo nap }
}
* i thought this could work because in google i found:
"on 1:JOIN:#Testraum:{ if ($nick != $me) { msg $chan Hi $nick } }"
but that doesn't work either when i adapt it and test it...
[
btw it works when i use "if ( %test == hello )" where %test is 'hello'.
so is my problem that $nick is not set ?
]