iGuest 3 Report post Posted November 7, 2004 Ok, I went scripting, and came out with some mIRC scripts for mta.here they are: alias mta.command if ($3 == !hug) { if ($4 == $null) { mta.say } else { if ($mta.name($1,$mta.getid($1,$4)) == Unknown) mta.say $1 $+ : Error: ID/Name not present. else { mta.say $1 $mta.name($1,$2) hugs $mta.name($1,$mta.getid($1,$4)) } }}alias mta.command if ($3 == !but) { if ($4 == $null) { mta.say } else { if ($mta.name($1,$mta.getid($1,$4)) == Unknown) mta.say $1 $+ : Error: ID/Name not present. else { mta.say $1 $mta.name($1,$2) kicks $mta.name($1,$mta.getid($1,$4)) 's lame *bottom*! } }}alias mta.command { var %a = $readini(%dir $+ $1.ini,ID $+ $2,level),%b = $iif($4 isnum,$4,$mta.getid($1,$4)) if (%a > -1) { if (%a > 0) { if (%a > 1) { if (%a > 2) { if (%a > 3) { if (%a > 4) { if ($3 == !setlevel) { if (%b == -1) mta.msg $1 $2 Error - Absent ID. else { if ($5 < 1) || ($5 > 6) || ($5 == $null) mta.msg $1 $2 Invalid Admin level. else { if ($readini(%dir $+ $1.ini,ID $+ %b,level) > %a) { mta.msg $1 $2 Can not change level of admin with higher Admin level. mta.msg $1 %b Admin $+(',$mta.name($1,$2),') was trying to change your level to: $5 } else { if ($readini(%dir $+ $1.ini,ID $+ %b,level)) { mta.say $1 $+(',$mta.name($1,%b),''s) level is changed from $readini(%dir2 $+ nickserv.ini,$mta.name($1,%b),level) to $5 by admin $+(',$mta.name($1,$2),'.) !writeini -n " $+ %dir2 $+ nickserv.ini" $mta.name($1,%b) level $5 !writeini -n " $+ %dir $+ $1.ini" ID $+ $2 level $5 } else mta.msg $1 $2 $mta.name($1,%b) is not logged in as admin. } } } } } If ($3 == !w) {mta.setweather $1 0mta.settime $1 07:00} } } if ($3 == !health) { if ($4 == $null) { mta.msg $1 $2 $mta.name($1,$2) your health is $mta.health($1,$2) $+ % } else { if ($mta.name($1,$mta.getid($1,$4)) == Unknown) mta.say $1 $+ : Error: ID/Name not present. else { mta.say $1 $mta.name($1,$mta.getid($1,$4)) - health: $mta.health($1,$mta.getid($1,$4)) % } }} if ($3 == !hug) { if ($4 == $null) { mta.say } else { if ($mta.name($1,$mta.getid($1,$4)) == Unknown) mta.say $1 $+ : Error: ID/Name not present. else { mta.say $1 $mta.name($1,$2) hugs $mta.name($1,$mta.getid($1,$4)) } }}} Share this post Link to post Share on other sites
iGuest 3 Report post Posted January 24, 2005 Again you have some many alia.command. and add welcome message its a good idea . Share this post Link to post Share on other sites