My First ever attempt at scripting
When someone pokes you it pokes them back
O_O Difficult Right?
On *:Action:*Poke*:#:{
if (($me isin $1-) && (%antiflood)) {
set -u5 %antiflood 2
inc %Slapexx
describe $chan slaps $nick right back |Number Of Slapbacks| %slapexx
}
}
Yes, we all know what's like to be new at one point in time, but you have to make sure the snippet you've submitted is in a working condition. As mountaindew pointed out, you should have added an exclamation mark in, and I quote, (!%antiflood))
Or you edit your script as soon as you receive suggestions from other people to perfect it.
about your indenting: it looks like you heard the bell but are unaware of it's location ;_)
this looks a little bit more proper:
On *:Action:*Poke*:#:{
if (($me isin $1-) && (%antiflood)) {
set -u5 %antiflood 2
inc %Slapexx
describe $chan slaps $nick right back %slapexx
}
}
other than that, it seems to look fine ;_)