On Input Designs

By Kurama_ on Nov 13, 2008

A snippet that adds different designs to the words you type in mIRC. To activate it type for example " /set %fire on " in either the your query window or chat room window, but to tur the script off you must open a query window and type for example " /set %fire off " this will return the words you type back to normal and you will be able to turn on another design. This the first script I made using the "on *:INPUT: " event, I mostly use the On TEXT, On ACTION, and On JOIN events, so I just made a simple and easy one (well easy for me >>)

on *:input:#: {
  if (%fire == on) {
    msg $chan 8,0 ,%0,8%`7,8,%8,7%`4,7,%7,4%`8,4 $$1- 7,4`%4,7%,8,7`%7,8%,0,8`%8,0%, 
    halt
  }
  else {
    if (%darkness == on) {
      msg $chan 15,0,%0,15%`13,15,%15,13%`6,13,%13,6%`5,6,% 8 $$1- 5,6%,13,6`%6,13%,15,13`%13,15%,0,15`%15,0%,
      halt
    }
    else {
      if (%green == on) {
        msg $chan 9`%16,9%, 3,9`%9,3%, 1,3`%3,1%,16,1 $$1- 3,1`%1,3%, 9,3`%3,9%, 16,9`%9,16%, 1
        halt 
      }
      else {
        if (%ice == on) {
          msg $chan 11,0%0,11% 10,11%11,10% 2,10%10,2% 1,2%2,1%0,1  $$1-  2,1%1,2% 10,2%2,10% 11,10%10,11% 0,11%11,0%
          halt
        }
        else { 
          if (%forest == on) {
            msg $chan 3,1\1,3\9,3\3,9\0,9\9,0\0,0-15,0\0,15\14,15\15,14\1,14\14,1\1,1-0,1 $$1- 1,1-14,1/1,14/15,14/14,15/0,15/15,0/0,0-9,0/0,9/3,9/9,3/1,3/3,1/0,0
            halt
          }
        }
      }
    }
  }
}

Comments

Sign in to comment.
|MELIORITE|   -  Nov 13, 2008

It has similar schemes to those in some older bot scripts, like the Ultimate Project ones. The names on the colour schemes are also of the same variety...

 Respond  
guest598594   -  Nov 13, 2008

Use "elseif" rather than else { if ...

if (something) { ;something }
elseif (something else) { ;idk }
elseif (w/e) { ;w/e }
else { ;blah }
 Respond  
Cheiron   -  Nov 13, 2008

certainly a different take if nothing else.. using a topic designer and using it as a talker. :)

 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.