2. edit sdbot05a.c
編輯
botid[] = "mentor"; // bot id
server[] = "192.168.14.200"; // server
port = 6667; // server port (預設為6667)
const char channel[] = "#123"; // channel that the bot should join (要加入的channel)
存檔準備進行編譯
3. 安裝與使用 lcc-win32 或其他的C compiler將SDBot 進行compiler
lcc-win
http://www.geocities.com/cantinhodoc/lccwin.html
4. F9對sdbot05a.c進行編譯
5. 編繹出lcc 資料夾與執行檔
6. 開啟xchat 測試 (原只有shwang & budapest 在上面, shwang 為channel operator)
7. 執行SDBot 執行檔
8. 工作管理員會多一支 cnfgld32 的程序在執行
9. IRC SERVER 上也會多一個 RANDOM 之使用者 (oiubf)
SDBOT 連結上IRC SERVER
10. 使用channel operatot (shwang) 將 SDBOT kick 掉 還會有回應
11. 其他SDBot 之指令尚無反應。
加入書籤 :
