Help - Search - Members - Calendar
Full Version: Parsing prompt contents?
BatMUD > BatMUD forums > Batclient
falkor
Is there a way to parse the prompt info into local variables to track changes and echo them locally?

For instance, reporting Exp deltas, Cash deltas, etc assuming those are included in the prompt.

Also, what is the client command to echo data without sending it to the server?
pisano
QUOTE (falkor @ Mar 29 2010, 05:42 PM) *
Is there a way to parse the prompt info into local variables to track changes and echo them locally?

For instance, reporting Exp deltas, Cash deltas, etc assuming those are included in the prompt.

Also, what is the client command to echo data without sending it to the server?


In a script you can do things like:

clientGUI.printText("general", "echo'd text that doesn't get sent to the server!\n");
falkor
Nice, thanks for the tip.

I also just realized that short score now has a diffexp and diffcash option to basically do what I was trying to do above. By just adding {diffcash} {diffexp} to the end of sc I get the same effects without any extra clutter when there are no changes ...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.