foods script

By Massivity on Oct 05, 2010

!givecookie , !givecake , !givebeer, !givecoke , !hug , !lick , !giveburger , !givepizza , !givefun , !rape

Some Items made by me working and tested on my bot Chicken

...:::Paste In the Remote Of your bot:::...

#####################
# ITEMS             #
#       Script      # 
# coded by :        #
#       Massivity   #
#####################

on *:text:!givecookie *:#: {
  if ($2 == $me) {
    .msg $chan Thank you $nick
  }
  set %cookie [ $+ [ $2 ] ] $calc(%cookie [ $+ [ $2 ] ] + 1)
  msg $chan $nick gave43 $2 a cookie ,50 $2  have %cookie [ $+ [ $2 ] ]  cookie(s)
}

on *:text:!givecake *:#: {
  if ($2 == $me) {
    .msg $chan Thank you $nick
  }
  set %cake [ $+ [ $2 ] ] $calc(%cake [ $+ [ $2 ] ] + 1)
  msg $chan $nick gave43 $2 a hot chocolate cake ,50 $2  have %cake [ $+ [ $2 ] ]  cake(s)
}

on *:text:!givebeer *:#: {
  if ($2 == $me) {
    .msg $chan Thank you $nick
  }
  set %beer [ $+ [ $2 ] ] $calc(%beer [ $+ [ $2 ] ] + 1)
  msg $chan $nick gave43 $2 a beer ,50 $2  have %beer [ $+ [ $2 ] ]  beer(s)
}

on *:text:!givecoke *:#: {
  if ($2 == $me) {
    .msg $chan Thank you $nick
  }
  set %coke [ $+ [ $2 ] ] $calc(%coke [ $+ [ $2 ] ] + 1)
  msg $chan $nick gave43 $2 a glass of coke ,50 $2 have %coke [ $+ [ $2 ] ] glasses of coke
}

on *:text:!hug *:#: {
  set %hugs [ $+ [ $2 ] ] $calc(%hugs [ $+ [ $2 ] ] + 1)
  msg $chan $nick hugs $2 ,50 $2 have %hugs [ $+ [ $2 ] ] hugs
}

on *:text:!lick *:#: {
  set %lick [ $+ [ $2 ] ] $calc(%lick [ $+ [ $2 ] ] + 1)
  msg $chan $nick licked $2 ,50 $2 have been licked %lick [ $+ [ $2 ] ] times
}

on *:text:!giveburger *:#: {
  if ($2 == $me) {
    .msg $chan Thank you $nick
  }
  set %burger [ $+ [ $2 ] ] $calc(%burger [ $+ [ $2 ] ] + 1)
  msg $chan $nick gave43 $2 a Big-Mac burger ,50 $2  have %burger [ $+ [ $2 ] ]  Burger(s)
}

on *:text:!givepizza *:#: {
  if ($2 == $me) {
    .msg $chan Thank you $nick
  }
  set %pizza [ $+ [ $2 ] ] $calc(%pizza [ $+ [ $2 ] ] + 1)
  msg $chan $nick gave43 $2 a hot large pizza ,50 $2  have %pizza [ $+ [ $2 ] ]  pizza(s)
}

on *:text:!givefun *:#: {
  if ($2 == $me) {
    .msg $chan SUCKER!!! $nick
  }
  set %fun [ $+ [ $2 ] ] $calc(%fun [ $+ [ $2 ] ] + 1)
  msg $chan $nick gave43 $2 alot of fun with 8====D-*-*-*-*-() ,50 $2  haz been amazed %fun [ $+ [ $2 ] ]  time(s)
}

on *:text:!rape *:#: {
  if ($2 == $me) {
    .msg $chan $nick i don't like dicks
  }
  set %rape [ $+ [ $2 ] ] $calc(%rape [ $+ [ $2 ] ] + 1)
  msg $chan $nick haz raped $2 with a big peen 8====D-----() ,50 $2  haz been raped %rape [ $+ [ $2 ] ]  time(s)
}

Comments

Sign in to comment.
MashhitDK   -  Oct 06, 2010

That's how I code ^ ooO( So I guess that will work ?? )

  • Anyways... here is a edit... will work like the one posted...
    But changede it alittle.
    !Give
    !Give
    !Give
    Ex. ( Giving a burger to the BOT / SRU - Stoner Recommended Utility ;) )
    !Giveburger SRU
    !Giver Burger SRU
    !Give SRU Burger
    will ( all ) give...
    <~SRU> Thank you MashhitDK :)
    <~SRU> MashhitDK gave SRU a Big-Mac burger, SRU's 1st Burger
