put server input into variable

Post Reply
Felix
Posts: 8
Joined: Fri Mar 29, 2013 3:58 pm

put server input into variable

Post by Felix »

Hello,

How do you put server input, e.g. what you see on the screen when you type 'look', into a variable?

Thank you very much,

Felix

User avatar
Vadi
Posts: 5050
Joined: Sat Mar 14, 2009 3:13 pm

Re: put server input into variable

Post by Vadi »

You would have to make a trigger to capture the text that comes. Your input is not directly correlated to output - when the server sends you text, it doesn't say "this is for that command you did", so the could be inaccuracies - if you do two commands quickly.

A basic setup you could have: make an alias that enables the trigger, and make a trigger that triggers on the relevant text, captures the lines, and disables itself.

Felix
Posts: 8
Joined: Fri Mar 29, 2013 3:58 pm

Re: put server input into variable

Post by Felix »

Thank you very much, Vadi.

Post Reply