PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Fire Koboy on 17 December, 2003, 21:28:26

Title: Need a special chat room
Post by: Fire Koboy on 17 December, 2003, 21:28:26
I have a project...
I would like to get a special chat...like a VIP chat for exemple....
I would call it Foot Live
it will be used the days when soccer games will be played for users to chat about it cause they asked for it to me...
The difficulty is:
I want this chat to be reserved to people wich want to participate...not to disturb the others
do you get it??? Vip chat is reserved to VIP's and this one for the one who wants to chat on it...

Is it possible ???
Thanx
Title:
Post by: SaintSinner on 17 December, 2003, 21:35:54
try this from texlo ===> (http://board.univ-angers.fr/thread.php?threadid=518&boardid=12&sid=329a62ff829fcc06f9eed094aa5d2cc4)

or try this one ===> (http://board.univ-angers.fr/thread.php?threadid=621&boardid=13&sid=329a62ff829fcc06f9eed094aa5d2cc4)

or try this one ===> (http://board.univ-angers.fr/thread.php?threadid=492&boardid=11&sid=329a62ff829fcc06f9eed094aa5d2cc4)

or Guibs's vip chat ===> (http://board.univ-angers.fr/thread.php?threadid=441&boardid=15&sid=329a62ff829fcc06f9eed094aa5d2cc4)

I used the little searchy thingy to get all the results
hope that helps
Title:
Post by: IceCoder on 17 December, 2003, 21:42:59
-- By IceCoder
-- VipChat


sBotName = "VipChat"

function Main()
frmHub:RegBot(sBotName)
end

function DataArrival(CurUser, data)
 if (strsub(data,1, 5 + strlen(sBotName)) == "$To: "..sBotName) and (CurUser.iProfile == 2) then
    Vip_users = GetUsersByProfile("VIP")
    if Vip_users[0] ~= nil then
       for i=0, getn(Vip_users) do
         if (GetItemByName(Vip_users) ~= nil) and (CurUser.sName ~= Vip_users) then
           SendToNick(Vip_users, "$To: "..Vip_users.." From: "..sBotName.." $"..strsub(data, strfind(data, "<"), -2))
         end
       end
    end
 end
end
Title: thanx Icecoder but....
Post by: Fire Koboy on 17 December, 2003, 23:10:35
It's not a VIP chat that I want ....no need to reg to use it...
Most a list of user who wants to participate....
Title:
Post by: plop on 18 December, 2003, 00:09:47
QuoteOriginally posted by Fire Koboy
It's not a VIP chat that I want ....no need to reg to use it...
Most a list of user who wants to participate....
check that version from tezlo.
thats what you want.

plop