devilzcrewz
Would you like to react to this message? Create an account in a few clicks or log in to continue.

devilzcrewz

we never care who you are
 
HomeSearchLatest imagesRegisterLog in

 

 chr replace text

Go down 
AuthorMessage
Lestat




Posts : 8
Join date : 2007-08-02

chr replace text Empty
PostSubject: chr replace text   chr replace text Icon_minitimeFri Aug 03, 2007 4:17 am

guna camni //say $ch(<text) atau leh buat input msg $active $ch($1-)
contoh //say $ch(love) nanti dia msg $+($chr(108),$chr(111),$chr(118),$chr(101))

alias ch {
unset %out
.set %t 1 | .set %tt 1
:ch
if (%t > $len($1-)) { return $ $+ +( $+ $left(%out,$calc($len(%out) - 1)) $+ ) | halt }
if ($chr(%tt) !=== $mid($1-,%t,1)) { inc %tt | goto ch }
if ($chr(%tt) === $mid($1-,%t,1)) { .set %out %out $+ $!chr( $+ %tt $+ ) $+ $chr(44) | inc %t | .set %tt 1 }
inc %tt
goto ch
}
Back to top Go down
 
chr replace text
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
devilzcrewz :: mIRC team :: Script-
Jump to: