rendered paste bodyon *:Start: {
.hmake bind 300
.hload bind bind.txt
}
on *:TEXT:@Bind *:#world-of-frags: {
if ($nick isop $chan) {
hadd bind $2 $3-
notice $nick Added Command: $2
hsave bind bind.txt
}
else {
notice $nick 15,1(15·14·4·05·0,1 #World-Of-Frags 5,1·4·14·15·15)(0,1 You lack access to this command 15,1)
}}
on *:TEXT:@unbind *:#world-of-frags: {
if ($nick isop $chan) {
hdel bind $2
notice $nick Deleted Command: $2
hsave bind bind.hsh
}
else {
notice $nick 15,1(15·14·4·05·0,1 #World-Of-Frags 5,1·4·14·15·15)(0,1 You lack access to this command 15,1)
}}
on *:TEXT:*:#: {
if ($hget(bind,$1)) {
notice $nick $hget(bind,$1)
} }
On *:EXIT: {
.hsave bind bind.txt
}