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
}
}
@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
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:
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.