PtokaX forum

Development Section => Your Developing Problems => Topic started by: Quattro on 29 November, 2004, 20:54:52

Title: Can somebody help me with this?
Post by: Quattro on 29 November, 2004, 20:54:52
function DataArrival(user,data)
   if(strsub(data,1,4) == "$To:") then
      s,e,whoTo = strfind(data,"$To:%s+(%S+)")
      if whoTo == MasterChatName then
         if GetProfileName(user.iProfile) == "Moderator" then
            s,e,whoTo,from,msg = strfind(data,"$To:%s+(%S+)%s+From:%s+(%S+)%s+$%b<>%s+(.+)")
            MasterChatRoom(user,msg)

This is part of the Master chat by hawk i wanted to mod it so profiles moderator and above can use it
Title:
Post by: Quattro on 29 November, 2004, 22:45:04
I'm beginning to wonder if this one will even work when i got Rc installed
Title:
Post by: Quattro on 30 November, 2004, 17:59:24
I have found another script that suits my perposes more, sorry hawk....
Microchat, now i only have to tell microchat that Mod's founders  and op's are the same  to create a chat for mod's and higher :P