mIRC Home    About    Download    Register    News    Help

Print Thread
#171499 24/02/07 10:13 PM
Joined: Feb 2007
Posts: 33
H
harl91 Offline OP
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Feb 2007
Posts: 33
im kinda new to the whole scripting thing
what i need is for my bot to read a whole txt file to the person who commanded it to. How would i do that?

so far i got
if ($2 == list) { msg $nick Here is a list of players waiting for a game | set %players  $read(list.txt,here)  | msg $nick %players | halt }

here is says here is where im woundering if there is a command to make it read the whole txt fiel to the person that sent the command

thanks for the help

harl91 #171500 24/02/07 10:52 PM
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
/play $chan text.txt

Search help section for /play.


Link Copied to Clipboard