I have loaded the script (as .mrc file):
on 1:text:*:#testserver:{
if ( $nick isop #testserver ) {
if ( !kick isin $1 ) {
mta.kick 1 $2
}
if ( !freeze isin $1 ) {
mta.freeze 1 $2
}
if ( !unfreeze isin $1 ) {
mta.unfreeze 1 $2
}
if ( !mute isin $1 ) {
mta.mute 1 $2
}
if ( !unmute isin $1 ) {
mta.unmute 1 $2
}
elseif ( !restart isin $1 ) {
mta.text 1 Reconnecting MTA:mA.
mta.disconnect 1
mta.connect 1
.timer 1 1 mta.text 1 Reconnected
}
elseif ( !commands isin $1 ) {
/msg #testserver !kick, !(un)freeze, !(un)mute, !restart
}
else mta.text 1 $nick $+ : $1-
}
}
The commands !restart, !commands are working but the commands !mute, !unmute, !freeze, !unfreeze, !kick are not working.
I thought it has something to be in the menu Options (general > options) but this is not enabled for some kind of reason. ( i am using MTAma 4.0) But dunno
And no i dont try to use this commands from the same irc client, and have also already tried it from a other comp, and my status is @ on irc.