Random Big LOL alias

By Rider91 on Jun 11, 2011

the Big LOL script made into an alias that gives a random colored one out of 11 colors

trigger is /lol

After hours of doing random stuff (without knowing how this works) to try and make this work, i finally got it

alias LOL {
  set %lol $rand(1,11) {
    if (%lol == 1)  msg $chan 12,1╔═╗1═══12╔════╗╔═╗1═══ 
    if (%lol == 2)  msg $chan 13,1╔═╗1═══13╔════╗╔═╗1═══ 
    if (%lol == 3)  msg $chan 9,1╔═╗1═══9╔════╗╔═╗1═══ 
    if (%lol == 4)  msg $chan 4,1╔═╗1═══4╔════╗╔═╗1═══ 
    if (%lol == 5)  msg $chan 6,1╔═╗1═══6╔════╗╔═╗1═══ 
    if (%lol == 6)  msg $chan 7,1╔═╗1═══7╔════╗╔═╗1═══ 
    if (%lol == 7)  msg $chan 8,1╔═╗1═══8╔════╗╔═╗1═══
    if (%lol == 8)  msg $chan 11,1╔═╗1═══11╔════╗╔═╗1═══
    if (%lol == 9)  msg $chan 0,1╔═╗1═══0╔════╗╔═╗1═══
    if (%lol == 10)  msg $chan 3,1╔═╗1═══3╔════╗╔═╗1═══
    if (%lol == 11)  msg $chan 10,1╔═╗1═══10╔════╗╔═╗1═══

    if (%lol == 1)  msg $chan 12,1║1═12║1═══12║1═12╔╗1═12║║1═12║1═══ 
    if (%lol == 2)  msg $chan 13,1║1═13║1═══13║1═13╔╗1═13║║1═13║1═══ 
    if (%lol == 3)  msg $chan 9,1║1═9║1═══9║1═9╔╗1═9║║1═9║1═══ 
    if (%lol == 4)  msg $chan 4,1║1═4║1═══4║1═4╔╗1═4║║1═4║1═══ 
    if (%lol == 5)  msg $chan 6,1║1═6║1═══6║1═6╔╗1═6║║1═6║1═══ 
    if (%lol == 6)  msg $chan 7,1║1═7║1═══7║1═7╔╗1═7║║1═7║1═══ 
    if (%lol == 7)  msg $chan 8,1║1═8║1═══8║1═8╔╗1═8║║1═8║1═══
    if (%lol == 8)  msg $chan 11,1║1═11║1═══11║1═11╔╗1═11║║1═11║1═══
    if (%lol == 9)  msg $chan 0,1║1═0║1═══0║1═0╔╗1═0║║1═0║1═══
    if (%lol == 10)  msg $chan 3,1║1═3║1═══3║1═3╔╗1═3║║1═3║1═══
    if (%lol == 11)  msg $chan 10,1║1═10║1═══10║1═10╔╗1═10║║1═10║1═══

    if (%lol == 1)  msg $chan 12,1║1═12║1═══12║1═12║║1═12║║1═12║1═══ 
    if (%lol == 2)  msg $chan 13,1║1═13║1═══13║1═13║║1═13║║1═13║1═══ 
    if (%lol == 3)  msg $chan 9,1║1═9║1═══9║1═9║║1═9║║1═9║1═══ 
    if (%lol == 4)  msg $chan 4,1║1═4║1═══4║1═4║║1═4║║1═4║1═══ 
    if (%lol == 5)  msg $chan 6,1║1═6║1═══6║1═6║║1═6║║1═6║1═══ 
    if (%lol == 6)  msg $chan 7,1║1═7║1═══7║1═7║║1═7║║1═7║1═══ 
    if (%lol == 7)  msg $chan 8,1║1═8║1═══8║1═8║║1═8║║1═8║1═══
    if (%lol == 8)  msg $chan 11,1║1═11║1═══11║1═11║║1═11║║1═11║1═══
    if (%lol == 9)  msg $chan 0,1║1═0║1═══0║1═0║║1═0║║1═0║1═══
    if (%lol == 10)  msg $chan 3,1║1═3║1═══3║1═3║║1═3║║1═3║1═══
    if (%lol == 11)  msg $chan 10,1║1═10║1═══10║1═10║║1═10║║1═10║1═══

    if (%lol == 1)  msg $chan 12,1║1═12╚══╗║1═12╚╝1═12║║1═12╚══╗ 
    if (%lol == 2)  msg $chan 13,1║1═13╚══╗║1═13╚╝1═13║║1═13╚══╗ 
    if (%lol == 3)  msg $chan 9,1║1═9╚══╗║1═9╚╝1═9║║1═9╚══╗ 
    if (%lol == 4)  msg $chan 4,1║1═4╚══╗║1═4╚╝1═4║║1═4╚══╗ 
    if (%lol == 5)  msg $chan 6,1║1═6╚══╗║1═6╚╝1═6║║1═6╚══╗ 
    if (%lol == 6)  msg $chan 7,1║1═7╚══╗║1═7╚╝1═7║║1═7╚══╗ 
    if (%lol == 7)  msg $chan 8,1║1═8╚══╗║1═8╚╝1═8║║1═8╚══╗
    if (%lol == 8)  msg $chan 11,1║1═11╚══╗║1═11╚╝1═11║║1═11╚══╗
    if (%lol == 9)  msg $chan 0,1║1═0╚══╗║1═0╚╝1═0║║1═0╚══╗
    if (%lol == 10)  msg $chan 3,1║1═3╚══╗║1═3╚╝1═3║║1═3╚══╗
    if (%lol == 11)  msg $chan 10,1║1═10╚══╗║1═10╚╝1═10║║1═10╚══╗

    if (%lol == 1)  msg $chan 12,1╚════╝╚════╝╚════╝ 
    if (%lol == 2)  msg $chan 13,1╚════╝╚════╝╚════╝ 
    if (%lol == 3)  msg $chan 9,1╚════╝╚════╝╚════╝ 
    if (%lol == 4)  msg $chan 4,1╚════╝╚════╝╚════╝ 
    if (%lol == 5)  msg $chan 6,1╚════╝╚════╝╚════╝ 
    if (%lol == 6)  msg $chan 7,1╚════╝╚════╝╚════╝ 
    if (%lol == 7)  msg $chan 8,1╚════╝╚════╝╚════╝
    if (%lol == 8)  msg $chan 11,1╚════╝╚════╝╚════╝
    if (%lol == 9)  msg $chan 0,1╚════╝╚════╝╚════╝
    if (%lol == 10)  msg $chan 3,1╚════╝╚════╝╚════╝
    if (%lol == 11)  msg $chan 10,1╚════╝╚════╝╚════╝
  }
}

