Author Topic: invite user to opchat  (Read 1181 times)

0 Members and 1 Guest are viewing this topic.

Offline Themaster

  • Triple Ace
  • **
  • Posts: 204
  • Karma: +0/-0
invite user to opchat
« on: 25 December, 2004, 21:57:27 »
hey ppl.

need some command to invite and uninvite to my opchat.

Code: [Select]

function OpChatRoom(user,msg)
      local allprofiles = GetProfiles()
      local index, profile, index2, nick
      for index, profile in allprofiles do
         local users = GetUsersByProfile(profile)
         for index2, nick in users do
            local usr = GetItemByName(nick)
            if usr ~= nil then
               if user.sName == usr.sName then
               else
                  if usr.iProfile == 0 or usr.iProfile == 1 or usr.iProfile == 4 or Invited[user.sName] then
                     usr:SendData("$To: "..usr.sName.." From: "..OpChat.." $<"..user.sName.."> "..msg)
                  end
               end
            end
         end
      end
end
peace out...and love to your all scripter..that do the hard work  :D And all thx to your all there are here 2 help!!! :]

blade.lir.dk

PtokaX forum

invite user to opchat
« on: 25 December, 2004, 21:57:27 »