Slaps Manager

By Kinight on Feb 28, 2009

This is a script somebody made, and i edited up to be a little more useful. Paste in remotes, load, it'll write everything it needs to, then just fire away!

on *:load:{
  write slaps.txt  (insert item here)!
  write slaps.txt  ¯\(°_o)/¯
  write slaps.txt 500 Squirrel Tokens
  write slaps.txt  a bad idea
  write slaps.txt a barbie
  write slaps.txt  a Boomer!
  write slaps.txt  a bottled fart
  write slaps.txt  a bucket
  write slaps.txt a Chrome Mox
  write slaps.txt  a clan tag
  write slaps.txt  a cloud
  write slaps.txt  a cookie
  write slaps.txt a copy of Gigli
  write slaps.txt a DDR Machine
  write slaps.txt a Dell (You got a Dell, Dude!)
  write slaps.txt a Diet Coke
  write slaps.txt a dog's tail
  write slaps.txt a dot
  write slaps.txt a dress
  write slaps.txt a dueling glove
  write slaps.txt a fake banana
  write slaps.txt a firetruck
  write slaps.txt a flesheating monkey
  write slaps.txt a fortune cookie
  write slaps.txt a frog
  write slaps.txt a good idea
  write slaps.txt a grandma
  write slaps.txt a june bug
  write slaps.txt a kangaroo
  write slaps.txt a large cat
  write slaps.txt a large dog
  write slaps.txt a large pig
  write slaps.txt a large salmon
  write slaps.txt a large trout
  write slaps.txt  a larger trout
  write slaps.txt a lawsuit
  write slaps.txt  a LOLcopter
  write slaps.txt  a Mox
  write slaps.txt  a mushroom
  write slaps.txt  a partridge in a pear tree
  write slaps.txt a piece of moldy cheese
  write slaps.txt  a pillow
  write slaps.txt  a piñata
  write slaps.txt  a pirate
  write slaps.txt  a R0FLBlaster
  write slaps.txt  a restraining order
  write slaps.txt  a rubber ducky
  write slaps.txt  a shadow clone jutsu
  write slaps.txt  a shadow clown jutsu
  write slaps.txt  a sharigan!
  write slaps.txt  a shrimp covered in marinara sauce
  write slaps.txt  a shrubbery!
  write slaps.txt  a slap
  write slaps.txt  a slapper
  write slaps.txt  a small hamster
  write slaps.txt  a small trout
  write slaps.txt  a smelly salmon
  write slaps.txt  a swordfish
  write slaps.txt  a synk full of tar
  write slaps.txt a thesaurus
  write slaps.txt a Volkswagon Beetle
  write slaps.txt a wet noodle
  write slaps.txt a white glove
  write slaps.txt a white-hot skillet
  write slaps.txt an anti-slap device
  write slaps.txt an Artisan Picora
  write slaps.txt an ebil sponge!
  write slaps.txt an electric eel
  write slaps.txt an even larger trout
  write slaps.txt an old diaper full of extricated chile burritos!
  write slaps.txt an Olsen Twin
  write slaps.txt  an Xtra member
  write slaps.txt  Andrew's Handbag
  write slaps.txt  Bart Simpson’s shorts
  write slaps.txt Bill Clinton
  write slaps.txt Bill Cosby
  write slaps.txt Canada
  write slaps.txt  Chaotic
  write slaps.txt  cheese!
  write slaps.txt  chicken
  write slaps.txt Corpse’s corpse
  write slaps.txt D`oh!
  write slaps.txt  Dark Magician's Pimpin' Cane - A.K.A. Magical Staff
  write slaps.txt  Darkie’s sword!
  write slaps.txt Darthvader’s microphone!
  write slaps.txt El Barto!
  write slaps.txt EmmaWatson’s dress
  write slaps.txt ensui’s Kirby <(o_o)>
  write slaps.txt  Eric’s rulebook!
  write slaps.txt everything but the kitchen sink
  write slaps.txt  everything... including the kitchen sink
  write slaps.txt  FallenAngel's whip! Oh Yeah!
  write slaps.txt five golden rings
  write slaps.txt  fruit
  write slaps.txt  Gaara
  write slaps.txt  Jace’s bloody knife!
  write slaps.txt  Jace’s sets and images
  write slaps.txt  jello
  write slaps.txt  Kuriboh
  write slaps.txt  lightning
  write slaps.txt  Lovely's cats!
  write slaps.txt  LunarNova
  write slaps.txt  Majin's Mom
  write slaps.txt  mass stupidity
  write slaps.txt  Master’s scripts!
  write slaps.txt  Mattiks’ music!
  write slaps.txt  Mew
  write slaps.txt  Mewto
  write slaps.txt  Michael Jackson's White Glove
  write slaps.txt  Micheal Jackson
  write slaps.txt  Mr. Rogers
  write slaps.txt  Mr. Rogers mother
  write slaps.txt  MykeXero
  write slaps.txt  MykeXero's kid!
  write slaps.txt  Naruto
  write slaps.txt  nothing
  write slaps.txt  Pharaoh_Atem’s OCG Collection!
  write slaps.txt  Pikachu
  write slaps.txt  quite a large cat
  write slaps.txt  Sakura
  write slaps.txt  Sasuke
  write slaps.txt  Setever’s wit!
  write slaps.txt  Skull Servant
  write slaps.txt  some sense
  write slaps.txt  somebody else's script
  write slaps.txt  spam
  write slaps.txt  Sun’s chicken!
  write slaps.txt  SwingBlade’s blade
  write slaps.txt  the Hand of Exodia
  write slaps.txt  the holy hand grenade of antioch
  write slaps.txt  the kitchen sink
  write slaps.txt  the largest trout
  write slaps.txt  the lasso of truth
  write slaps.txt  the millenium eye
  write slaps.txt  the millenium key
  write slaps.txt  the millenium neckalace
  write slaps.txt  the millenium puzzle
  write slaps.txt
  write slaps.txt  the millenium rod
  write slaps.txt  the millenium scales
  write slaps.txt  the next upcoming TCG
  write slaps.txt  the portal
  write slaps.txt  this thing!
  write slaps.txt  Tonee, the Town Idiot
  write slaps.txt  Twelve drummer’s drumming
  write slaps.txt  what you think is chocolate but really isn't
  write slaps.txt  XeroCreative’s mascot (whatever that is)!
  write slaps.txt  your own hand
  write slaps.txt  your worst nightmare
  write slaps.txt  Zera's dvd collection
}
/* XeroChat 2
Slaps Manager
Coder: Master
Version: 1.0
** Above this comment was made by Hawkee User Kinight.  Below, i did NOT do, this was made by MasterXC of the XeroCreative forums located at http://www.xerocreative.com **
*/
dialog slaps {
  title "XeroChat Slaps Manager"
  size -1 -1 192 138
  option dbu
  box "Slaps", 1, 0 0 190 110
  list 2, 3 8 183 100, size sort
  button "Add Slap", 3, 3 124 37 12
  text "around a bit with", 4, 3 112 43 8
  edit "", 5, 47 111 139 10, autohs
  button "Delete Slap", 6, 53 124 37 12
  button "Clear All Slaps", 7, 103 124 37 12
  button "Close", 8, 153 124 37 12, ok cancel
}
On *:dialog:slaps:*:*:{
  if ($devent == init) { loadbuf 1- $+ $lines(slaps.txt) -o slaps 2 slaps.txt | did -a slaps 5 Enter a slap here, or click one from the list }
  if ($devent == sclick) {
    if ($did == 2) did -o slaps 5 1 $did(2).seltext
    if ($did == 3) && ($did(5).text) { write slaps.txt $did(5).text | did -a slaps 2 $did(5).text | slapud }
    if ($did == 6) && ($did(5).text) { did -d slaps 2 $did(2,1).sel | slapud }
    if ($did == 7) && ($input(Are you sure?) == $true) { write -c slaps.txt | slapud }
  }
}
alias -l slapud { savebuf -o 1- $+ $did(2).lines slaps 2 slaps.txt | did -r slaps 2 | loadbuf 1- $+ $lines(slaps.txt) -o slaps 2 slaps.txt }

menu nicklist,query {
  Slap!:/describe # slaps $1 around a bit with $read(slaps.txt)
}

menu nicklist {
  Slaps Manager:/dialog -m slaps slaps
}

Comments

Sign in to comment.
Kirby   -  Feb 28, 2009

/var is treated like a /set, even if it is just a temporary space like hashes; if it exceeds mIRC's limit of one line, it ignores it and treats is as an "Input line is too long".

 Respond  
Blitzjager   -  Feb 28, 2009

That var is probably too long.

 Respond  
Jethro   -  Feb 28, 2009

Instead of using "write slaps.txt" in every line, you can also do this:

on *:load:{
  var %s = (insert item here)!,¯\(°_o)/¯,500 Squirrel Tokens,a bad idea,a barbie,a Boomer!,a bottled fart,a bucket,a Chrome Mox,a clan tag,a cloud,a cookie,a copy of Gigli,a DDR Machine,a Dell (You got a Dell, Dude!),a Diet Coke,a dog's tail,a dot,a dress,a dueling glove,a fake banana,a firetruck,a flesheating monkey,a fortune cookie,a frog,a good idea,a grandma,a june bug,a kangaroo,a large cat,a large dog,a large pig,a large salmon,a large trout,a larger trout,a lawsuit,a LOLcopter,a Mox,a mushroom,a partridge in a pear tree,a piece of moldy cheese,a pillow,a piñata,a pirate,a R0FLBlaster,a restraining order,a rubber ducky,a shadow clone jutsu,a shadow clown jutsu,a sharigan!,a shrimp covered in marinara sauce,a shrubbery!,a slap,a slapper,a small hamster,a small trout,a smelly salmon,a swordfish,a synk full of tar,a thesaurus,a Volkswagon Beetle,a wet noodle,a white glove,a white-hot skillet,an anti-slap device,an Artisan Picora,an ebil sponge!,an electric eel,an even larger trout,an old diaper full of extricated chile burritos!,an Olsen Twin,an Xtra member,Andrew's Handbag,Bart Simpson’s shorts,Bill Clinton,Bill Cosby,Canada,Chaotic,cheese!,chicken,Corpse’s corpse,D`oh!,Dark Magician's Pimpin' Cane - A.K.A. Magical Staff,Darkie’s sword!,Darthvader’s microphone!,El Barto!,EmmaWatson’s dress,ensui’s Kirby <(o_o)>,Eric’s rulebook!,everything but the kitchen sink,everything... including the kitchen sink,FallenAngel's whip! Oh Yeah!,five golden rings,fruit,Gaara,Jace’s bloody knife!,Jace’s sets and images,jello,Kuriboh,lightning,Lovely's cats!,LunarNova
  Majin's Mom,mass stupidity,write slaps.txt  Master’s scripts!,Mattiks’ music!,Mew,Mewto,Michael Jackson's White Glove,Micheal Jackson,Mr. Rogers,Mr. Rogers mother,MykeXero,MykeXero's kid!,Naruto,nothing,Pharaoh_Atem’s OCG Collection!,Pikachu,quite a large cat,Sakura,Sasuke,Setever’s wit!,Skull Servant,some sense,somebody else's script,spam,Sun’s chicken!SwingBlade’s blade,the Hand of Exodia,the holy hand grenade of antioch,the kitchen sink,the largest trout,the lasso of truth,the millenium eye,the millenium key,the millenium neckalace,the millenium puzzle,the millenium rod,the millenium scales,the next upcoming TCG,the portal,this thing!,Tonee, the Town Idiot,Twelve drummer’s drumming,what you think is chocolate but really isn't,XeroCreative’s mascot (whatever that is)!,your own hand,your worst nightmare,Zera's dvd collection
  tokenize 44 %s | write slaps.txt $*
}
 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.