Comments

Sign in to comment.
Jethro   -  Jun 15, 2011

It's fun if you make the output as an echo print. (only for the self-enjoyment) It's not fun when you get banned by server or a moderator for text flood. :P

 Respond  
Rider91   -  Jun 15, 2011

yea, i was just a bit excited to have figured this one out using the alias trigger (im very new to scripting) and like all the ones i have up, its more fo fun and thx for the comments

 Respond  
Jethro   -  Jun 11, 2011

It's proven that some people never learn. You'll find yourself sounding like a broken record.

 Respond  
napa182   -  Jun 11, 2011

Rider91, you really need to learn how to update your old snippets.

 Respond  
Dani_l11   -  Jun 11, 2011

Nicely made, however its not really useful. Some tips for next time.

When you're using alot of msg $chan, set a var with that value.
Start with

var %m = msg $chan
%m line1
%m line2
%m line3

Saves you alot of typing.
Next, use if () {
}

if (%lol == 1) {
%m line1
%m line2
%m line3
}
if (%lol == 2) {
%m line1
%m line2
%m line3
}

Also, you could have just made 1 message, and randomize the color

%m $chr(3) $+ %lol $+ ,1 hey this message is in a random color
%m $chr(3) $+ %lol $+ ,1 this message is in the same random color as above

$chr(3) is the control+k, %lol is the value of the color (so which color it gets) and the ,1 is for the white background. That would've saved you alot of trouble!

I'll give you a 6 for your first script.

 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.