Top

Smiley Exchange


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  0.0
Scores Submitted  0
Date Added  Aug 22, 2006
Last Updated  Aug 22, 2006
Tags  color  replace  reptok  smile  smiley 
  Bookmark and Share

Introduction

I know this has probably been done before, but I will post my version of it here, plus I haven't seen one... I just wrote this today, and it seems to work for mem tell me if it doesn't for you and we'll see what we can do about it. What it is... It's a script that replaces smilies with coloured ones, there are only a few right now, but if you want more, and don't know how to add them just comment and say which you want added, and I'll add them asap, and re post the snippet here

Grab the Code

Comments

  (3)  RSS
Bigmomma
Comments: 30
 
mIRC Snippet:  Smiley Exchange
Posted on Aug 22, 2006 5:55 am
Why dont you use the $replace() command?
log2
Comments: 52
 
mIRC Snippet:  Smiley Exchange
Posted on Aug 22, 2006 9:12 am
Because that would exchange everything even if there weren't spaces... let's say someone wanted to say: Today:do something; do something else...
It would replace the :d
Alien_wkshop
Comments: 5
 
mIRC Snippet:  Smiley Exchange
Posted on Aug 26, 2006 5:31 pm
another way i couldnt get yours to work so made my own
im not that good so have to right for each smily
====================================================================

on *:TEXT:=):#:{
/set %randhard. [ $rand(1,7) ]
if (%randhard. == 1) {
/msg $chan 9=)
/unset %randhard. [ * ]
}
elseif (%randhard. == 2) {
/msg $chan 12=)
/unset %randhard. [ * ]
}
elseif (%randhard. == 3) {
/msg $chan 5=)
/unset %randhard. [ * ]
}
elseif (%randhard. == 4) {
/msg $chan 4=)
/unset %randhard. [ * ]
}
elseif (%randhard. == 5) {
/msg $chan 10=)
/unset %randhard. [ * ]
}
elseif (%randhard. == 6) {
/msg $chan 13=)
/unset %randhard. [ * ]
}
elseif (%randhard. == 7) {
/msg $chan 14=)
/unset %randhard. [ * ]
}
}

Please Register or Login to start posting comments.
Bottom