userhistory script
 

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

userhistory script

Started by ??iV@???fK??, 19 October, 2003, 09:59:37

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

??iV@???fK??

Hi folks.

I am running ptokax 0.3.2.6 t4.
Its running good only i want a script who gives info about users who have been online but arent anymore.
At the moment i only got command userinfo when they are in the hub.
So i hope someone can help me with userhistory.

THNKS IN ADVANCE.
Live life at ur max it could be over tomorow.

ivannofke.generally-raw.nl a ???? OUTLAW ? ???? NETWORK hub

pHaTTy

Only way you cud do that is my storing the data on entering connections/users
Resistance is futile!

pHaTTy

here is a little unfinished one i have quickly wrote


--KeikoLastSettingBot by Phatty
--v1.00

Bot = "Keiko"

function NewUserConnected(user)
if (strfind(user.sMyInfoString,"


l8rr,,

-phatty
Resistance is futile!

MrZ

Hia:))

This have been ansvered b4 :)) but il do it once again.

I use "logger-v.2.58" from C H I L L E R.. Its just Gooood

http://chiller3000.tripod.com/p-scripts/  



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

pHaTTy

hmmm damn logger does that :( lol

oh well

--KeikoLastSettingBot by Phatty
--v1.00

Bot = "Keiko"

mcmd = "#"

function NewUserConnected(user)
if (strfind(user.sMyInfoString,"%s+(%S+)%s+(%S+)")

		if cmd == mcmd.."check" then
			if user.bOperator then
				readfrom(str..".txt")
				if str == nil then
					user:SendData(Bot,"There has been no such user here")
					return 1
				else
					WhileRead(user,str)
					return 1
				end
			end
		end
	end
end

lol

-phatty
Resistance is futile!

??iV@???fK??

Thanks for the advice i will try both scripts!!!
Live life at ur max it could be over tomorow.

ivannofke.generally-raw.nl a ???? OUTLAW ? ???? NETWORK hub

??iV@???fK??

Oke i have read "logger-v.2.58" from C H I L L E R script.
My problem is that all the commands have to be with ! in front cause my securityscript wont allow other scripts to use prefix +.
Can i just change the ini files where the commands are in or do i have to do more changings.

Also all kick and ban commands writen in the script are diffrent then my commands!!!
Could i simply change them???
Live life at ur max it could be over tomorow.

ivannofke.generally-raw.nl a ???? OUTLAW ? ???? NETWORK hub

Alexei

Well..as far as i can tell.. its easy to change...

If there is nowhere Prefix == "!" line then all commands must be in that format -- cmd == "!view"so just change ! to whatever u want to...

I might've wrote it hard to understand... just ask for better explanation and i will... try.. ;)

??iV@???fK??

Oke i changed prefix and commands now i get pm from bot saying users arent logged????
Is that good or shouldt that be else way??
Live life at ur max it could be over tomorow.

ivannofke.generally-raw.nl a ???? OUTLAW ? ???? NETWORK hub


??iV@???fK??

Damn script wont work it logs users but when i try !userinfo on a users wich is logged but not in hub anymore .
Then there wont happen a thing
Live life at ur max it could be over tomorow.

ivannofke.generally-raw.nl a ???? OUTLAW ? ???? NETWORK hub

Alexei

I cant do anything without seeing WHAT u've changed there...You might've done smth wrong....

c h i l l a

just one thing.

if you use !userinfo as command the the ptokax command will be disabled.

and you can't change the  ban function in the script cause it has non ;).
it only checks the ban commands from ptokax so that nobody can kick somebody who is in the same or higher ranke then oneself. and logs attemps and successfull ban's.

??iV@???fK??

So chilla.

If i understand it right i dont have to change a thing to get it work??

If i dont change for example +userinfo into !userinfo
then the + command wont work cause my securityscript wont let me use oher +commands then listed in security script
Live life at ur max it could be over tomorow.

ivannofke.generally-raw.nl a ???? OUTLAW ? ???? NETWORK hub

SMF spam blocked by CleanTalk