Im not sure what your asking for exactly 100% i had to read it a few times but...

;Setup
Code:

alias cmdlist {
hmake cmd $?="How many items? 30 is average"
hsave cmd cmd.hsh
}

Here you will have to type /cmdlist then press enter and load the cmd hsh table



;Usage

Code:

on *:TEXT:*:#: {
[color:green];Channel for all # channel for a few = #channel1,#channel2 etc... seperated always by a coma[/color]
if ($1 == !Addcmd) && (! == $left($2,+1)) {
hadd cmd $2
hsave cmd cmd.hsh
}
if ($1 == !Delcmd) && (! == $left($2,+1)) {
hdel cmd $2
hsave cmd cmd.hsh
}
else { msg $chan Sorry $nick $+ , I cannot add that to file or delete since it does not start by ! }
}



So far i included the ability to add and del cmd from hash file but im not sure how you want to use this

your saying !WB David_James is a channel << this part i dont understand how you want the script to react to it...