on *:text:!addcom *:#:{ if ($nick isop #) { if ($readini(commands.ini,commands,$2) >= 1) { msg # this command already exists | return } writeini commands.ini commands $2 $3- msg # command $2 added! } }
on *:text:!*:#:{ if ($readini(commands.ini,commands,$1) != $null) { msg # $readini(commands.ini,commands,$1) } }