Anti-Poker
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 3.0 (of 1 scores) |
| Date Added | Jul 15, 2009 |
| Last Updated | Jul 15, 2009 |
| Tags | anti crazylicious mirc poke poker snippet |
Introduction
When someone pokes you it pokes them back
O_O Difficult Right?
mIRC Snippet:
Anti-Poker
Posted on Jul 15, 2009 2:42 pm
Posted on Jul 15, 2009 2:42 pm
about your indenting: it looks like you heard the bell but are unaware of it's location ;_)
this looks a little bit more proper:
other than that, it seems to look fine ;_)
this looks a little bit more proper:
| Code: |
| 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 ;_)
mIRC Snippet:
Anti-Poker
Posted on Jul 15, 2009 2:52 pm
Posted on Jul 15, 2009 2:52 pm
Thanks im kinda new to scripting
mIRC Snippet:
Anti-Poker
Posted on Jul 15, 2009 2:59 pm
Posted on Jul 15, 2009 2:59 pm
| Quote: |
| Thanks im kinda new to scripting |
everyone has to start somewhere ;_) that's why I'm giving you this tip :_)
mIRC Snippet:
Anti-Poker
Posted on Jul 16, 2009 6:31 pm
Posted on Jul 16, 2009 6:31 pm
| Code: |
| on *:action:*poke*:#:if $me isin $1- && !%slapantiflood { inc -u5 %slapantiflood | inc %slapnum | describe $chan slaps $nick right back.. ( $+ %slapnum slapbacks totally) } |
mIRC Snippet:
Anti-Poker
Posted on Jul 17, 2009 5:04 pm
Posted on Jul 17, 2009 5:04 pm
To get technical with your script, you could do:
Or
| Code: |
| describe $chan slaps $nick right back the $ord(%slapexx) time. |
| Code: |
| describe $chan slaps $nick right back %slapexx $iif(%slapexx == 1,time,times) |
mIRC Snippet:
Anti-Poker
Posted on Jul 17, 2009 5:51 pm
Posted on Jul 17, 2009 5:51 pm
Shouldn't it be
| Code: |
if (($me isin $1-) && (!%antiflood)) { |
mIRC Snippet:
Anti-Poker
Posted on Jul 18, 2009 9:12 am
Posted on Jul 18, 2009 9:12 am
Thanks everyone, as i said this is my first ever script so im not that good yet
mIRC Snippet:
Anti-Poker
Posted on Jul 18, 2009 4:10 pm
Posted on Jul 18, 2009 4:10 pm
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.
Or you edit your script as soon as you receive suggestions from other people to perfect it.




