Iola2009-04-24 12:05:40
Anyone got a working influencing script for zMud? I am not even going to attempt to code one myself because it just won't happen 

Unknown2009-04-24 12:25:33
Not sure if you'd want mine. It goes something like this:
To "initiate" it, you'd need to INFLUENCE MOB WITH (compliment type) the very first time ever, and then after that it does the rest.
Edit: That is to say, after using it once on a mob, for the rest of the time you have the script, all you'll need to do is COMP (mob).
CODE
**ALIAS**
Name: comp
Value:
influence %1 with @comptype
@tar = %1
@tarlife = 1
**VARIABLE**
Name: comptype
Value: (leave blank)
Name: tar
Value: (leave blank)
Name: tarlife
Value: (leave blank)
**TRIGGERS**
Name: ^You compliment
Value: @comptype = admiration
Name: ^You confide in
Value: @comptype = compliments
Name: puffs up her chest and a crazy gleam enters her eyes
Value: @tarlife = 0
Name: puffs up his chest and a crazy gleam enters his eyes
Value: @tarlife = 0
Name: is so caught up in admiring himself that he barely
Value:
@tarlife = 0
#EC -- ALREADY INFLUENCED --
Name: is so caught up in admiring herself that she barely
Value:
@tarlife = 0
#EC -- ALREADY INFLUENCED --
Name: ^You have recovered equilibrium.
Value: #if (@tarlife = 1) {comp @tar}
Name: comp
Value:
influence %1 with @comptype
@tar = %1
@tarlife = 1
**VARIABLE**
Name: comptype
Value: (leave blank)
Name: tar
Value: (leave blank)
Name: tarlife
Value: (leave blank)
**TRIGGERS**
Name: ^You compliment
Value: @comptype = admiration
Name: ^You confide in
Value: @comptype = compliments
Name: puffs up her chest and a crazy gleam enters her eyes
Value: @tarlife = 0
Name: puffs up his chest and a crazy gleam enters his eyes
Value: @tarlife = 0
Name: is so caught up in admiring himself that he barely
Value:
@tarlife = 0
#EC -- ALREADY INFLUENCED --
Name: is so caught up in admiring herself that she barely
Value:
@tarlife = 0
#EC -- ALREADY INFLUENCED --
Name: ^You have recovered equilibrium.
Value: #if (@tarlife = 1) {comp @tar}
To "initiate" it, you'd need to INFLUENCE MOB WITH (compliment type) the very first time ever, and then after that it does the rest.
Edit: That is to say, after using it once on a mob, for the rest of the time you have the script, all you'll need to do is COMP (mob).
Unknown2009-04-24 12:39:39
You shouldn't use @var = value. Leave off the @.
Those triggers can be simplified by matching %w instead of his or her.
Keep in mind that this is only for empowering, and it only seems to use two of the types, not all three.
Those triggers can be simplified by matching %w instead of his or her.
Keep in mind that this is only for empowering, and it only seems to use two of the types, not all three.
Unknown2009-04-24 12:42:35
QUOTE (Zarquan @ Apr 24 2009, 08:39 AM) <{POST_SNAPBACK}>
You shouldn't use @var = value. Leave off the @.
Those triggers can be simplified by matching %w instead of his or her.
Keep in mind that this is only for empowering, and it only seems to use two of the types, not all three.
Those triggers can be simplified by matching %w instead of his or her.
Keep in mind that this is only for empowering, and it only seems to use two of the types, not all three.
When I don't include the @'s, the script doesn't work.
I C+P'd the trigger lines from the game.
I haven't coded in the third type, but Iola is a smart girl and I'm sure with something very basic like what I gave her, she can probably figure out how to throw in the third type and make it run more smoothly than I can.

Unknown2009-04-24 12:50:07
QUOTE (Myrkr @ Apr 24 2009, 08:42 AM) <{POST_SNAPBACK}>
When I don't include the @'s, the script doesn't work.
You need the @ to retrieve the value stored in a variable. You should not use it to set a variable. For some reason (unknown to Zugg, too, it seems), zMUD seems to ignore this and do what you expected, anyway. Note, however, that CMUD treats these two syntaxes entirely differently.
Iola2009-04-24 14:55:57
I was looking for more than just empowering, yes, and I'm transcendent Influence so having everything in there already would be a bonus. As much as I could go through it and edit it myself...I don't want to have to really.
Unknown2009-04-24 15:17:08
I'd heard that influencers were lazy, but... 

Iola2009-04-24 15:22:28
QUOTE (Zarquan @ Apr 24 2009, 04:17 PM) <{POST_SNAPBACK}>
I'd heard that influencers were lazy, but... 

*grin*
I just hate coding.
Unknown2009-04-25 17:30:30
Well, I wrote one for myself in CMUD. Its kinda an semi auto.
I think I can write it for ZMUD.

I think I can write it for ZMUD.
Kelysa2009-04-25 19:18:58
I have a good one for sale for like 5 credits. Ask like Sarra or someone if you need assurances.