[FunCode]Ters Yazma

mIRC sorun, ders, addon ve script paylaşım bölümü..
Post Reply
BeRkaN
Posts: 9
Joined: 30 Nov 2010, 18:57

[FunCode]Ters Yazma

Post by BeRkaN » 30 Nov 2010, 19:54

Fun Code ters Yazmak icin

/r <mesaj>

Örnek: test yaparsaniz tset cikiyor

Code: Select all

alias reverse {
  var %len = $len($1-)
  var %return = $null
  while (%len > 0) {
    var %return = %return $+ $mid($1-,%len,1) $+ $chr(32)
    dec %len
  }
  return %return
}

alias r{
  say $reverse($1-)
}
Saygilar

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest