Well, it's close to what I need. The problem is that, my bot is on alot of channels, if I want each channel has its own cmd list, what should I do? I tested the script above, it has only one cmd list for every channel. frown And if it is possible, pls help to check if a !cmd is already existed, it won't add into cmd.hsh.