Anti Slap

By ChunkieMonkey on Jun 09, 2008

Umm....This is my first script so...

Updated Brackets added to end.

On 1:action:slaps*: {
  if ($2 == $me) {
   describe $chan Deflects the slap and deals $Rand(1,999999) damage to $nick
  }
}

Comments

Sign in to comment.
Jethro   -  May 27, 2010

But BlueThen, if you make it case sensitive, that means the lower and upper-case letters in $me will count. Do you expect people to call you exactly the way your nick appears? I think not all the people will do that...they will type your nick in all lower case letters, and it all depends on how they perceive your nick, really.

 Respond  
BlueThen   -  May 27, 2010

You can use 3 ='s,
if ($2 === $me) {
to make it case-sensitive.

 Respond  
Jethro   -  Aug 31, 2009

can you also make it for a specific person only??

on *:ACTION:$($+(*,slap*,SpecificNickHere,*)):#: {
  describe $chan Deflects the $1 and deals $rand(1,999999) damage to $nick
}

Change 'SpecificNickHere' with the person's channel nickname.

 Respond  
Core-Eye   -  Aug 30, 2009

Can you also make it for a specific person only??

 Respond  
a careful warchild   -  Nov 26, 2008

/timer 0 0 describe # slaps Chunkiemonkey

you would practicly be pwnt?? :P

 Respond  
fire_wizard1   -  Nov 26, 2008

ok it took me about an hour to get it right, try this ok

describe $chan { Deflects the slap and deals $Rand(1,999999) damage to $nick

instead of

describe $chan Deflects the slap and deals $Rand(1,999999) damage to $nick

 Respond  
fire_wizard1   -  Nov 26, 2008

the script still does not work, if i had some more help with it i would be able to do some good modifications to it, i will tell you what works ok. then again it might take me a few, im still a newb to scripting lol

 Respond  
Eugenio   -  Sep 05, 2008

flood pro dan ?
roffles
/me hides

 Respond  
EL   -  Sep 05, 2008

hrm

 Respond  
ChunkieMonkey   -  Jun 11, 2008

Just the format of your way, remember I am a beginner lol.

 Respond  
napa182   -  Jun 11, 2008

ChunkieMonkey said:

I don\'t understand napa182\'s comment....

what dont you understand? it\'s the same as the one you did.

on *:action:$($+(*,slap,*,$me,*)):#:{

checks if slap and ur nick is in the action thats done in the channel.
instead of doing it like this

On *:action:slaps*: {
  if ($2 == $me) {
 Respond  
ChunkieMonkey   -  Jun 10, 2008

Brackets added o.0

 Respond  
ChunkieMonkey   -  Jun 10, 2008

I don\'t understand napa182\'s comment.... But thanks all.

 Respond  
F*U*R*B*Y*   -  Jun 10, 2008

and get stuffed on, /me Welcomes slaps to #blarg and says how are you Example

ownt :P

 Respond  
napa182   -  Jun 10, 2008

um you can make it like this

On *:action:$($+(*,slap,*,$me,*)):#:{ describe $chan Deflects the slap and deals $r(1,999999) damage to $nick }
 Respond  
PuNkTuReD   -  Jun 10, 2008

try

On 1:action:*slaps*: {
  if ($me isin $1-) {
 Respond  
BlueThen   -  Jun 10, 2008

You\'re missing 2 \"}\"s at the end.

 Respond  
ChunkieMonkey   -  Jun 10, 2008

Any comments?

 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.