Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
DanielNicolai
USA (3 posts) bio
|
| Date |
Sun 16 Oct 2005 05:20 PM (UTC) [ quote
] |
| Message |
I want to make a program/trigger/variables/whatever that will count up from each time I do kill someone and will save when I quit. I can either use a timer or an alias to call the number into action when I need it so that's not needed.
The command I am using to mark that I need to add one to the variable is: * is Dead!
I am sure this is simple, I am just not that good at the VBScripts just yet. | top |
|
| Posted by |
Flannel
USA (1,230 posts) bio
|
| Date |
Reply #1 on Sun 16 Oct 2005 07:33 PM (UTC) [ quote
] |
| Message |
Alright, is '* is dead' coming from the server?
I'm assuming it is.
You'll make a trigger with the match text of '* is dead!'
In the send box of the trigger:
setvariable "killcount", CInt(getvariable("killcount"))+1
and you'll need to set the 'sendto' dropdown to 'script'.
and that's all there is to it. You might want to set killcount (a mushclient variable) to 0. But, I don't recall it being necessary.
Of course, you'll need to have VBscript as your scripting engine, and enable it as well. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
2,174 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )