Is it possible to make a script that will notice a user if he has the name Guest in his name?
This might be a simple thing, but I would really like some help.
:tongue:
on !*:nick:#:{ if (Guest isin $nick) { ... }}
JIJI, the ON NICK event is not associated with a channel so placing a # in won't work. The same is true for ON QUIT events
I would probably throw in an @ in your on join event (and on nick) so it only triggers if he's an op... I'm guessing he'll want to kick or ban the nick and if he's not an op, that will just give him error messages.
He didn't say that though. No use assuming what he wants
Thanks alot, its working, I got another one I would like to ask about:
on *:join:#:{
if (jack isin $nick) {/me slaps $nick }}
Im still a big n00b at this, but this aint working
and please dont laugh hehe, but I request help.
a couple of things
/ isnt needed and doesnt belong in a remote
the /me is only usable in the edit box
f (jack isin $nick) {/me slap $nick } <-- you need a space between the { and any commands
you have another "on join" already in that file and that will conflict subsequent on joins in the same file
add this to your existing on join
if (jack isin $nick) { describe $chan slaps $nick }
Thanks, both are working, and also thanks for the very quick response..
/me goes reading help files