alias msgbot {
msg $1 /me || $2-
}
on *:TEXT:!input*:#: {
if ($isSuperadmin) {
var %msg = $data($2,$3,$4,$5,$6-)
$msgbot($chan,%msg)
}
}
alias data {
;;$data(write,filename,section,item,value)
;;$data(read,filename,section,item)
if ($1 == read) {
$readini(%BotNWLFolder. [ $+ [ $chan ] ] $+ [ $2 ] $+ .ini, n,$3,$4)
}
if ($1 == write) {
writeini %BotNWLFolder. [ $+ [ $chan ] ] $+ [ $2 ] $+ .ini $3 $4 $5-
}
}