when connects
 

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

when connects

Started by Nafigs, 03 November, 2003, 06:02:59

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nafigs

Could anyone help me??? I need a script that shows users Nick and IP when he connects and disconnects in a PM to all OP's. PLZZZZ HELP ME:) Sorry abaout my english!

kepp

#1
-----------------------
-- Simple bot by Kepp 04/11/03
-- Request from Nafigs
-----------------------
sBot = "Thong" -- :S

function NewUserConnected(user)
user:SendPmToOps(sBot, "A user just entered the hub, Name: "..user.sName.." IP: "..user.sIP)
end

function UserDisconnected(user)
user:SendPmToOps(sBot, "A user just left the hub, Name: "..user.sName.." IP: "..user.sIP)
end
Guarding    

Ron_Doe

is it possible to rewrite  this script so you can send  this message to a user.
I got this chat bot  that i use for kick reports, would like to get this messages to pop up there..


Ron
don`t drink and drive-just smoke and fly     :))

kepp

#3
I don't know if that's possible from this script but try to add Your Chatbot name where it says "ChatBotName"
:D

-----------------------
-- Simple bot by Kepp 04/11/03
-- Request from Ron_Doe
-----------------------

function NewUserConnected(user)
user:SendPM(ChatBotName, "A user just entered the hub, Name: "..user.sName.." IP: "..user.sIP)
end

function UserDisconnected(user)
user:SendPM(ChatBotName, "A user just left the hub, Name: "..user.sName.." IP: "..user.sIP)
end

??
Guarding    

pHaTTy

I dohnt understadn what you mean by send to a user
Resistance is futile!

NightLitch

#5
This one should do What you want...

-----------------------------------------------------------------
-- Simple Bot That will do what you want
-- By NightLitch
----------------------------------------------------------------
--// Put your BotName here
Bot = "Yubber"
--// Put your ChatBotName here
ChatBotName = "Chatter"


function NewUserConnected(user)
user:SendPM(ChatBotName, "A user just entered the hub, Name: "..user.sName.." IP: "..user.sIP)
user:SendPmToOps(Bot, "A user just entered the hub, Name: "..user.sName.." IP: "..user.sIP)
end

function UserDisconnected(user)
user:SendPM(ChatBotName, "A user just left the hub, Name: "..user.sName.." IP: "..user.sIP)
user:SendPmToOps(Bot, "A user just left the hub, Name: "..user.sName.." IP: "..user.sIP)
end

And If you want all the lines to be sent to the ChatBot just Change (  Bot = "Yubber"  )  to your ChatBotName...

Would look like this:

Bot = "Chatter"
ChatBotName = "Chatter"

OR

just change:

user:SendPmToOps(Bot,

to

user:SendPmToOps(ChatBotName,



/NightLitch
//NL

DarkElf

#6
like this??


-----------------------------------------------------------------
-- 
Simple Bot That will do what you want
-- By NightLitch
----------------------------------------------------------------
--
// Put your BotName here
Bot "Yubber"



function NewUserConnected(user)
user:SendPmToNick(Bot"You have just entered the hub, with Name: "..user.sName.." and IP: "..user.sIP)
user:SendPmToOps(Bot"A user just entered the hub, Name: "..user.sName.." IP: "..user.sIP)
end

function UserDisconnected(user)
user:SendPmToNick(Bot"You have just left the hub, with Name: "..user.sName.." and IP: "..user.sIP)
user:SendPmToOps(Bot"A user just left the hub, Name: "..user.sName.." IP: "..user.sIP)
end


The user received the 1? message and the operator the 2?..
Please sorry my bad english, i'm learning it :-D

\\100Gb ][ MeGaShArE @ I?? - ?u?i?N Owner [/I]
100gb.ifs-fusion.net:666 Only EliTe ShArE min 100gb
-={ I?? - ?u?i?N }=- N??Owner

Ron_Doe

QuoteOriginally posted by (uk-kingdom)pH?tt??
I dohnt understadn what you mean by send to a user

I got a chat bot  that i use for reporting kickmessages to from my fakescanner.
And with this script i could also report who is entering and who is leaving the hub.
All my op's can sign in to this chat if they want to look at the reports.

Thanks for the replys ppl  :-)    i will try to make it work in my hub
don`t drink and drive-just smoke and fly     :))

pHaTTy

Hmmm i c, thats a pretty bit much script, hmmmmmmm i will have a think about a easy way of doin it
Resistance is futile!

pHaTTy

Ok imb, now what do you want sent to the Ops when a user enters?

UsersName
Ip

anything else?
Resistance is futile!

Ron_Doe

Just username and ip would be fine. think it will be too mutch info  if userinfo would be listed

tryed those other scripts   but nothing would be listed in the chatbot    ,  i might have done something wrong again    :P
don`t drink and drive-just smoke and fly     :))

Nafigs

Thanks, thats what i was looking for:)))


http://caurule.netfirms.com

Nafigs

hmmmm, i don't know, maybe i'am a stupid one, but this one, doesn't work:(


-- Simple bot by Kepp 04/11/03

-- Request from Nafigs

-----------------------

sBot = "Thong" -- :S



function NewUserConnected(user)

user:SendPmToOps(sBot, "A user just entered the hub, Name: "..user.sName.." IP: "..user.sIP)

end



function UserDisconnected(user)

user:SendPmToOps(sBot, "A user just left the hub, Name: "..user.sName.." IP: "..user.sIP)

end


I put it in the scripts but he doesn't show nothing, when connects or disconnects:(((

Nafigs

Maybe it doesn't work with TD4, if it's so, could someone put one that will work with TD4:) Sorry about my english!

pHaTTy

QuoteOriginally posted by Ron_Doe
Just username and ip would be fine. think it will be too mutch info  if userinfo would be listed

tryed those other scripts   but nothing would be listed in the chatbot    ,  i might have done something wrong again    :P

Huh you want it to be in the chatbot ?

Cant do it if you want OPs to be able to select wether they see it or not, it will have to be a seperate bot altogether...........:S

Or i cud have misunderstood
Resistance is futile!

Ron_Doe

#15
Yes i got another device to handle  that  , only thing i would like to have  is a script who is gathering info about  those who enter and leaves    and send the username and the ip  to a username of my choise.
don`t drink and drive-just smoke and fly     :))

Nafigs

So, could anyone help me with that what i was saying about TD4 and that script???


http://caurule.netfirms.com

Nafigs

HELLOOO!!!

Is there anyone out there who could give me this script that shows users nick and IP when he connects and disconnects whith works in a TD4???

[NL]Portal

Don`t make this inside your hub , because the mldc donkey shit will rulez the script.

That means you see everybody come inside and go out, also the users from donkey keys.
And also persons who are trying to connect and that they automaticly will be disconnected..

So my advise will be .
Don`t use scripts like that..
I have tryed also , no good results.
Owner of the MoviePalace Europe

Master : [NL]Portal
Adress : moviepalace.sytes.net:411
Website : None

Min share : 1 GB
Min slots : 1
Max slots : 30

See ya
Thanx for a reaction Back

SMF spam blocked by CleanTalk