|
CroX Newbie
Joined: 25 Mar 2004 Posts: 1 Location: Sweden
|
Posted: Sun Mar 28, 2004 3:46 pm
Disable Parsing |
Is there any way to disable parsing in the trigs? For example, I use alot of "dynamic variables" in my scripts. Meaning that the value the variable returns is depending on it's input. I got this @pcol variable, which I use to color my hitpoints and mana accordingly to it's relation. If I'm at 75% or more hp the color is green, at 50%-74% it's yellow etc.. You get the point.
In these newer versions of zMUD (v7+) the client parses all the variables after a while, so that my @pcol variable looses it's dynamic and ends up containing the number "2".. I've used v5.55 for 6 years now, and got much trouble to adjust myself. Would greatly appriciate any help. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun Mar 28, 2004 4:41 pm |
Parsing of the trigger pattern can be stopped with the Verbatim option.
Parsing of the trigger value can be stopped with the ~ character.
I doubt that either of these will help with whatever problem you're having. You'll likely get more helpful responses by posting an actual trigger (both pattern and value) that's giving you problems along with a description of the specific problem it's having. Your example is extremely vague, I have absolutely no idea where @pcol is being used in the trigger, or why, or what could possibly cause it to be replaced by another string (the number 2). I can only say that I haven't experienced any such problems myself. |
|
|
|
|
|
|
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
|
|