|
Csontikka Newbie
Joined: 04 Nov 2003 Posts: 3 Location: Hungary
|
Posted: Tue Nov 04, 2003 8:39 pm
I dont want to see the mud's prompt line |
My mud send a prompt:
BEGINPROMPT HP 585 HPMAX 585 ST 304 STMAX 313 MP 292 MPMAX 292 TP 1148K TPMEG 2627k PENZ 159K NEV fila HK 100 ENDPROMPT
this is my prompt line
i want to get the valuables into variables (with trigger i can do it)
my question is:
How can i hide this line from the window? so i dont want to see this window but i wan to get the valuables |
|
|
|
Talahaski Enchanter
Joined: 10 Oct 2000 Posts: 656 Location: USA
|
Posted: Tue Nov 04, 2003 9:51 pm |
add #gag into your trigger at the end after getting all the variables
|
|
|
|
Tygerhart Novice
Joined: 04 Oct 2001 Posts: 43 Location: Canada
|
Posted: Tue Nov 04, 2003 10:01 pm |
Here's what I use for something similar....
HP:(%d)/(%d) Mana:(%d)/(%d) Move:(%d)/(%d) XP:(%d)/(%d) Gold:(%d)
#SUB %null
#VAR HpVar %1
#VAR HpMaxVar %2
#VAR ManaVar %3
#VAR ManaMaxVar %4
#VAR XpCuVar %7
#VAR Xp2Var %8
#MATH XpTotVar (%7+%8)
It has the added benefit of not gagging anything that you or your MUD might output after your prompt.
Tygerhart |
|
|
|
Csontikka Newbie
Joined: 04 Nov 2003 Posts: 3 Location: Hungary
|
Posted: Tue Nov 04, 2003 10:27 pm |
it works!
Thanx a lot!
Csontikka |
|
|
|
Csontikka Newbie
Joined: 04 Nov 2003 Posts: 3 Location: Hungary
|
Posted: Tue Nov 04, 2003 10:27 pm |
it works!
Thanx a lot!
Csontikka |
|
|
|
|
|