on *:TEXT:!*:#: {
  ;*** !Hug
  if ($1 == !hug) && ($2 ison $chan) { set %hugs [ $+ [ $2 ] ] $calc(%hugs [ $+ [ $2 ] ] + 1) | msg # $nick hugs $2 $+ , $2 $+ 's $ord( %hugs [ $+ [ $2 ] ] ) hug | halt }
  ;*** !Lick
  elseif ($1 == !lick) && ($2 ison $chan) { set %lick [ $+ [ $2 ] ] $calc(%lick [ $+ [ $2 ] ] + 1) | msg # $nick licked $2 $+ , $2 has been licked %lick [ $+ [ $2 ] ] time(s) | halt }
  ;*** !Rape Me / The Bot
  if ($1 == !rape) && ($2 == $me) { set %rape [ $+ [ $nick ] ] $calc(%rape [ $+ [ $nick ] ] + 1) | msg # $nick I don't like dicks | describe # rapes $nick with a big peen 8====D-----() ! $ord( %rape [ $+ [ $nick ] ] ) time $nick haz been raped | halt }
  ;*** !Rape
  elseif ($1 == !rape) && ($2 ison $chan) { set %rape [ $+ [ $2 ] ] $calc(%rape [ $+ [ $2 ] ] + 1) | msg # $nick haz raped $2 with a big peen 8====D-----() , $2 haz been raped %rape [ $+ [ $2 ] ] time(s) | halt }
  ;*** !Give ( SECTiON )
  if (!give isin $1-) && (!$4) {
    ;***** SETTING RECEIVER
    if ($2 ison $chan) { set %nick-receiver $2 }
    elseif ($3 ison $chan) { set %nick-receiver $3 }
    else { set %nick-receiver $nick }
    ;****** MSG
    ;*** !Give Fun
    if (fun isin $1-) && (%nick-receiver == $me) { .msg # SUCKER!!! $nick | halt }
    elseif (fun isin $1-) { set %fun [ $+ [ %nick-receiver ] ] $calc(%fun [ $+ [ %nick-receiver ] ] + 1) | msg # $nick gave %nick-receiver alot of fun with 8====D-*-*-*-*-() , %nick-receiver haz been amazed %fun [ $+ [ %nick-receiver ] ]  time(s) | halt }
    ;*** If it's the bot that's recieving
    if (%nick-receiver == $me) { .msg # Thank you $nick :) }
    ;*** !Give Cookie
    if (cookie isin $1-) { set %cookie [ $+ [ %nick-receiver ] ] $calc(%cookie [ $+ [ %nick-receiver ] ] + 1) | msg # $nick gave %nick-receiver a cookie, %nick-receiver $+ 's $ord( %cookie [ $+ [ %nick-receiver ] ] ) cookie | halt }
    ;*** !Give Cake
    elseif (cake isin $1-) { set %cake [ $+ [ %nick-receiver ] ] $calc(%cake [ $+ [ %nick-receiver ] ] + 1) | msg # $nick gave %nick-receiver a hot chocolate cake, %nick-receiver $+ 's $ord( %cake [ $+ [ %nick-receiver ] ] ) cake | halt }
    ;*** !Give Beer
    elseif (beer isin $1-) { set %beer [ $+ [ %nick-receiver ] ] $calc(%beer [ $+ [ %nick-receiver ] ] + 1) | msg # $nick gave %nick-receiver a beer, %nick-receiver $+ 's $ord( %beer [ $+ [ %nick-receiver ] ] ) beer | halt }
    ;*** !Give Coke
    elseif (coke isin $1-) { set %coke [ $+ [ %nick-receiver ] ] $calc(%coke [ $+ [ %nick-receiver ] ] + 1) | msg # $nick gave2 %nick-receiver a glass of coke, %nick-receiver $+ 's $ord( %coke [ $+ [ %nick-receiver ] ] ) glasses of coke | halt }
    ;*** !Give Burger
    elseif (burger isin $1-) { set %burger [ $+ [ %nick-receiver ] ] $calc(%burger [ $+ [ %nick-receiver ] ] + 1) | msg # $nick gave %nick-receiver a Big-Mac burger, %nick-receiver $+ 's $ord( %burger [ $+ [ %nick-receiver ] ] ) burger | halt }
    ;*** !Give Pizza
    elseif (pizza isin $1-) { set %pizza [ $+ [ %nick-receiver ] ] $calc(%pizza [ $+ [ %nick-receiver ] ] + 1) | msg # $nick gave %nick-receiver a hot large pizza, %nick-receiver $+ 's $ord( %pizza [ $+ [ %nick-receiver ] ] ) pizza | halt }
  }
}
  • This should do the job...
    EDIT:
    Removed all the colors... so you will have to add you own :)
 Respond  
N3M3S1S   -  Oct 05, 2010

You did it right you just filled it out in a slightly confusing way. Use:

on *:TEXT:*:#: {
  if ($1 == !givecookie) { ...commands }
  if ($1 == !givecake) { ...commands }
  ....
}

That way would work too, yes?

 Respond  
GuitarMasterx7   -  Oct 05, 2010

Welllll N3M3S1S
that would be correct if all of them were
actually !give

on *:TEXT:*:#: {
  if ($1 == !givecookie) { ...commands }
  if ($1 == !givecake) { ...commands }
  ...
}

Then theres theJethro_ way

on *:TEXT:*:#: {
  var %c = $1 | goto %c
  :!givecookie | <command here> | halt
  :!givecake | <command here> | halt
  :!rape | <command here> | halt
  :!lick | <command here> | halt
  :%c | return
  ;the same for the rest
} 

[i think i did tha right... doesnt even look right imo >_>]

 Respond  
Massivity   -  Oct 05, 2010

nah i don't suggestions r welcome :D

i'll correct it in another version :P

 Respond  
N3M3S1S   -  Oct 05, 2010

mind if I make a suggestion?

on *:TEXT:!give*:#: {
  if ($2 == cookie) { ...commands }
  if ($2 == cake) { ...commands }
  ...
}
 Respond  
Massivity   -  Oct 05, 2010

JFF Just for fun :p

 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.