hey
i tried to hideme in user list with
elseif (cmd == "!hideme") and user.iProfile == 0 then
s,e,cmd,arg = strfind( data, "%b<>%s+(%S+)%s+(.*)")
frmHub:UnregBot(user.sName)
return 1
elseif (cmd == "!unhideme") and user.iProfile == 0 then
s,e,cmd,arg = strfind( data, "%b<>%s+(%S+)%s+(.*)")
frmHub:RegBot(user.sName)
return 1
but there ist one thing i can?t fix
if i hideme and unhideme and go out of the hub
next time i will go into the hub i get the
your nick was allready taken change to something else message
i cant go into the hub with this nick until i restart the hub
does someone know how to fix this?
thx
Hi,
You can had this to your disconnectuser function or opdisconnect if the commands are only to ops..
function UserDisconnected(user, data)
frmHub:UnregBot(user.sName)
end
Best regards, nErBoS
wow thx
thats it !
HaL