Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Shylim
Newbie


Joined: 26 Jun 2004
Posts: 4
Location: Russia

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net