spank

By RevJohn Straub on Jun 04, 2009

its a small code i made for my bot its fun and i had lots of fun creating it it also works ive tested it several times if used in a bot. leave a comment if you must

on 1:TEXT:!Spank*:#: {
  if ($2 == $null) { msg $chan 10,$nick pulls done $2's pants and spanks them }
  if ($2 == $me) { msg $chan 10, $nick bends $2 over there knee and spanks them till there bottem is red | halt }
  if ($2 == $nick) { msg $chan 10,0...makes a Hand print on $2 bottem | halt }
  if ($2 ison #) { msg $chan 12,0uses a belt on $2 untill  $2 cry's... x)
    else {
    set %sl.sa $readini($scriptdirSLseen.ini, $2, Time)
    set %sl.sb $ctime($time(mmmm d yyyy HH:nn:ss))
    set %sl.at $calc(%sl.sb - %sl.sa)
    if (%sl.sa != $null) { msg $chan 10,0 $+ $nick Last time I spanked $2 $+ , $2 was $readini($scriptdirSLseen.ini, $2, Message) $duration(%sl.at) ago, K? }
    if (%sl.sa == $null) { msg $chan 10,0Sorry $nick I have not spanked $2 yet, Maybe YOU Should try spanking $2 $+ . }
    unset %sl.sa %sl.sb %sl.at
  }
}

Comments

Sign in to comment.
WorldDMT   -  Jun 05, 2009

@RevJohn Straub: tnx bro ;)

 Respond  
RevJohn Straub   -  Jun 05, 2009

WorldDMT your my hero

 Respond  
WorldDMT   -  Jun 05, 2009

@aucun50:

if (!$2) is the same as if ($2 == $null) just shorter

wrong!!

mabe can be used in this case but "!$1" and "$1 == $null" r not same

look try this

alias test {
  if ($1 == $null) echo 4 -a null
  elseif (!$1) echo 4 -a false
  else echo 3 -a true
}

type:

/test
/test 0
/test 1

and see what i try to tell u.

return

null
false
true

 Respond  
Jethro   -  Jun 04, 2009

RevJohn, maybe your script works, but the missing bracket and disorderly if-then-else statement need to be reorganized. Don't be a sloppy scripter.

 Respond  
RevJohn Straub   -  Jun 04, 2009

Aucun50 i tested the script befor i posted it it works

 Respond  
RevJohn Straub   -  Jun 04, 2009

Weasel my Grammer may be off but atleast my scipts work

 Respond  
napa182   -  Jun 04, 2009

smh i know i was just giving an example ffs the whole point was to show him about if $2 == $nick but oh well

 Respond  
Jethro   -  Jun 04, 2009

Napa182, why an additional elseif when you can just use else:

on *:text:!spank*:#:{
  if ($2 == $nick) { .msg # stfu $v1 }
  else { .msg # piss on $v1 }
}
on *:text:!spank*:#:.msg # $iif($2 == $nick,STFU $v1,piss on $v1)
 Respond  
Prelude   -  Jun 04, 2009

ROFL@weasel, you serious are not saying other ppl fail are you?, gimme a break kid, look at your codes, everyone of them are fail, useless, hell you're comments are a waste of space, you CANNOT help actually expect to help people on this site with things like this for code.

on *:text:!dentist*:#: {
  /set %dentist $rand(1,4)
  if (%dentist == 1) { msg $chan WAAAAAAAAA I DON WANNA GO TO DE DENTIST WAAAAAAAAA :'O }
  if (%dentist == 2) { msg $chan I gotta get a tooth pulled YOUR NOT GETTING MY TOOTH!!! :-X }
  if (%dentist == 3) { msg $chan I Juft Gwot Mye Toof Puwwed }
  if (%dentist == 4) { msg $chan I LIKE DENTISTS }
}

Hell i was even nice enough to pick ONE of the codes you have that actually works (yw;)). You have repeats of codes over and over, most of the same damn mistakes in each, not to mention fricken useless, boring and you have the gull to disregard the coders that take the time over and over again to help you, and you just toss it aside and go on with your utter nonsense, then a few posts later of failing you're on to try to help other people, dumb dumb listen to us for once and DO NOT try to help users. And before i go, why is like everyother snipp you post ''helped by pickle'', rofl you're so bad you should be ripping ;p. go play kid, outside ina tree, anything other then being on hawkee.com trying to help.

:icanhaznaturalselectionplzkthxbai:

 Respond  
napa182   -  Jun 04, 2009

@ Weasel STFU.

@ Aucun50 $nick is the person triggering the script
so put it this way

on *:text:!spank*:#:{
  if ($2 == $nick) { msg # stfu $nick }
  elseif ($2 != $nick) { msg # piss on $2 }
}

you understand?

 Respond  
Weasel   -  Jun 04, 2009

Epic fail... > on 1:TEXT:!Spank*:#: {
if ($2 == $null) { msg $chan 10,$nick pulls done $2's pants and spanks them
pulls DONE? > if ($2 ison #) { msg $chan uses a belt on $2 until $2 cry's)
WTC grammer fail AND bracket fail...

 Respond  
Aucun50   -  Jun 04, 2009
if ($2 == $null) { msg $chan 10,$nick pulls done $2's pants and spanks them }

if (!$2) is the same as if ($2 == $null) just shorter, having 10, in front of $nick will mess up the $nick identifier same with 's after $2 try using 10 $+ $nick and $2 $+ 's. Also there is no $2 in that line as your if statement says so therefor you can't use $2 in that line.

if ($2 == $nick) { msg $chan 10,0...makes a Hand print on $2 bottem | halt }

I've never heard of if ($2 == $nick) before, $nick is a identifier and has no value set to it therefor if ($2 == $nick) does nothing at all.

if ($2 ison #) { msg $chan 12,0uses a belt on $2 untill  $2 cry's... x)

Your missing a bracket at the end of the line maybe the ) was going to be a bracket but you hit the wrong button, also brackets need to have a space between the last character are it will not be counted.

 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.