Slap Revenge by ch1zra

By ch1zra on Feb 11, 2005

whenever someone slaps you, you slap them back... has built -in timer to prevent endless loop. :)

on *:action:*:#: {
 if (%tpslap == $null) {
   set %tpslap 1
 }
 if (slap isin $1-) && ($me isin $1-) && (%tpslap <= 2) {
   describe $chan $nick slaps $nick ! - revenge slap -
   inc %tpslap
   .timer 1 5 unset %tpslap
 }
}

Comments

Sign in to comment.
cupcake   -  Nov 13, 2010

Tried doesn't work for me at all, tried /msg cs and /msg chanserv still no go, might be server or mirc no clue.

 Respond  
HeartbrokenTR   -  Nov 13, 2010

@cupcake : i have 6.35 and works well enuff for meh :)
04:37:46: Broken-Dream slaps k_1 around with a large Babelfish!
04:37:48:
Broken-Dream was kicked by [0_0] (k_1 slaps Broken-Dream around with a large Babelfish! MwAhAHaUhAHaAUhAHhuHhA :D (k_1))

@Jethro thnx ..
[04:53:16] -ChanServ- Unknown command <- i'd try /msg cs/chanserv cmds
i wrote like that cus our server supports cs kick :P its free to edit :)

 Respond  
Jethro   -  Nov 13, 2010

No idea why this line is used:> cs kick # $nick $me $replace($1-,$me,$nick) :DAnd if your server doesn't support /cs, you'd have to change it to /msg chanserv

 Respond  
cupcake   -  Nov 13, 2010

Tested the one you have HeartBroken TR doesn't work on my IRC test channel, now the original ch1zra has posted Works.

 Respond  
HeartbrokenTR   -  Nov 13, 2010

on :action:$( $me $+ *):#: {
if (%f > 2) halt
inc -u5 %f
cs kick # $nick $me $replace($1-,$me,$nick) :D
}

:p

 Respond  
lolhawkee   -  Jun 22, 2010

sorry for spamming i asked in different scripts i didnt know everyone saw all script posts like forum this site confuses me

sorry my english bad

 Respond  
Jethro   -  May 27, 2010

lolhawkee <- Spammer wannabe :p

 Respond  
napa182   -  May 27, 2010

lol the guy asked the same thing 16 times ffs

 Respond  
Jethro   -  May 27, 2010

You asked for a way to recognize the capital letters, yet you wrote a bunch of lower-case letters. What is the relevance in that? There are islower and isupper operators you can see to.

 Respond  
Hobbz   -  Sep 24, 2008

Without Sounding TOO n00bish....Were Do I Put This?
I Tried Putting It In User, Variables And Remote (I Already Have A Custom Slap Script In There, It Just Totally Messed That Up)

Any Help Would Be Much Appreciated :)

 Respond  
bearruler   -  Jan 18, 2006

on :action:$(slaps $me $+ ):#: {
if (%f > 2) halt
inc -u5 %f
describe # slaps $nick back
}

Bear

 Respond  
undertaker11   -  Feb 16, 2005

nice script

 Respond  
xDaeMoN   -  Feb 13, 2005

Just helping you out to minimize the code.

 Respond  
ch1zra   -  Feb 13, 2005

@ xDaemon bah... i hate those -someparameter stuff :P

 Respond  
ch1zra   -  Feb 13, 2005

@ Psycho Joe you can\'t trigger ON *:ACTION: by yourself ;]

 Respond  
xDaeMoN   -  Feb 13, 2005

/inc also has a timer to unset itself. Use \"-u\". That would be \"inc -u5 %tpslap\".

 Respond  
Phycho_Joe   -  Feb 13, 2005

\'t slap yourself it floods...

 Respond  
Phycho_Joe   -  Feb 13, 2005

just don\'

 Respond  
Phycho_Joe   -  Feb 13, 2005

lmao! awsome script!

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.