You can try something like this...

1) Make an ini file with the following setup;
[commands]
!die=<enter commands for !die>
!blah=/msg $chan $nick said blah!


2) Use an if statement in your TEXT event to check whether the command is listed
if ($readini(commands.ini,commands,$1)) { return }
else { do this }


This will only need one if statement and you can add/delete commands with ease just by using /writeini, /remini


- Jason