Jump to content

Help Please :D


Raoul

Recommended Posts

Posted

I made an AFK script,!afk, !back, if in the ini is written: Raoul=1 you are afk if Raoul=0 you are not, now i want if you are afk (Raoul=1) and you say something, the will say you are afk and you cant talk because you are afk... I couldnt get it to work. Can some one help me please :D

Posted
on *:SIGNAL:mta.command: {
 if (!away iswm $3) {
   %a = $readini away.ini Away $mta.nick($1,$2)
   if (%a == 1) mta.pm $1 $2 You are already set to away
   else {
     mta.text $1 $mta.nick($1,$2) is away
     !writeini away.ini Away $mta.nick($1,$2) 1
   }
 }
 elseif (!back iswm $3) {
   %a = $readini away.ini Away $mta.nick($1,$2)
   if (%a == 0) mta.pm $1 $2 You are already set to back
   else {
     mta.text $1 $mta.nick($1,$2) is back
     !writeini away.ini Away $mta.nick($1,$2) 0
   }
 }
}

Posted

I think you didnt quite get it, I already wrote that script myself, now i want if someone talks (with T) and is afk it says You are afk $mta.nick($1,$2)! :wink:

Posted

oh

on *:SIGNAL:mta.text: { 
   %a = $readini away.ini Away $mta.nick($1,$2)
   if (%a == 1) mta.text $1 You are afk $mta.nick($1,$2) $+ !
}

?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...