Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
How do I exclude myself from an onjoin script?
Forums
Active Threads
Search
Who's Online
Help
Print Thread
How do I exclude myself from an onjoin script?
#
73388
02/03/04
06:25 PM
Joined:
Mar 2003
Posts: 9
M
Mike_Healan
OP
Nutrimatic drinks dispenser
OP
Mike_Healan
Nutrimatic drinks dispenser
M
Joined:
Mar 2003
Posts: 9
I need to make a script that automatically kills any user that joins a particular channel. I have that much working, but how do I exclude myself?
This is what I have now.
on *:join:#spambotsgohere:{
kill $nick No spamming on this server
}
Copy Link to Clipboard
Re: How do I exclude myself from an onjoin script?
#
73389
02/03/04
06:35 PM
Joined:
Sep 2003
Posts: 4,230
D
DaveC
Hoopy frood
DaveC
Hoopy frood
D
Joined:
Sep 2003
Posts: 4,230
from the help file
The ! prefix
You can prevent an event from being triggered if it was initiated by you by using the ! prefix.
ctcp !2:HELP:*:/msg $nick You have accessed a level 2 event
Copy Link to Clipboard
Re: How do I exclude myself from an onjoin script?
#
73390
02/03/04
09:57 PM
Joined:
Mar 2003
Posts: 9
M
Mike_Healan
OP
Nutrimatic drinks dispenser
OP
Mike_Healan
Nutrimatic drinks dispenser
M
Joined:
Mar 2003
Posts: 9
Thanks. Worked perfectly.
Copy Link to Clipboard
Re: How do I exclude myself from an onjoin script?
#
73391
06/03/04
10:22 PM
Joined:
Aug 2003
Posts: 18
Z
z0r
Pikka bird
z0r
Pikka bird
Z
Joined:
Aug 2003
Posts: 18
Even though there's already an alternate here,
Code:
on *:join:#spambotsgohere:{ if ($nick != $me) { kill $nick No spamming on this server } }
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage