PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: cHiNgAcHg00k on 04 December, 2003, 19:14:44

Title: Mass msg to OPs and Masters Only?
Post by: cHiNgAcHg00k on 04 December, 2003, 19:14:44
Some scripting guru wanna make me a script so I can mass PM my fellow OPs/Masters only? (If the trigger/command could be "!MassMsgOps" (or if I could change the trigger myself) I'd really apretiate it) :D

Hope you understand me! ;)

Thanx in advance
Title:
Post by: [T-G-T]M@sto on 04 December, 2003, 19:42:31
QuoteOriginally posted by cHiNgAcHg00k
Some scripting guru wanna make me a script so I can mass PM my fellow OPs/Masters only? (If the trigger/command could be "!MassMsgOps" (or if I could change the trigger myself) I'd really apretiate it) :D

Hope you understand me! ;)

Thanx in advance
Why dont you try take a VIP Chat and make it Master Chat - It's easy (i guess)
Title:
Post by: Snoris on 04 December, 2003, 20:04:04
QuoteOriginally posted by cHiNgAcHg00k
Some scripting guru wanna make me a script so I can mass PM my fellow OPs/Masters only? (If the trigger/command could be "!MassMsgOps" (or if I could change the trigger myself) I'd really apretiate it) :D

Hope you understand me! ;)

Thanx in advance

Why dont try do it your self??It not that hard to do...

if (cmd=="!MassMsgOps") then
arg=strsub(arg,1,-2)
SendPmToOps("INFO", ""..arg.."\r\n\r\n/"..user.sName.."")
return 1
end

Something like that...Just add it to ur script and it might work

(depends if ur script is CurUser or just user like this)
//Snoris
Title:
Post by: cHiNgAcHg00k on 04 December, 2003, 20:45:09
I haven't made/tried because I haven't really studied the syntax/language used for scripting the HUB..... (And besides that I have a shitload of other things to do :D exam in 12 days and the curriculum is 1200 pages 8o)

But thanx for the code, I apretiate it
Title:
Post by: cHiNgAcHg00k on 05 December, 2003, 00:27:35
LOL, just found out what the OpChat is for :] :D

Merry Christmas :P
Title:
Post by: Snoris on 05 December, 2003, 12:35:23
QuoteOriginally posted by cHiNgAcHg00k
LOL, just found out what the OpChat is for :] :D

Merry Christmas :P

One word...And one word only......


LOOOOOOOOOOOOOOOOOOOOOOOOOOOOL
:]