Bot Color Changer

By crysis992 on Feb 02, 2009

This is a little Color/Style changer for BOTS
Load this into your BOT remote.

This changes per command the style, works only for the botowner

!style 0-15

Example
If you have a Setjoin Script or whatever and you want to change the style of the Setjoin,
copy the %color into it.
!style 7
Then the bot shows the "setjoin" in Color 7(Orange)
or !style 4
Then the Bot shows the "setjoin" in Color4 (red)
You can use it on all bot scripts, must not be a setjoin script

(I hope you know what i mean)
Sorry for bad explaining :(

on *:Load:{ /echo -a You loaded the Color Change Script by crysis992,
  /echo -a 4Remember Load this script only in a Bot Remote
/set %botowner $$?"Set Here your nickname as the Bot Owner Nick" }

on *:TEXT:!style*:#:{ 
  if ($nick != %botowner) { msg # Sorry $nick, but your not the owner: %botowner }
  if ($nick == %botowner) {
    if ($2 == 0) { /set %color 0 | msg # 0The Color has been changed.  }
    if ($2 == 1) { /set %color 1 | msg #  1The Color has been changed.   }
    if ($2 == 2) { /set %color 2 | msg #  2The Color has been changed.   }
    if ($2 == 3) { /set %color 3 | msg #  3The Color has been changed.   }
    if ($2 == 4) { /set %color 4 | msg #  4The Color has been changed.   }
    if ($2 == 5) { /set %color 5 | msg #  5The Color has been changed.   }
    if ($2 == 6) { /set %color 6 | msg #  6The Color has been changed.   }
    if ($2 == 7) { /set %color 7 | msg #   7The Color has been changed.   }
    if ($2 == 8) { /set %color 8 | msg #  8The Color has been  changed.  }
    if ($2 == 9) { /set %color 9 | msg #  9The Color has been changed.   }
    if ($2 == 10) { /set %color 10 | msg #  10The Color has been changed.  }
    if ($2 == 11) { /set %color 11 | msg #  11The Color has been changed.  }
    if ($2 == 12) { /set %color 12 | msg #  12The Color has been changed.  }
    if ($2 == 13) { /set %color 13 | msg #  13The Color has been changed. }
    if ($2 == 14) { /set %color 14 | msg #  14The Color has been changed.  }
    if ($2 == 15) { /set %color 15 | msg # 15The Color has been changed.  }
    if ($2 == default) { /set %color  | msg # The Color has been changed to default.  }
    if ($2 == $null) { msg # Color Codes: 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15  Default  }

  }

Comments

Sign in to comment.
PuNkTuReD   -  Feb 04, 2009

hey napa, i was gnna throw this into a while loop, but i thought id let you have a crack at it.

 Respond  
crysis992   -  Feb 04, 2009

thanks for comments..i will edit it later :p

 Respond  
Aucun50   -  Feb 03, 2009

"if ($2 == 0) { /set %color 0 | msg # 0The Color has been changed. }"

Could be

"if ($2 == 0) || ($2 == white) { /set %color 0 | msg # 0The Color has been changed.  }"
 Respond  
zak123   -  Feb 03, 2009

What about doing !style red or !style blue >__>

 Respond  
PuNkTuReD   -  Feb 02, 2009

tip:
instead of !style 7
use !style 07

you could even have a bg color too

!style 07,01

you would have to do a quick edit job on your
if ($2 == 0)
etc

 Respond  
Aucun50   -  Feb 02, 2009

Brackets, "if ($2 == $null)" can be "if (!$2)", maybe use "if ($nick != %botowner) msg # Sorry $nick, but your not the owner: %botowner }" and make the next line "elseif ($nick == %botowner) {" same with "if ($2 == 0) { /set %color 0 | msg # 0The Color has been changed. }" next line "elseif ($2 == 1) { /set %color 1 | msg # 1The Color has been changed. }" Script runs fast that way.

Other then that looks nice

 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.