Shylim Newbie
Joined: 26 Jun 2004 Posts: 4 Location: Russia
|
Posted: Sat Jun 26, 2004 9:01 pm
perl and zmud |
Hello all.
Please help me. in client jmc i use construction:
Hot key: Alt-9 #scri Init();
And script write on perl:
sub Init()
{
$jmc->RegisterHandler("Incoming", "OnInput()");
}
This procedure (Init) redirect incoming string in my procedure and in , depending on ocurrence, I cause the procedure necessary to me (I work with many array and variable)
Sample array:
@ArrayAffect = ("Armor", "A", "2", "1", "You feel someone protecting you.", "Spell armor", "You feel less armored.","0",
"Bless", "B", "", "", "You feel righteous.", "", "You feel less righteous.","0",
"Blink", "L", "3", "1", "You begin blinking in and out of existence.","Spell blink","You stop blinking in and out of phase.","0";) <skip>
I read forum but i dont undestand, how i can use perl script (in the context necessary to me) on zmud.
Thanks for your answer |
|