|
danwold Newbie
Joined: 26 Mar 2006 Posts: 5
|
Posted: Tue Apr 11, 2006 3:29 pm
Script Command Parameters? |
Ok so I can create seperate Triggers, Aliases, Paths, Variables, etc.
Is it possible to throw them all in one script file? and activate the script?
And if so how do I add command line parameters?
Before I used Zmud, I was using Kmuddy and scripting in Perl, this is quite a switch, within perl scripting I did all the RegEx myself and had full access to the buffer, but with Zmud its different, although I can say I love the functionality, Im still learning how to use it. |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Tue Apr 11, 2006 8:00 pm |
Do you mean like the #T- / #T+ to disable them?
Not sure what ya mean otherwise. |
|
|
|
Tarn GURU
Joined: 10 Oct 2000 Posts: 873 Location: USA
|
Posted: Tue Apr 11, 2006 8:54 pm Re: Script Command Parameters? |
danwold wrote: |
Ok so I can create seperate Triggers, Aliases, Paths, Variables, etc.
Is it possible to throw them all in one script file? and activate the script?
And if so how do I add command line parameters?
Before I used Zmud, I was using Kmuddy and scripting in Perl, this is quite a switch, within perl scripting I did all the RegEx myself and had full access to the buffer, but with Zmud its different, although I can say I love the functionality, Im still learning how to use it. |
It sounds like you're looking for "Classes"(check the help), within which a set of variables, triggers, etc. may be stored, but without more specifics I can't be sure.
Generally, they're not stored in separate files, but you can import and export them.
You can do full Regex's using the PCRE library, but don't have access to the raw packets. You can get close to raw packet access by writing a plugin (instructions under Support|ZMud Support).
-Tarn |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Apr 11, 2006 8:59 pm |
Some FEs are set up in such a way that their scripts are separate files that you call from the commandline or via a menu interface. They operate much like aliases in ZMud, except that the script is self-contained instead of also having access to other variables.
ZMud is more event-oriented, so all of its "scripts" are actually loaded into memory rather than called as needed from the commandline. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|
|
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
|
|