Simple Welcome Message sender :d Nick's lenght is not a problem ...
on ^*:JOIN:#[CHANNEL]:{
if ( $nick != $me ) {
if (!%Anti.Flood) {
inc -u15 %Anti.Flood
msg $chan $+(4+,$str(-,15),$str(-,$len($chan)),$str(-,$len($nick)),4+)
msg $chan $chr(124) Welcome to $+(,$rand(2,14),$chan,,$chr(44)) $+(4,$nick,) $chr(124)
msg $chan $+(4+,$str(-,15),$str(-,$len($chan)),$str(-,$len($nick)),4+)
}
}
}
just like that
on ^*:JOIN:#:{
if ( $nick != $me ) {
if (!%Anti.Flood) {
inc -u15 %Anti.Flood
msg $chan $+(4+,$str(-,15),$str(-,$len($chan)),$str(-,$len($nick)),4+)
msg $chan $chr(124) Welcome to $+(,$rand(2,14),$chan,,$chr(44)) $+(4,$nick,) $chr(124)
msg $chan $+(4+,$str(-,15),$str(-,$len($chan)),$str(-,$len($nick)),4+)
}
}
}
hey if i use the code then happens this ...
http://www.fotos-hochladen.net/test1qoymd5i7.jpg
but i want like this ..
http://www.fotos-hochladen.net/test297howvu8.jpg
or
Write with channel name ;
alias test {
msg $1 $+(4+,$str(-,4),$str(-,$len($1)),$str(-,$len($2)),4+)
msg $1 $chr(124) $+(,$rand(2,14),$2,,$chr(44)) $+(4,$1,) $chr(124)
msg $1 $+(4+,$str(-,4),$str(-,$len($1)),$str(-,$len($2)),4+)
}
or
Write without channel name ;
alias test {
msg $1 $+(4+,$str(-,2),$str(-,$len($2-)),4+)
msg $1 $chr(124) $+(,$rand(2,14),$2-,) $chr(124)
msg $1 $+(4+,$str(-,2),$str(-,$len($2-)),4+)
}
i made it for alias but i need help :D
alias test {
msg $chan $+(4+,$str(-,15),$str(-,$len($chan)),$str(-,$len($nick)),4+)
msg $chan $chr(124) $+(,$rand(2,14),,$chr(44)) $+(4,$1-,) $chr(124)
msg $chan $+(4+,$str(-,15),$str(-,$len($chan)),$str(-,$len($nick)),4+)
}
20:05 4+------------------4+
20:05 | 6, 4:o |
20:05 4+------------------4+
lol :D help pls
:P Actually $rand is more standardized than $r, which is deprecated or obsolete but still works! I supposed Khaled introduced that so people can easily identify what it does. It's the same for isvo and isvoice for example. Perhaps someday Khaled will get rid of the old identifiers and unify all the standard ones. (not until some oldies stop using old versions of mIRC.)
Nevertheless, I like the short ones better...lol