Slap back script

By Lord Kiam on Sep 03, 2005

this one is actually good i like it :) post what u think this is my first script made without no help :)

on *:ACTION:*slaps $me*:*: {
  /msg $chan $nick has just attempted to slap me!
  /describe $chan dodges $nick and counter attacks $nick
}

Comments

Sign in to comment.
criticalx   -  Dec 22, 2005

hey guys this codes are nice but I can\'t seem to make it work lol.. we put these codes in aliase right?

on action:slaps:: {
if ($chan == $null) {
msg $nick has just attempted to slap me!
describe $nick dodges $nick and counter attacks $nick
}
elseif ($me isin $1-) {
msg $chan $nick just attempted to slap me!
describe $chan dodges $nick and counter attacks $nick
}
}

I can\'t seem to make it work. I tried re-installing my mirc just to make sure its not casuing any software error. Please reply thanks.

 Respond  
Lord Kiam   -  Sep 05, 2005

found a bug in it fixed

 Respond  
supergeo   -  Sep 04, 2005

Because I was going to do something with it but decided it wasn\'t necessary. You can delete the on nick and on connect.

 Respond  
David_James   -  Sep 03, 2005

I gave you 3pts since it was your first script made without helping. :)

 Respond  
StonedStoner   -  Sep 03, 2005

[qoute]
on :connect:{ set %a $me }
on
:nick:{
if ($nick == $me) set %a $me
}

on :Action:slaps $me::{
if ($chan == $null) set %n $nick
else set %n $chan
msg %n $nick has just attempted to slap me!
describe %n dodges $nick\'s slap and counter-attacks $nick
}

I just revised it a little bit.
[/quote]
y do u set the %a varible and never use it?

 Respond  
Bl1nk   -  Sep 03, 2005

dont works at me :/

 Respond  
Lord Kiam   -  Sep 03, 2005

soz hawkee didnt read that bit :P

 Respond  
supergeo   -  Sep 03, 2005

on :connect:{ set %a $me }
on
:nick:{
if ($nick == $me) set %a $me
}

on :Action:slaps $me::{
if ($chan == $null) set %n $nick
else set %n $chan
msg %n $nick has just attempted to slap me!
describe %n dodges $nick\'s slap and counter-attacks $nick
}

I just revised it a little bit.

 Respond  
F*U*R*B*Y*   -  Sep 03, 2005

does a snippet have to be over 100 letters?

mine got a bad review because it was lest then 100 letters

 Respond  
Lord Kiam   -  Sep 03, 2005

sorry i forgot about the } it was my 1st script making and i dont know how to use if ($chan == $null) { them yet

 Respond  
brottor   -  Sep 03, 2005

\"on :ACTION:slaps :: {
/msg $chan $nick has just attempted to slap me!
/describe $chan dodges $nick and counter attacks $nick\"

k first things first add a } at the end...
also instead of using \"slaps :: {\"
use:
\"on action:slaps:: {
if ($chan == $null) {
msg $nick has just attempted to slap me!
describe $nick dodges $nick and counter attacks $nick
}
elseif ($me isin $1-) {
msg $chan $nick just attempted to slap me!
describe $chan dodges $nick and counter attacks $nick
}
}\"

i didnt test it but i think itll work..its \'better\' IMO because if somebody slaps you in query it will slap back in the query and if in channel it will slap back in channel

 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.