|
Skuggan Newbie
Joined: 18 May 2010 Posts: 7
|
Posted: Tue May 18, 2010 10:41 pm
Trigger on Tick Timer question |
I have a variable:
Name: test
Value: 10
I have a trigger:
Pattern: Timer now at 50 secs.
Value: #add test 1
When a tick occurs and the tick timer echoes "Timer now at 50 secs."
The variable jumps from 10 to 12.
However, if I send myself a tell, making this appear "You tell yourself: Timer now at 50 secs.",
it jumps from 10 to 11.
Why? |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue May 18, 2010 11:26 pm |
What exctly does the tick timer do? It sounds like you have it show a message AND increment a variable in addition to the trigger that also increments the same variable.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Skuggan Newbie
Joined: 18 May 2010 Posts: 7
|
Posted: Wed May 19, 2010 11:20 am |
It increments another value.
|
|
|
|
Skuggan Newbie
Joined: 18 May 2010 Posts: 7
|
Posted: Wed May 19, 2010 11:39 am |
If I do a simple echo trigger like:
Pattern: Timer now at 50 secs.
Value: #echo Test
It gives the result:
Timer now at 50 secs.
Test
Test
It seems to do the action twice, for some reason? |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Wed May 19, 2010 1:45 pm |
Try another test for us. Make an alias that prints out Test and execute it.
I'm thinking that you will also get two lines instead of one.
If you do then you probably need to adjust your session settings so that you are not inheriting your settings AND loading them.
Don't do anything though until you do the testing. |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Skuggan Newbie
Joined: 18 May 2010 Posts: 7
|
Posted: Wed May 19, 2010 5:04 pm |
Only prints one time.
Same if I manually type 'Timer now at 50 secs',
it only echoes once.
When the actual tick occurs however, it echoes twice.
And the thing is, I have the same settings, tick timer and
everything, on two computers, and it only does this
on one of them.
Any other ideas? |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Wed May 19, 2010 5:15 pm |
Is the trigger set to trigger on new line and set to trigger on prompt?
|
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Skuggan Newbie
Joined: 18 May 2010 Posts: 7
|
Posted: Wed May 19, 2010 5:29 pm |
It is set to trigger on newline.
But same result if trigger on prompt is checked too. |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Wed May 19, 2010 5:32 pm |
Try doing #show instead of echo?
I'm sorry I don't have Zmud installed to test this but I'm grasping at straws. |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Skuggan Newbie
Joined: 18 May 2010 Posts: 7
|
Posted: Wed May 19, 2010 5:43 pm |
#show did it twice as well.
|
|
|
|
Skuggan Newbie
Joined: 18 May 2010 Posts: 7
|
Posted: Wed May 19, 2010 5:47 pm |
I created a new settings file with only the tick timer, and the echo trigger, and now it works.
I thought I had the same settings on both computers, but apparantly something is messing it up.
I have no idea what though, but I will try to find it.
Appreciate all your help Arminas. |
|
|
|
|
|