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

Here is Micha's mIRC script

2 posters

Go down

Here is Micha's mIRC script  Empty Here is Micha's mIRC script

Post  Principal Investigator Sat Mar 26, 2011 2:47 pm

;myscript to use Micha's C++ brain in mIRC

on *:TEXT:*:#:{
;send new request to file
./fopen -o to-chloe to-chloe.txt
;write TEXT to file
.fwrite -n to-chloe $1-
.fclose to-chloe

./fopen -o nickfile nickfile.txt
.fwrite -n nickfile $nick
.fclose nickfile

var %bench.time = $ticks
var %bench.mark = 0
while ($calc($ticks - %bench.time) < 5500) {
inc %bench.mark
}

;get response
.fopen from-chloe from-chloe.txt
var %reply = $fread(from-chloe)
/msg # $nick : %reply
;echo %reply
.fclose from-chloe
}

Principal Investigator
Principal Investigator

Posts : 3
Join date : 2011-03-25

Back to top Go down

Here is Micha's mIRC script  Empty Re: Here is Micha's mIRC script

Post  Admin Sat Mar 26, 2011 3:21 pm

So its brain is stored in a file that interacts with mIRC, instead of connecting itself? Never seen that before. Cool
Admin
Admin
Admin

Posts : 5
Join date : 2011-03-25

https://pictochat.board-directory.net

Back to top Go down

Here is Micha's mIRC script  Empty reply

Post  Principal Investigator Sat Mar 26, 2011 3:28 pm

Yea. All this script does is wait for something to be said, then sends it and the name of the sender to files. Then it waits for 5 1/2 seconds while the C++ program works on the data. Then it reads the answer and sends it to the channel.

Steve
Principal Investigator
Principal Investigator

Posts : 3
Join date : 2011-03-25

Back to top Go down

Here is Micha's mIRC script  Empty Re: Here is Micha's mIRC script

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum