Retaliation script

By Peanut118 on Jan 10, 2009

Try it and find out! This is my first real script. I know there are many other ways of doing this and most of them better. I know this code is particularly messy but I just wanted to post my best script. Any comments on improving it would be appreciated.

on *:ACTION:$($+(*,$me,*)):#:{ 
if (!$($+(%,actionflood,.,$nick),2) && !$regex($1-,/(snogs|kisses|makes love to)/i)) { set -u3 $+(%,actionflood,.,$nick) on | describe # dodges and $replace($1-,$me,$nick) } }

Comments

Sign in to comment.
fire_wizard1   -  Jan 16, 2009

lol ya ik, thats why i dont use it. i have a diff one that i use napa182 xD, but i will eventualy get around to adding a flood protection on the snippet though, right after i eventualy write a akick snippet. oh that reminds me i have two new snippets that i posted on my profile, feel free to but.....comment on it napa182 xD

 Respond  
irchainscriptz   -  Jan 16, 2009

lmao

 Respond  
napa182   -  Jan 16, 2009

@ fire_wizard1 the one you have on ur profile is open to a flood attack.

 Respond  
fire_wizard1   -  Jan 16, 2009

meh i perffer the one i have on my profile, its....not as messy, but the other snippets i have are better. good attempt though mate

 Respond  
ODD   -  Jan 11, 2009

Peanut118: please dont take it personal but next time try to use the script' introduction to explain your script not for moaning :)
So when people like me are crawling around Hawkee and find your script they would understand what it does as i dont know wtf Retaliation means and even if i knew i would like to see an introduction

P.s: yeh im too lazy to check a dictionary
P.s.s: yeh i wouldnt like to learn Mirc scripting

 Respond  
Peanut118   -  Jan 10, 2009

Nah I like a record of my fails in life.

 Respond  
Hawkee   -  Jan 10, 2009

I think you meant "retaliation". Feel free to delete this comment once you fix it.

 Respond  
Peanut118   -  Jan 10, 2009

Thanks. Updated.

 Respond  
napa182   -  Jan 10, 2009

you should add some flood control to this as well as clean it up abit.

on *:ACTION:$($+(*,$me,*)):#:{ if (!$($+(%,actionflood,.,$nick),2) && !$regex($1-,/(snogs|kisses|makes love to)/i)) { set -u3 $+(%,actionflood,.,$nick) on | describe # dodges and $replace($1-,$me,$nick) } }
 Respond  
Vox91   -  Jan 10, 2009

You could make from this:

  if ($me isin $$1-) {
    if (snogs !isin $$1-) {
      if (kisses !isin $$1-) {
        if (makes love to !isin $$1-) {

to:

  if ($me isin $$1-) && (snogs !isin $$1-) && kisses !isin $$1-) && (makes love to !isin $$1-) {
 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.