Author Topic: Write without nick  (Read 2181 times)

0 Members and 1 Guest are viewing this topic.

Markitos

  • Guest
Write without nick
« on: 15 October, 2005, 16:45:18 »
Code: [Select]
Made by the_pest

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


Cheers...
« Last Edit: 16 October, 2005, 09:00:23 by Markitos »

PtokaX forum

Write without nick
« on: 15 October, 2005, 16:45:18 »

Offline 6Marilyn6Manson6

  • Scripter
  • King
  • ******
  • Posts: 869
  • Karma: +47/-35
    • http://www.marilynmanson986.altervista.org
(No subject)
« Reply #1 on: 15 October, 2005, 16:54:23 »
Quote
Originally posted by Markitos
Dunno who made it jt found it in my friend server
Code: [Select]
Made by ???

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


Cheers...

This is made by  the_pest
c ya

Markitos

  • Guest
(No subject)
« Reply #2 on: 16 October, 2005, 08:59:40 »
Updated...

Offline 6Marilyn6Manson6

  • Scripter
  • King
  • ******
  • Posts: 869
  • Karma: +47/-35
    • http://www.marilynmanson986.altervista.org
(No subject)
« Reply #3 on: 16 October, 2005, 11:35:27 »
Quote
Originally posted by Markitos
Updated...

Yeah :)

PtokaX forum

(No subject)
« Reply #3 on: 16 October, 2005, 11:35:27 »