mIRC Home    About    Download    Register    News    Help

Print Thread
#118589 26/04/05 06:55 PM
Joined: Apr 2005
Posts: 1
N
NooNoo Offline OP
Mostly harmless
OP Offline
Mostly harmless
N
Joined: Apr 2005
Posts: 1
Im rather new in this and i was hoping someone out there could help me with this one:

I want to make a little script that would kick ppl for making smileys. Kind like a smileyprotection hehe.. So if anyone know how to do that please let me know, thanks

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
You can do a simple one like this, which would kick the users who type ':)'.
Code:
On @*:Text:*:#: {
  if ($istok($strip($1-),$+($chr(58),$chr(41)),32)) { kick $chan $nick }
}

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Hehe. I suppose you could use one similar to the one I have that counts smiles, frowns, and laughs in the channel. Basically, I have a dialog where you enter the characters to count as a smile, frown, or laugh and then is will track those. Instead of tracking them, you could make it kick them instead.

Or, you can just make a text file with the smiley combinations in it and kick if any of those are in the text. There are various ways you can do it.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard