Hello all.
I'm looking for an assassination timer. I know that there is a post with one already, but I would like one that works off the mudd time rather then the assassination command. Ashiwi said that he had one (if you could post it, that would be great!) So if any of you rogues have a good one, please post it. =) Thanx
Need help fixing Assassination timer.
Need help fixing Assassination timer.
Last edited by Teralyn on Sun Nov 02, 2003 11:45 pm, edited 1 time in total.
I'm currently using a set that was posted here but I can't seem to get it to work correctly.
ALIASES:
Name:
assascheck
Value:
#if (%time( hh:n)>@Assashrs:@Assasmins) {Assr}
#if (@Assasused=0) {#sa You may assassinate again.} {#sa Assasinate charge will be replenished at @Assashrs:@Assasmins. Time now is %time( hh:n)}
Name:
assr
Value:
#sa Assassinate timer re-set
#t- AssasinateTimer
#var AssasUsed {0} {0}
#var AssasMins {}
#var AssasHrs {}
Name:
assas
Value:
~assas %1
#if (@Assasused = 0) {#math AssasTime {[(%time( hh)*60) + %time( n)]}}
#t+ AssasinateTimer
#if {[(@AssasTime + 24) >1439]} {#math Assastime (@Assastime - 1416)} {#math Assastime (24 + @Assastime)}
#math Assashrs (@Assastime / 60)
#if ((@Assastime \ 60) > 1) {#math Assasmins (@Assastime \ 60)} {#var Assasmins {0[(@Assastime \ 60)]}}
#var Assasused {1} {0}
#say Assashands charge will be replenished at @Assashrs:@Assasmins. Time now is %time( hh:n)
TRIGGER:
Pattern:
@AssasHrs:@AssasMins:00
Value:
#var Assasused {0} {0}
#t- AssasinateTimer
#sa Assasinate re-charged.
1. The time showed when using the assascheck is in military time, rather then standard. Is there any ways to change that over?
2. When I use the assr alias it resets the timer, but it will randomly send #SA Assassinate timer reset.
Don't know why, and doest it a few times, maybe 3 or 4.
I don't know what's wrong with it. I just barely figured out the #if command, and I know nothing about #math, so I hvae no clue. Any help would be great. Thanks
ALIASES:
Name:
assascheck
Value:
#if (%time( hh:n)>@Assashrs:@Assasmins) {Assr}
#if (@Assasused=0) {#sa You may assassinate again.} {#sa Assasinate charge will be replenished at @Assashrs:@Assasmins. Time now is %time( hh:n)}
Name:
assr
Value:
#sa Assassinate timer re-set
#t- AssasinateTimer
#var AssasUsed {0} {0}
#var AssasMins {}
#var AssasHrs {}
Name:
assas
Value:
~assas %1
#if (@Assasused = 0) {#math AssasTime {[(%time( hh)*60) + %time( n)]}}
#t+ AssasinateTimer
#if {[(@AssasTime + 24) >1439]} {#math Assastime (@Assastime - 1416)} {#math Assastime (24 + @Assastime)}
#math Assashrs (@Assastime / 60)
#if ((@Assastime \ 60) > 1) {#math Assasmins (@Assastime \ 60)} {#var Assasmins {0[(@Assastime \ 60)]}}
#var Assasused {1} {0}
#say Assashands charge will be replenished at @Assashrs:@Assasmins. Time now is %time( hh:n)
TRIGGER:
Pattern:
@AssasHrs:@AssasMins:00
Value:
#var Assasused {0} {0}
#t- AssasinateTimer
#sa Assasinate re-charged.
1. The time showed when using the assascheck is in military time, rather then standard. Is there any ways to change that over?
2. When I use the assr alias it resets the timer, but it will randomly send #SA Assassinate timer reset.
Don't know why, and doest it a few times, maybe 3 or 4.
I don't know what's wrong with it. I just barely figured out the #if command, and I know nothing about #math, so I hvae no clue. Any help would be great. Thanks
Ok, added the other ) But I still couldn't figure out the automatic evaluation part, please let me know.
#CLASS 0
#ALIAS asscheck {#if (%time( hh:mm)>@Assashrs:@Assasmins) {Assr};#if (@Assasused=0) {#sa You may assassinate again.} {#sa Assasinate charge will be replenished at @Assashrs:@Assasmins. Time now is %time( hh:mm)}}
#ALIAS assr {#SAY Assassinate timer re-set;#T- AssasinateTimer;#VARIABLE AssasUsed {0} {0};#VARIABLE AssasMins {};#VARIABLE AssasHrs {}}
#ALIAS assas {~assas %1;#if (@Assasused = 0) {#math AssasTime {[(%time( hh)*60) + %time( mm)]}};#t+ AssasinateTimer;#if {[(@AssasTime + 24) >1439]} {#math Assastime (@Assastime - 1416)} {#math Assastime (24 + @Assastime)};#math Assashrs (@Assastime / 60);#if ((@Assastime \ 60) > 1)) {#math Assasmins (@Assastime \ 60)} {#var Assasmins {0[(@Assastime \ 60)]}};#var Assasused {1} {0};#say Assashands charge will be replenished at @Assashrs:@Assasmins. Time now is %time( hh:mm)}
#VAR Assashrs {}
#VAR Assasmins {}
#VAR AssasTime {979}
#VAR assascheck {0} {0}
#VAR Assasused {0} {0}
#ALARM "Alarm1" @AssasHrs:@AssasMins:00 {#VARIABLE Assasused {0} {0};#T- AssasinateTimer;#SAY Assasinate re-charged.;em is ready to kill again...}
#CLASS 0
#CLASS 0
#ALIAS asscheck {#if (%time( hh:mm)>@Assashrs:@Assasmins) {Assr};#if (@Assasused=0) {#sa You may assassinate again.} {#sa Assasinate charge will be replenished at @Assashrs:@Assasmins. Time now is %time( hh:mm)}}
#ALIAS assr {#SAY Assassinate timer re-set;#T- AssasinateTimer;#VARIABLE AssasUsed {0} {0};#VARIABLE AssasMins {};#VARIABLE AssasHrs {}}
#ALIAS assas {~assas %1;#if (@Assasused = 0) {#math AssasTime {[(%time( hh)*60) + %time( mm)]}};#t+ AssasinateTimer;#if {[(@AssasTime + 24) >1439]} {#math Assastime (@Assastime - 1416)} {#math Assastime (24 + @Assastime)};#math Assashrs (@Assastime / 60);#if ((@Assastime \ 60) > 1)) {#math Assasmins (@Assastime \ 60)} {#var Assasmins {0[(@Assastime \ 60)]}};#var Assasused {1} {0};#say Assashands charge will be replenished at @Assashrs:@Assasmins. Time now is %time( hh:mm)}
#VAR Assashrs {}
#VAR Assasmins {}
#VAR AssasTime {979}
#VAR assascheck {0} {0}
#VAR Assasused {0} {0}
#ALARM "Alarm1" @AssasHrs:@AssasMins:00 {#VARIABLE Assasused {0} {0};#T- AssasinateTimer;#SAY Assasinate re-charged.;em is ready to kill again...}
#CLASS 0
#trigger {With practiced ease and lightning reflexes, you}{#alarm assassinate {+24:00} {#say You are ready to assassinate}
#trigger {Your assassination attempt goes wide of the mark.}{#alarm assassinate {+24:00} {#say You are ready to assassinate}
#alias check {#MATH checkmin {%alarm( assassinate) / 60000}
#MATH checksec {(%alarm( assassinate) - (@checkmin*60000))/ 1000}
#SHOW @checkmin:@checksec}
that's mine. its pretty good. not sure if you can copy and paste that but if you read it you'll get the idea. can someone edit this so that it will all go in from the command line and work? and also if they could make it go all into one class folder?
#trigger {Your assassination attempt goes wide of the mark.}{#alarm assassinate {+24:00} {#say You are ready to assassinate}
#alias check {#MATH checkmin {%alarm( assassinate) / 60000}
#MATH checksec {(%alarm( assassinate) - (@checkmin*60000))/ 1000}
#SHOW @checkmin:@checksec}
that's mine. its pretty good. not sure if you can copy and paste that but if you read it you'll get the idea. can someone edit this so that it will all go in from the command line and work? and also if they could make it go all into one class folder?
-
- Sojourner
- Posts: 479
- Joined: Mon Jul 07, 2003 10:00 pm
- Location: Ixarkon
- Contact:
Teralyn wrote:Ok, that set didn't work for me at all, maybe I just iddn't enter it in forrectly, please help =)
If you entered it anything like that sentance you might want to go back and check typos.
Lilithelle stops using a softly throbbing piece of flesh.
Gura group-says 'ill go solo the biznatch, just don't tell Stamm'
Kossuth responds to your petition with 'is it bad that the two words i think of when i see yer title are hottub and cthulhu? :('
Gura group-says 'ill go solo the biznatch, just don't tell Stamm'
Kossuth responds to your petition with 'is it bad that the two words i think of when i see yer title are hottub and cthulhu? :('
Who is online
Users browsing this forum: No registered users and 15 guests