Script Issues (Write Command) reddit / irc ---------------------------------------------------------------------- throwawayguy709 · 2020-08-07 19:22 Create a channel script to give me a $$?, also wanted that command to write to a txt file so i can remember what i was looking for.. help would be appreciated... rusty on irc scripting. Code Sample Below .Find: set %channel.Find $$?="Enter Search Text Here" | /msg #channelone !find %channel.Find | /write %channel.Find PreviousSearchs.txt ---------------------------------------------------------------------- htepO · 2020-08-08 05:24 Assuming mIRC, you'd use something like the following in your remotes: menu channel { Find:{ var %writesearch $$?="Enter search text here:" var %search_ts $asctime(yyyy-mm-dd HH:nn:ss) msg $chan !find %writesearch write searches.txt %search_ts %writesearch } } Use it in the channel you want to search in. The file will be located in your `$mircdir`.