Top

Smiley Script V2!


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Mar 04, 2009
Last Updated  Mar 09, 2009
Tags  bigsmile  smile  smiley 

Introduction

Post it in your remotes... Type /smile (channel). The channel you type it in gets a big smile from you. Enjoy!

P.S. I did not make this smile. I just put it into a script.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I added a new alias script. Use /smile instead of !smile. If you like to have the old script... Here it is:
Code:

on *:INPUT:*: {
  if (!smile == $1) {
    if (!$2) {
      echo 3 7Put a channel to send the smile to. 3Format: 4!smile (chan)
      halt
    }
    if ($me !ison $2) {
      echo 3 4You are not on that channel!
      halt
    } 
    msg $2 14> 0,0................1,1..............
    msg $2 14> 0,0...........1,1....8,8..............1,1....
    msg $2 14> 0,0.........1,1..8,8......................1,1..
    msg $2 14> 0,0.......1,1..8,8..........................1,1..
    msg $2 14> 0,0.....1,1..8,8..1,1......8,8..........1,1......8,8......1,1..
    msg $2 14> 0,0.....1,1....0,0....1,1....8,8......1,1..0,0....1,1....8,8....1,1..
    msg $2 14> 0,0...1,1..8,8..1,1..0,0....1,1....8,8......1,1..0,0....1,1....8,8......1,1..
    msg $2 14> 0,0...1,1..8,8..1,1..0,0......1,1..8,8......1,1..0,0......1,1..8,8......1,1..
    msg $2 14> 0,0...1,1..8,8..1,1..........8,8......1,1..........8,8......1,1..
    msg $2 14> 0,0...1,1..8,8..................................1,1..
    msg $2 14> 0,0...1,1..8,8..1,1..........................8,8......1,1..
    msg $2 14> 0,0...1,1..8,8....1,1..6,6....................1,1..8,8......1,1..
    msg $2 14> 0,0...1,1..8,8....1,1..6,6....................1,1..8,8......1,1..
    msg $2 14> 0,0.....1,1..8,8....1,1..6,6......13,13......6,6......1,1..8,8....1,1..
    msg $2 14> 0,0.....1,1..8,8....1,1..6,6....13,13............1,1..8,8......1,1..
    msg $2 0,0.......1,1..8,8....1,1..13,13............1,1..8,8......1,1..
    msg $2 0,0.........1,1..8,8....1,1............8,8......1,1..
    msg $2 0,0...........1,1....8,8..............1,1....
    msg $2 14> 0,0...............1,1.............. 
  }
}


Grab the Code

alias smile {
  if (!$1) {
    echo 3 7Put a channel to send the smile to. 3Format: 4!smile (chan)
    halt
  }
  if ($me !ison $1) {
    echo 3 7You are not on that channel!
    halt
  }
  echo 3 3Smile has been sent.  
  msg $1 14> 0,0................1,1..............
  msg $1 14> 0,0...........1,1....8,8..............1,1....
  msg $1 14> 0,0.........1,1..8,8......................1,1..
  msg $1 14> 0,0.......1,1..8,8..........................1,1..
  msg $1 14> 0,0.....1,1..8,8..1,1......8,8..........1,1......8,8......1,1..
  msg $1 14> 0,0.....1,1....0,0....1,1....8,8......1,1..0,0....1,1....8,8....1,1..
  msg $1 14> 0,0...1,1..8,8..1,1..0,0....1,1....8,8......1,1..0,0....1,1....8,8......1,1..
  msg $1 14> 0,0...1,1..8,8..1,1..0,0......1,1..8,8......1,1..0,0......1,1..8,8......1,1..
  msg $1 14> 0,0...1,1..8,8..1,1..........8,8......1,1..........8,8......1,1..
  msg $1 14> 0,0...1,1..8,8..................................1,1..
  msg $1 14> 0,0...1,1..8,8..1,1..........................8,8......1,1..
  msg $1 14> 0,0...1,1..8,8....1,1..6,6....................1,1..8,8......1,1..
  msg $1 14> 0,0...1,1..8,8....1,1..6,6....................1,1..8,8......1,1..
  msg $1 14> 0,0.....1,1..8,8....1,1..6,6......13,13......6,6......1,1..8,8....1,1..
  msg $1 14> 0,0.....1,1..8,8....1,1..6,6....13,13............1,1..8,8......1,1..
  msg $1 0,0.......1,1..8,8....1,1..13,13............1,1..8,8......1,1..
  msg $1 0,0.........1,1..8,8....1,1............8,8......1,1..
  msg $1 0,0...........1,1....8,8..............1,1....
  msg $1 14> 0,0...............1,1..............  
}

