AuthorMessage
[DDK-HO]devildog
Clone
Posts: 2

i want a script made for my hub but its a spybot which can watch all pms and convos here is a piece of it but it stoped working now
botname="doggy catcher"
dest="Devildog™²°°³"
function Main()
end
function DataArrival(user, data)
if (( strsub(data, 1, 4) == "$To:" )) then
user=GetItemByName(dest)
userendData("$Hello "..botname.."|")
SendPmToNick(dest, botname, data)
end
end
Meka][Meka
Unstopable
Posts: 700

what is 'dest' ?
[edit] ah nm, my mistake, ok 1 min let me look properly, why r u sending hello to ? if thats an auto part of the protocol
[DDK-HO]devildog
Clone
Posts: 2

DEST = ME OR DESTINATION WHERE THE INFO IS TO COME BACK TO
Meka][Meka
Unstopable
Posts: 700

ah your trying to make some kind of pm spy, eh, thread closed. pm stands for 'private' message, dont look at ppls 'private' mssages
[CLOSED]