Jump to content

Away script something like !away and !brb


Convirion

Recommended Posts

Posted

For everyone that wants a !away or !brb script, i've scripted one so you can put your own reason after it and you can get the status for doing !stats or !status.

This only works with General Use Scripts.

Commands: !setstatus-!setstats

Put this after "on *:SIGNAL:mta.command:"

 elseif ($3 == !setstats) || ($3 == !setstatus) {
if ($4) {
mta.text $1 $mta.nick($1,$2) changed his status to $4-
writeini -n " $+ $scriptdir $+ mode.ini" STATUS $mta.nick($1,$2) $4-
}
else {
if ($readini($scriptdir $+ mode.ini,STATUS,$mta.nick($1,$2)) == normal) {
mta.pm $1 $2 You didn't chose a status, please try again
}
else {
mta.text $1 $mta.nick($1,$2) 's status returns to normal
writeini -n " $+ $scriptdir $+ mode.ini" STATUS $mta.nick($1,$2) normal
}
}

and put this after: "on *:SIGNAL:mta.join:"

writeini -n " $+ $scriptdir $+ mode.ini" STATUS $mta.nick($1,$2) normal

© by http://x-clan.mine.nu/mta/

Posted

ok ok, but still I would appreciate it when you use the link under the script when you place it on another website :)

btw if you want it in the !stats pm me or somewhat.

  • Recently Browsing   0 members

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