PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: Kosten on 20 October, 2008, 20:53:08

Title: Heelp(
Post by: Kosten on 20 October, 2008, 20:53:08
Probably I not in that subject write.... :(

Hello, people! I not local, therefore forgive my awful English =)
I liked job Hub-Link in Dev Direct Connect Hub environment... It would be desirable to understand, how the script cooperates with a boat and as he synchronizes userlists. Who can help me?

P.S.: I certainly understand, that it is not necessary to hurry those who is engaged in scripts, but can be eat any beta-version a script for PtokaX?
Title: Re: Heelp(
Post by: Kosten on 21 October, 2008, 13:41:40
I probably not so was expressed...I understand that Hub-Link is the program. Me interests as it is possible "make to friends" with PtokaX.
_____
I understand that Hub-Link can cooperates chats are well, but I do not like that that all occurs so:
Chat 1:
<Kosten> Hi all!
Chat 2:
<DCHL> <Kosten> Hi all!

Whether it is possible though to clean nick Hub-Link before mine? ???
Title: Re: Heelp(
Post by: ATAG on 21 October, 2008, 14:05:56
With a little hubside script it's possible.. ain't tested :)

hlbot = "DCHL"

function ChatArrival(tUser, sData)
if tUser.sNick == hlbot then
local _,_,data = sData:find("%b<> (%b<> .*)")
if data then
Core.SendToAll(data)
return true
end
end
end
Title: Re: Heelp(
Post by: Kosten on 21 October, 2008, 14:35:42
ATAG, Cool! thanks!!! You know how possible sync userlist with Hub-Link boat? ::)
Title: Re: Heelp(
Post by: ATAG on 21 October, 2008, 16:56:23
Quote from: Kosten on 21 October, 2008, 14:35:42
ATAG, Cool! thanks!!! You know how possible sync userlist with Hub-Link boat? ::)
No way. In theory it's possible to make a better hublink plugin in Lua but it's hard (and crazy) work :)
Title: Re: Heelp(
Post by: Kosten on 21 October, 2008, 17:53:01
I know...but want that this time come soon... :'(
Title: Re: Heelp(
Post by: Kosten on 24 October, 2008, 17:09:57
Peoples, and it is possible to make such script which would add to the description of the user "Prefix", depending on it IP? :)

I have in view of, for example if IP begins on "88.132" the script added "net1" and if on "77.45", then "net2"..:)
Title: Re: Heelp(
Post by: Kosten on 25 October, 2008, 10:04:38
Please, help who knows.. Such script is very necessary... At me it turns out, but "prefixes" always identical ((
Title: Re: Heelp(
Post by: ATAG on 25 October, 2008, 13:29:08
To change user's nick or description (or anything else within MyINFO) is not easy and requires a lot of resources.
Title: Re: Heelp(
Post by: Kosten on 25 October, 2008, 15:38:31
I understand, but I saw job of a similar script on other hubs, and it looked beautifully, here and have reflected as though to make such to myself, but I do not know as it to make more correctly :)
Somebody can help me with this script?
Title: Re: Heelp(
Post by: Kosten on 27 October, 2008, 08:43:11
... I understand, that scripts are not written, but in LUA still understand more few and I can not write such script... Please, help who who knows. very need this script ::)
Title: Re: Heelp(
Post by: Kosten on 31 October, 2008, 07:51:29
Has already understood. peoples from RuNet have helped :D
http://mydc.ru/topic250.html