Author Topic: SeeIp  (Read 1405 times)

0 Members and 1 Guest are viewing this topic.

Offline Impakto

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
SeeIp
« on: 11 October, 2004, 19:43:43 »
A Script to see Ip of users on login!!!!!!!! Thanks

PtokaX forum

SeeIp
« on: 11 October, 2004, 19:43:43 »

Herodes

  • Guest
(No subject)
« Reply #1 on: 11 October, 2004, 21:00:03 »
There it is ...
Code: [Select]
--- show ip on user entry
--- by Herodes
--- request Impakto

NicktoSend = "Impakto" --- the default nick to sent the msg to ..
AllOps = 0 --- change this to 1 if you want all the ops to see it

function NewUserConnected(user)
if AllOps == 1 then
SendToOps(user.sName.." connected with IP "..user.sIP)
else
if GetItemByName(NicktoSend) then
GetItemByName(NicktoSend):SendData(user.sName.." connected with IP "..user.sIP)
end
end
end

OpConnected = NewUserConnected

PtokaX forum

(No subject)
« Reply #1 on: 11 October, 2004, 21:00:03 »