Holiday Snippets

By kortho on Dec 27, 2008

Plain and VERY simple
A few very simple snippets for the lazy people that can't take 2 mins to make them :P

Halloween:

!halloween <@Aussiebot> HAPPY HALLOWEEN! Trick or Treat! Birthday: !birthday kortho <@Aussiebot> HAPPY BIRTHDAY kortho ! ! ! Christmas: !xmas (22:24:17) <@Aussiebot> MERRY CHRISTMAS!! (Recently lost a large Christmas tree but will edit this when i can rewrite it) Easter: !easter <@Aussiebot> HAPPY __()() <@Aussiebot> ________(o.o) <@Aussiebot> EASTER! (( . )) New Year: !newyear <@Aussiebot> *\o/* *\o/* HAPPY NEW YEAR! *\o/* *\o/* Best wishes for holiday season/s :) ```mirc on *:text:!xmas*:#: { msg $chan 4M3E4R3R4Y  msg $chan 3C4H3R4I3S4T3M4A3S4!3! } on *:text:!easter*:#: { msg $chan 5H6A13P9P4Y __()() msg $chan ________(o.o) msg $chan 3E4A12S10T9E7R13! (( . )) } on *:text:!halloween*:#: { msg $chan 7,1 HAPPY HALLOWEEN! Trick or Treat!  } on *:text:!birthday*:#: { msg $chan 12H3A4P5P7Y 13B6I9R8T14H2D11A10Y12 $2- 4! 9! 7! } on *:text:!newyear*:#: { msg $chan 4,1*\o/* 13*\o/* 8HAPPY NEW YEAR! 7*\o/* 12*\o/* } ```

Comments

Sign in to comment.
LordBotTeam   -  Dec 28, 2011

I made some changes to it but it works great

 Respond  
Purcell   -  Dec 28, 2008

Ok, sorry my fould ;)

 Respond  
kortho   -  Dec 27, 2008

thank you but i was just keeping it simple

 Respond  
Typo   -  Dec 27, 2008

Purcell had the right idea except he should be using elseif instead of else and if's and he should be using $1- not $1- and furthermore you should strip $1 so that if the person triggering is using a color talker it will still work.
I will use /tokenize 32 $strip($1-) to make $1 be stripped thru the whole script so that I dont have use a $strip call in ever if statement.
I also noticed a typo in the christmas greeting, it was missing a ctrl+b and ctrl+k.
Code edited:

on *:text:*:#:{ 
  tokenize 32 $strip($1-)
  if ($1- == !xmas) {
    msg $chan 4M3E4R3R4Y 
    msg $chan 3C4H3R4I3S4T3M4A3S4!3! 
  }
  elseif ($1- == !easter) {
    msg $chan 5H6A13P9P4Y __()()
    msg $chan ________(o.o)
    msg $chan 3E4A12S10T9E7R13! (( . ))
  }
  elseif ($1- == !halleween) { msg $chan 7,1 HAPPY HALLOWEEN! Trick or Treat!  }

  elseif ($1- == !birthday) { msg $chan 12H3A4P5P7Y 13B6I9R8T14H2D11A10Y12 $2- 4! 9! 7! }

  elseif ($1- == !newyear) { msg $chan 4,1*\o/* 13*\o/* 8HAPPY NEW YEAR! 7*\o/* 12*\o/* }
}

Good luck.

 Respond  
Purcell   -  Dec 27, 2008

Hmm, Don't use only "on TEXT"

on *:text:*:#: { 
if (1- == !xmas) {
  msg $chan 4M3E4R3R4Y 
  msg $chan 3C4H3R4I3S4T3M4A3S4!3! }
}
else {
if ( 1- == !easter) {
  msg $chan 5H6A13P9P4Y __()()
  msg $chan ________(o.o)
  msg $chan 3E4A12S10T9E7R13! (( . ))
}
else {
if (1- == !halleween) { msg $chan 7,1 HAPPY HALLOWEEN! Trick or Treat!  }
}
else {
if (1- == !birthday) { msg $chan 12H3A4P5P7Y 13B6I9R8T14H2D11A10Y12 $2- 4! 9! 7! }
}
else {
if (1- == !newyear) { msg $chan 4,1*\o/* 13*\o/* 8HAPPY NEW YEAR! 7*\o/* 12*\o/* }
} }
 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.