Chatbox

Kamis, 02 Agustus 2012

Macro Buka Chatroom dan Nyimpen Hasil Chatnya

**Cara Penggunaan buat FILE TEXT bernama dat.txt dalem CONTROL

automacro tulis {
console /\[dist=(.*)\] (.*) \((\d+)\): (.*)/i
call {
do c "Postinganmu Sudah Disimpan..."
tulise("$.lastMatch2","$.lastMatch4");
}
}

sub tulise {
open(FILE,">>",Settings::getControlFilename("dat.txt"));
print FILE "$_[0] : $_[1]\n" ;
close FILE;
}
}

automacro duduk {
console /You are sitting/i
call {
pause 4
do chat create "Posting Yuk..."
}
}

4 komentar:

  1. gan.. itu emot nya ikutan kesimpen.. biar ga kesimpen gimana ya? sorry ngerepotin /wah

    BalasHapus
  2. @anonim :
    manfaatin squelchDomains

    ketik di OK conf squelchDomains emotion, emoticons

    BalasHapus