i am new to the vbscript and this client, so i am still learning on using this type computer landuage,,...
My pupose of the trigger is to caputre the information from the prompt line(e.g. 1820h, 1620m, 8000e, 8000w ex-)
so my trigger is shown below.
*h, *m, *e, *w *-.*
<,command send to script>>
world.SetVariable "health", "%1"
world.SetVariable "mana", "%2"
world.SetVariable "endurance", "%3"
world.SetVariable "willpower", "%4"
world.SetVariable "status", "%5"
my problem is that the saved information in the varible heath, mana .... status are little bit outdated.
i have make a test...
see below..
here are the screen output.
___________________________________
1820h, 1620m, 7998e, 8000w e-
You have recovered balance on all limbs.
1820h, 1620m, 7998e, 8000w ex-
1820h, 1620m, 8000e, 8000w ex-
______________________________________
let us conside the variable status,
LINE3 : status is "e" , not "ex" after i prees enter,then it fo to LINE4and the status become "ex"
it shows me that the trigger only fires after i prees enter in the prompt line.
what can i do if i want to save the information in the variables without pressing the enter after the prompt line....
My pupose of the trigger is to caputre the information from the prompt line(e.g. 1820h, 1620m, 8000e, 8000w ex-)
so my trigger is shown below.
*h, *m, *e, *w *-.*
<,command send to script>>
world.SetVariable "health", "%1"
world.SetVariable "mana", "%2"
world.SetVariable "endurance", "%3"
world.SetVariable "willpower", "%4"
world.SetVariable "status", "%5"
my problem is that the saved information in the varible heath, mana .... status are little bit outdated.
i have make a test...
see below..
here are the screen output.
___________________________________
1820h, 1620m, 7998e, 8000w e-
You have recovered balance on all limbs.
1820h, 1620m, 7998e, 8000w ex-
1820h, 1620m, 8000e, 8000w ex-
______________________________________
let us conside the variable status,
LINE3 : status is "e" , not "ex" after i prees enter,then it fo to LINE4and the status become "ex"
it shows me that the trigger only fires after i prees enter in the prompt line.
what can i do if i want to save the information in the variables without pressing the enter after the prompt line....