Guest Posted April 11, 2005 Posted April 11, 2005 Could someone make an alarm for MTA? I see that the Skull Breaker RPG has one in their script... if someone already has an alarm clock script could they e-mail me/post a link? My email is [email protected] hope yall can make this cause it seems super easy.. lol ( I can't script worth s*** )
{SB}Killer Posted April 18, 2005 Posted April 18, 2005 What do u mean by alarm where u type !alaram or where u type !time to see current time ? which one u talking about ?
{VCL}Stewie3 Posted April 18, 2005 Posted April 18, 2005 You know how on your script you can type !alarm 4 mins and an alarm goes for 4 mins? Could you tell me how to set the alarm for members?
MrJax Posted April 18, 2005 Posted April 18, 2005 if ($3 == !alarm) { var %a = $iif($4 isnum 1-120,$4,5) mta.msg $1 $2 Your alarm message will be sent in %a $+ mins !.timer 1 $calc(%a * 60) mta.msg $1 $2 ALARM CALL - from $calc(%a * 60) $+ mins ago! } ...simple, but effective
{VCL}Stewie3 Posted April 18, 2005 Posted April 18, 2005 If I were to post the code in another script like Manhunt or RPG where would I put it?
MrJax Posted April 18, 2005 Posted April 18, 2005 You'd put it in the " on *:SIGNAL:mta.command:{ " section, section being between the { and the closing } if there are any other 'if/elseif' commands, it would be easier to stick it at the very top, and change the one below it from IF to ELSEIF. ...but then, you sound like you know squat about scripting, so im sure you'l make a complete balls up
{SB}Killer Posted April 18, 2005 Posted April 18, 2005 You'd put it in the " on *:SIGNAL:mta.command:{ " section, section being between the { and the closing } if there are any other 'if/elseif' commands, it would be easier to stick it at the very top, and change the one below it from IF to ELSEIF. ...but then, you sound like you know squat about scripting, so im sure you'l make a complete balls up LOL i hope he really gets u if not he will posting here again.
Harry Posted April 18, 2005 Posted April 18, 2005 I suggest you poke someone who knows mirc scripting and let him add it for you. Those ppl know what errors you can (and will) make, and they can directly see from the error messages what they did wrong.
{SB}Killer Posted April 18, 2005 Posted April 18, 2005 I suggest you poke someone who knows mirc scripting and let him add it for you. Those ppl know what errors you can (and will) make, and they can directly see from the error messages what they did wrong. He poked mee too much before so i blocked him and banned him and everything and i hope he doesnt poke any one else too.
Harry Posted April 18, 2005 Posted April 18, 2005 All he needs is a little hand in helping him learn HOW to script. I'm not making any scripts for anybody, nor any examples, casue i'm sick of it. But I do help those who want to try and learn how to modify scripts themselves
darkdreamingdan Posted April 18, 2005 Posted April 18, 2005 he doesnt even need to know HOW to script, only how to use mtama....
{SB}Killer Posted April 19, 2005 Posted April 19, 2005 he doesnt even need to know HOW to script, only how to use mtama.... Yup ur right and if he need to know how to script he first needs to learn copy paste how hard is that
*SmartiE* Posted April 19, 2005 Posted April 19, 2005 i think his main problem is using the }'s and i think hes not using the mIRC Scripts Editor START USING IT
{SB}Killer Posted April 19, 2005 Posted April 19, 2005 i think his main problem is using the }'s and i think hes not using the mIRC Scripts Editor START USING IT Hmm dude what is a script editor never heard of it how it works? and why are u not online msn no more these days??
Niels Posted April 19, 2005 Posted April 19, 2005 Other Alarm Script: if ( $3 == !alarm ) { if ($4 != $null) { if ($4 isnum ) { if ($5 == mins || $5 == min || $5 == m ) { if ($4 == 1) { set %alarm $calc( $4 * 60 ) mta.say $1 $mta.name($1,$2) $+ : Alarm activated for $4 minute. .timer 1 %alarm mta.say $1 $mta.name($1,$2) $+ : ALARM TIME UP. unset %alarm } else { set %alarm $calc( $4 * 60 ) mta.say $1 $mta.name($1,$2) $+ : Alarm activated for $4 minutes. .timer 1 %alarm mta.say $1 $mta.name($1,$2) $+ : ALARM TIME UP. unset %alarm } } elseif ($5 == secs || $5 == sec || $5 == s) { if ($4 == 1) { set %alarm $4 mta.say $1 $mta.name($1,$2) $+ : Alarm activated for $4 second. .timer 1 %alarm mta.say $1 $mta.name($1,$2) $+ : ALARM TIME UP. unset %alarm } else { set %alarm $4 mta.say $1 $mta.name($1,$2) $+ : Alarm activated for $4 seconds. .timer 1 %alarm mta.say $1 $mta.name($1,$2) $+ : ALARM TIME UP. unset %alarm } } elseif ($5 == hours || $5 == hour || $5 == h) { if ($4 == 1) { set %alarm $calc( $4 * 3600 ) mta.say $1 $mta.name($1,$2) $+ : Alarm activated for $4 hour. .timer 1 %alarm mta.say $1 $mta.name($1,$2) $+ : ALARM TIME UP. unset %alarm } else { set %alarm $calc( $4 * 3600 ) mta.say $1 $mta.name($1,$2) $+ : Alarm activated for $4 hours. .timer 1 %alarm mta.say $1 $mta.name($1,$2) $+ : ALARM TIME UP. unset %alarm } } else { mta.say $1 $mta.name($1,$2) $+ : Error - Specify time format. Syntax - } } else { mta.say $1 $mta.name($1,$2) $+ : Error - Specify time. Syntax - } } else { mta.say $1 $mta.name($1,$2) $+ : Syntax - } } Out Script Packase
Recommended Posts