In your commands.xml
<command name="rglocate">
<permission level="2"/>
<syntax value="!rglocate <playername>"/>
<help value="Searches for a user on the RenGuard network."/>
<enabled value="1"/>
<group>irc</group>
<alias>rg</alias>
</command>
You have an alias set for !rglocate as !rg. So yes everytime you try !rg ingame or out it'll try and do rglocate. Delete that line and try !rg <XcX> (<XcX> = Someone ingame) and it should work.
DP. When I first read the post I mis-read and thought it said all the other RG commands wasn't working which is why I said about the gamelog and bhs module.