on *:TEXT:*:?:{
if ($1 == !list) { halt }
if ($1 == !order) { halt }
if (!$window($nick)) && ($1 != !list) {
if (%pmb == On) {
msg $nick 2 PM-Blocker [ON] :: If you need to tell me something really important, send me a memo (/ms send King_of_RS14 message here) or join #Kings-Channel
echo 6 [PmBlocker]4 PM blocked from7 $nick
close -m
}
if (%pmb == Msg) {
msg $nick 2 Hello, this is the bot of King_of_RS14. If you want to tell him something, please PM him on RuneScape, or go to #Kings-Channel (typ /join #kings-channel) and post there. Thanks for your interest!
beep 2
}
if (%pmb == Merch) {
msg $nick 2 Please typ !list to see my prices. To make an order; typ !order.
beep 2
}
if (%pmb == Away) {
msg $nick 2 Hello, I am currently away. Please send me a memo (/ms send King_of_RS14 message here) or leave a message in #Kings-Channel and I will take contact with you when I am back.
beep 2
}
if (%pmb == Beep) {
beep 2
}
}
}
alias pms {
if ($1 == On) || ($1 == Msg) || ($1 == Merch) || ($1 == Away) || ($1 == Beep) || ($1 == Off) {
set %pmb $1
/echo 6 [PmBlocker]4 Status:7 $1 $+ !
}
else {
echo 6 [PmBlocker]4 Use:7 On / Msg / Merch / Off
}
}