mIRC Homepage
Posted By: keeker makeing /play use identifiers - 03/09/03 12:50 AM
Hello, how can i make /play nick help.txt 1000 evaluate identifiers in the text of the text file? like $nick $time $date stuff like that? I dont want to treat each line like a command cause thier not, they are just lines but wuld like to add the time/date/nick into certain parts of each play. I hope this makes sense and would appreciate any help
Posted By: WatchMinister Re: makeing /play use identifiers - 03/09/03 12:59 AM
Update your mIRC to 6.1 and use /play -a.
Posted By: ClickHeRe Re: makeing /play use identifiers - 03/09/03 12:59 AM
Not sure if this is what you wish, but from the help file:

The -c switch forces mIRC to interpret lines as actual commands instead of plain text.

Don't know if he will interpret the $idents contained within the line wit that.
Posted By: keeker Re: makeing /play use identifiers - 03/09/03 01:38 AM
nope dont work, that treats each line like a /command and it returns "Unknown Command" errors for each line.
Posted By: keeker Re: makeing /play use identifiers - 03/09/03 01:52 AM
i tried using /play -a in mirc 6.1 and came up with an alias to run it through, but i musta messed up the alias somewhere cause it will send the message, but it dont evaluate the data:

Code:
 alias returner {
  msg  $eval($1-,1)
}
 


i tried it both with and without the $eval and with the $eval in the text file itself, but none of them worked. any other suggestions?
Posted By: Collective Re: makeing /play use identifiers - 03/09/03 02:04 AM
Code:
alias returner {
  msg $eval($1-,[color:red]2[/color])
}
Posted By: keeker Re: makeing /play use identifiers - 03/09/03 02:23 AM
thank you thank you thank you collective, it work!!!!!
© mIRC Discussion Forums