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 |
|
|
Introduction
mIRC Snippet:
Smiley Exchange
Posted on Aug 22, 2006 5:55 am
Posted on Aug 22, 2006 5:55 am
Why dont you use the $replace() command?
mIRC Snippet:
Smiley Exchange
Posted on Aug 22, 2006 9:12 am
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
It would replace the :d
mIRC Snippet:
Smiley Exchange
Posted on Aug 26, 2006 5:31 pm
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. [ * ]
}
}
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. [ * ]
}
}







