funny bot script

By pwnisher3 on May 21, 2008

here is my first script i made it to piss people off on frostwire that join my room and siad hey hi hello and whats up? and it also has a !gay script in it that i made tell me what you think

on *:text:hey*:#:{ describe $chan hey $nick you can type hey do you want a fucking cookie? !yes or !no
}
on *:text:hi*:#:{ describe $chan hi $nick you can type hi do you want a fucking cookie? !yes or !no
}
on *:text:whats up?*:#:{ describe $chan hello $nick you can type whats and/or up? do you want a fucking cookie? !yes or !no
}

on *:text:hello*:#:{ describe $chan hello $nick you can type hello do you want a fucking coookie? !yes or !no
}

on *:text:!yes*:#:{ describe $chan TO FUCKING BAD!!
}

on *:text:!no*:#:{ describe $chan i wans't going to give you a fucking cookie anyway 
}
on *:text:!maybe*:#:{ describe $chan that wasn't a fucking answer
}
on *:text:!gay*:#:{ describe $chan !!! $nick would like to tell you that they r a fucking homo!! and you need to cover your assholes

Comments

Sign in to comment.
CrazyShady   -  Sep 23, 2011

Lmfao. Nice script.

 Respond  
Jonesy44   -  May 22, 2008

LoL @ Napa\'s re-write :p

Poor gay people :-(

 Respond  
PuNkTuReD   -  May 22, 2008

and yes criminal but i just left it the way he had it

 Respond  
PuNkTuReD   -  May 22, 2008

well it probably is thats why im asking what it does exactly
i was under the impression that i needed that IF i had any color in my text
but thinking about it i think you guys mean IF the incoming msg has color in it
so i was just trying to find out coz i havent used it before

 Respond  
napa182   -  May 21, 2008

or you can also do this as well

on *:text:*:#:{
  var %b = hi|hello|whatsup?, %c = 1, %d = $strip($1-)
  while ($gettok(%b,%c,124)) { 
    if ($istok(%d,$gettok(%b,%c,124),32)) {
      describe $chan $gettok(%b,%c,124) $nick you can type $gettok(%b,%c,124) do you want a fucking cookie? !yes or !no
    } 
    inc %c
  }
}

then add on from there

 Respond  
criminal   -  May 21, 2008

@ PunkTuRed, wouldn\'t it be better to change the:

if (hey isin $strip($1-)
to
if (*hey* isin $strip($1-)

& pwnisher, i tried to post a comment but it failed every time :\ Thanks for deleting that one <3

 Respond  
PuNkTuReD   -  May 21, 2008

thats how u start pwnisher3

on *:text:*:#:{ 
  if (hey isin $strip($1-)) $$ (%wait = wait) { describe $chan Please wait 10 seconds }
  if (hey isin $strip($1-)) $$ (%wait = null) { describe $chan hey $nick you can type hey do you want a !@#$ cookie? !yes or !no | set -u10 %wait wait }
}

and do u guys mean stripping color from incoming msgs ?

 Respond  
pwnisher3   -  May 21, 2008

idk how to make flood protection this is just a very simple script that i made out of curiosity and all i did to make it was copy a line out of another script and modified it lol

 Respond  
PuNkTuReD   -  May 21, 2008

do u mean here or in mirc coz it just deleted the little l\'s in the code

 Respond  
PuNkTuReD   -  May 21, 2008

so your saying this wont work ?

on *:text:*hi*:#: {
  msg $chan 7hi4 $nick
}
 Respond  
EL   -  May 21, 2008

Lol sure man./help control codes.If you have colors or underline or bold ETC(control codes) the script will not trigger unless there removed.Try it add some color to your text with out striping it it wont trigger for you.`-.-´

 Respond  
SnoooP   -  May 21, 2008

wow my typin is bad lol... \"EL Is Just Trying To Be Clever\"

 Respond  
PuNkTuReD   -  May 21, 2008

:))

 Respond  
SnoooP   -  May 21, 2008

EL is just trna be clever :P

 Respond  
PuNkTuReD   -  May 21, 2008

arent you even going to explain what your on about ?

 Respond  
EL   -  May 21, 2008

<3 it:P

 Respond  
PuNkTuReD   -  May 21, 2008

El - punktad script your codes man even if u dont use control codes others do.`-.-´

im not sure what u mean ?

 Respond  
SnoooP   -  May 21, 2008

lol Nem ur a n00b :P

 Respond  
EL   -  May 21, 2008

Rofl i taughthim every thing he knows ROFL@ punktard posting about the same shít also punktad script your codes man even if u dont use control codes others do.`-.-´

 Respond  
SnoooP   -  May 21, 2008

EL = Napa in the making... rofl

 Respond  
EL   -  May 21, 2008

I won\'t pull a full Napa182 and recode the whole thing all |33+ an such but for one u don\'t need all those On TEXT events one will do fine an stack them like so:

on *:text:*:#:{ 
  if (hey isin $strip($1-)) { describe $chan hey $nick you can type hey do you want a fucking cookie? !yes or !no }
  if (hi isin $strip($1-)) { describe $chan hi $nick you can type hi do you want a fucking cookie? !yes or !no }
  if (whats up? isin $strip($1-)) { describe $chan hello $nick you can type whats and/or up? do you want a fucking cookie? !yes or !no }
  if (hello isin $strip($1-)) { describe $chan hello $nick you can type hello do you want a fucking coookie? !yes or !no }
  if ($strip($1-) == !yes)  { describe $chan TO FUCKING BAD!! }
  if ($strip($1-) == !no)  { describe $chan i wans\'t going to give you a fucking cookie anyway }
  if ($strip($1-) == !maybe) { describe $chan that wasn\'t a fucking answer }
  if ($strip($1-) == !gay)  { describe $chan !!! $nick would like to tell you that they r a fucking homo!! and you need to cover your assholes }
}

Should add some flood protection as well but tbh it cba atm so.`-.-´

PS: Your missing a closing bracket make sure you hit the little bracket checker on the right top side of your editor and add or remove accordingly.Not to bad tho.`-.-´

 Respond  
PuNkTuReD   -  May 21, 2008

nice work man
try this

on *:text:*:#: { 
  if (hey isin $$1-) { describe $chan hey $nick you can type hey do you want a fucking cookie? !yes or !no }
  if (hi isin $$1-) { describe $chan hi $nick you can type hi do you want a fucking cookie? !yes or !no }
  if (whats up isin $$1-) { describe $chan hello $nick you can type whats and/or up? do you want a fucking cookie? !yes or !no }
  if (hello isin $$1-) { describe $chan hello $nick you can type hello do you want a fucking coookie? !yes or !no }
  if (!yes == $$1) { describe $chan TO FUCKING BAD!! }
  if (!no == $$1) { describe $chan i wans\'t going to give you a fucking cookie anyway }
  if (!maybe == $$1) { describe $chan that wasn\'t a fucking answer }
  if (!gay == $$1) { describe $chan !!! $nick would like to tell you that they r a fucking homo!! and you need to cover your assholes }
}

there is no need for multiple on text\'s
you can use if statements to check whether the word is in the sentence

 Respond  
SnoooP   -  May 21, 2008

ROFL! lmao hahaha

 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.