Comments

  (10)  RSS
Aucun50
Comments: 548
 
mIRC Snippet:  Smiley Script V2!
Posted on Mar 4, 2009 10:41 pm
I don't get this "if (!smile == $1) && ($nick == $me) {" do you even know what input means? Means that ONLY you can use it so no need for "&& ($nick == $me)".

Also:
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
14> No such nick/channel
-
Kirby
Comments: 475
 
mIRC Snippet:  Smiley Script V2!
Posted on Mar 4, 2009 11:11 pm
Ah another smiley script. :\
ReFuSeR
Comments: 22
 
mIRC Snippet:  Smiley Script V2!
Posted on Mar 5, 2009 10:16 am
@ Aucun50 If it works fine with it what is the point of telling me that?

@ Aucun50 That only happens if you do not put a channel to send the smile to.

@ Kirby... Leave if you have nothing good to say.

EDIT:
I fixed that little problem... It should be flawless now.

I also added some extras... If your not on the channel it will send a error message
Aucun50
Comments: 548
 
mIRC Snippet:  Smiley Script V2!
Posted on Mar 5, 2009 3:26 pm
"@ Aucun50 If it works fine with it what is the point of telling me that?"
I'm telling you because INPUT means ONLY YOU so no need for the ($nick == $me), it's called commenting if you don't like it don't post
Kirby
Comments: 475
 
mIRC Snippet:  Smiley Script V2!
Posted on Mar 5, 2009 8:11 pm
I actually commented something about the code, but since, later, I felt what I previously said was unnecessary so I replaced it with something not useful.
I'm sorry.

As for the on input, Aucun50 is right.
Quote:
@ Aucun50 If it works fine with it what is the point of telling me that?

@ Aucun50 That only happens if you do not put a channel to send the smile to.
Even though the script works, there are some things that are not necessary as he pointed out. If there is no channel supplied, how about you add some error checks?


Edit: I see that you have fixed it.

But instead of $2 as a channel and the whole !smile #chan command, why don't you simply use an alias and message the $active? By far, it would be easier.

In my opinion, your code would make sense if it's an on text event where you have to supply a channel name, but an on input is unnecessary for personal usages.


Also: I said what I said before because I saw the same exact smiley ascii code on Hawkee a few weeks ago. If you don't like what I said, you are welcome to delete it whenever you wish, since this is your own snippet.
Jethro_
Comments: 436
 
mIRC Snippet:  Smiley Script V2!
Posted on Mar 5, 2009 10:26 pm
We can't expect people to be positive about what we've posted code-wise, but we can certainly be learning from what they've pointed out to improve ourselves. Constructive criticism is what motivates us to do better in coding.
ReFuSeR
Comments: 22
 
mIRC Snippet:  Smiley Script V2!
Posted on Mar 6, 2009 2:59 pm
I am sorry... I get kinda heated when it comes to code. I apologize

EDIT:
@ Kirby: You have a point... I do not know how to use Aliases. :(
Aucun50
Comments: 548
 
mIRC Snippet:  Smiley Script V2!
Posted on Mar 6, 2009 3:53 pm
Np it's all good try the forums for a tutorial on aliases or maybe kirby will post one for yea.
ReFuSeR
Comments: 22
 
mIRC Snippet:  Smiley Script V2!
Posted on Mar 9, 2009 1:58 pm
Yea... I had no idea how easy it was... I added a option for the alias in my script. Thanks... Also, I will be releasing a pretty cool Dialog in a while.

SirJaxx
Comments: 6
 
mIRC Snippet:  Smiley Script V2!
Posted on Apr 16, 2009 9:12 pm
Please fix the last 4 lines, well... I guess the last one is ok.
Don't you guys actually test these Snippets before posting them?
Also I run mine on a Black BG, and it looks Funky with only the left side of the script in White.

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom