Author Topic: writting without nick  (Read 2109 times)

0 Members and 1 Guest are viewing this topic.

Offline the_pest

  • Junior Member
  • **
  • Posts: 15
  • Karma: +0/-0
writting without nick
« on: 27 February, 2005, 15:48:41 »

Code: [Select]
cMASTER = GetProfileIdx("Master") --0
cOP = GetProfileIdx("Operator") --1
cVIP = GetProfileIdx("VIP") --2
cREG = GetProfileIdx("Reg") --3
cUSER = -1

cAPPLY = {[cMASTER] = 1}

function ChatArrival(curUser, data)
if cAPPLY[curUser.iProfile] == 1 then
local s,e, cmd, what = string.find(data, "%b<>%s+(%S+)%s*(.*)|")
if cmd == "!talk" and what then
SendToAll(what)
return 1
end
end
end
use

PtokaX forum

writting without nick
« on: 27 February, 2005, 15:48:41 »