Userinfo
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Userinfo

Started by mrdesai83, 16 October, 2003, 07:45:56

Previous topic - Next topic

0 Members and 6 Guests are viewing this topic.

mrdesai83

All scriptors,

The one thing I loved about NMDC was the script made by Gadget: General Bot.  The main feature that was REALLY useful was the USERINFO cmd.  I have searched through forums and websites, but haven't found a "USERINFO" cmd script.  I know with PtokaX there is a built in userdb, but all it keep tracks of is the IP and log in/out times.  I mean with GeneralBot the userinfo cmd gave this:

Userinfo of [sunet]pinger since Tue 7.1.2003 20:18:15
Connected: No
Operator: No
VIP user: No
Description: Youve been pinged, BAM!
E-mail: http://dreamland.gotdns.org/PublicHubList.config
IP: 130.243.79.250
IP space: Static
Shared: 101.999999999069 GB (109521666047 bytes)
Connection: LAN(T3)
Mode: N/A
Status:
Client version: Fake, Modified DC++ or Linux version
Open hubs: 1 (at least, probably more)
Open slots: N/A
Upload limit: No limit
Search results: 0
Last logon: Wed 8.1.2003 11:21:29
First logon: Tue 7.1.2003 20:53:27
Last activity: Wed 8.1.2003 11:21:29 (successful logon)
Successful logons: 36
Failed logons: 0
Last fail reason: No failed logons
Kicked: 0 times
Last kicked: Not kicked
Banned: No
Last banned: N/A
On logon watcher:
On logon message:
 

And I would like to see if any scriptor is able to work this out and get the userdb or an additional script made that is able to do this... Please I know all OPs and Hub Owners would appreciate this!

Thanks in Advance
MrDesai83
[IM]Hubs

MrZ

Hia :))

I agree with you mrdesai83, the userinfo ya mention above is the best ive seen. The closest i have found is

"logger-v.2.57" from C H I L L E R

 --> look at this tread  <--

Z ya
Always remember that you are unique... just like everyone else :-D

Roy

Agree, that one was great. We used Generalbot before we changed to Ptokax, would be really nice to get both offline and online info like that.


Roy

servaks

I use this one...

Bot = "Hub-Security" 

function Main() 
frmHub:RegBot(Bot) 
end 


function DataArrival(user, data) 

if( strsub(data, 1, 1) == "<" ) then 
-- remove end pipe 
data=strsub(data,1,strlen(data)-1) 
-- parse the command 
s,e,cmd = strfind( data, "%b<>%s+(%S+)" ) 



if (user.bOperator) then 
if (cmd=="~info" or cmd=="~info" ) then 
UserInfo(user, data) 
return 1 

end 


end 

end 
end 

function GetArgML(data) 
s,e,cmd,arg = strfind(data, "%b<>%s+(%S+)%s+(%S+)%s*") 
return arg 
end 

function UserInfo(user, data) 
who=GetArgML(data) 
local usr = GetItemByName(who) 
user:SendPM(Bot, "here is the info from: "..who.." |") 
-- now whe know the user lets extract the info 
-- ip of the user 
user:SendPM(Bot, "ip: "..usr.sIP.." |") 
-- client type and version 
if (strfind(usr.sMyInfoString," 4 then 
limiter = limiter / 1024 
end 
end 
user:SendPM(Bot, "upload limited: "..limiter.." Kb/s |") 
end 
-- bandwidth download limiter 
_,b, dlimiter = strfind(usr.sMyInfoString,"D:(%x+)") 
if dlimiter ~= nil then 
user:SendPM(Bot, "download limited: "..dlimiter.." Kb/s |") 
end 
end
My hub is back! (yeeeeeey)

hub.servaks.com


c h i l l a

hmm, servaks  ever tried to send an emtpy string to main chat by typing  strg+return return you should get an error.

anyway the gerneral bot has some stuff mine doesn't like kick info log and so on, might implement it.

but all this is in my script as well

Connected: No
Operator: No
VIP user: No
Description: Youve been pinged, BAM!
E-mail: http://dreamland.gotdns.org/PublicHubList.config
IP: 130.243.79.250
IP space: Static
Shared: 101.999999999069 GB (109521666047 bytes)
Connection: LAN(T3)
Mode: N/A
Status:
Client version: Fake, Modified DC++ or Linux version
Open hubs: 1 (at least, probably more)
Open slots: N/A
Upload limit: No limit
Search results: 0

only that I leave the myinfosting as it is.

plop

eeeeehm servaks, why did you remove the top of the script???
i don't mind that you use it and post it here, but i do mind that you stripped lallo82 and my nick from it.

chilla i know about that bug, it's fixed allready but should strip the fixed version from a.i.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

SMF spam blocked by CleanTalk