Author Topic: Echo client  (Read 1308 times)

0 Members and 1 Guest are viewing this topic.

Offline sebastian

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Echo client
« on: 28 November, 2003, 15:39:07 »
can anyone do a Echo client to me.
an echo cleint is an client that sending back things in mainchat.


program GUI:


Bot nick:  |                  textfiled               |
Address:  |                    text field            |
Password: |                  text field            |
port:         |  textfield|

                  |button: connect! |





to echo an message , from an script , i do this line

password = "my pasword set in the Echo client"
nick = "bot nick"



SendPmToNick(nick , "echomessage" , "!echo "..password.." !op nick")


this should cause the echo program send

!op nick

in main

if password is wrong , for example an user tries to send a ordinarie PM without !echo command or sending a !echo command with wrong password , the bot should not care about it and do nothing.





The reason why i want that type of program is to run inbuilt PtokaX commands not aviable to script, for example !clrpermban , !op , !restart , !restartscripts  , and some more from a script.
« Last Edit: 28 November, 2003, 15:39:49 by sebastian »

PtokaX forum

Echo client
« on: 28 November, 2003, 15:39:07 »