PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Herman on 24 October, 2005, 18:01:29

Title: Need a script
Post by: Herman on 24 October, 2005, 18:01:29
Hi, i need a userlogger whre i define what prefixes it should log (for instance [VIP]User) it needs to log the time and ip and name. Could anyone help me please?
Title:
Post by: Dessamator on 25 October, 2005, 10:45:41
Nice script , Mutor, but this line :
pre,cmd,addy,nick=nil,nil,nil,nil

 ,is not required, since its a local variable it will automatically be nil at the end of the function
Title:
Post by: 6Marilyn6Manson6 on 25 October, 2005, 13:45:56
QuoteOriginally posted by Mutor
stranger yet is, I have no idea why I added it    :D


Mutor.. LooooooooooooL
Title:
Post by: Herman on 26 October, 2005, 18:46:14
Great script mutor, just one thing i thought of....searching a specific profile, for instance i have a [VIP] tag on my vip users...so if i used a search command and entered [VIP] all users with that tag would be listed. Is that possible?
Title:
Post by: Herman on 27 October, 2005, 20:32:56
Seems like the search isnt working properly...it isnt listing only Users with the [VIP] tag....but almost everyone in the log
Title:
Post by: Herman on 28 October, 2005, 03:05:09
NickTags = {
["[OP]"] = 1,
["[PG4E]"] = 1,
["[SU]"] = 1,
["[Master"] = 1,
["[Admin"] = 1,
}
Title:
Post by: Herman on 28 October, 2005, 10:28:55
Thnx, it worked

QuoteQuick question...
Do you not close the tags with a right brackett? ( ']' )

["[Master"] = 1,
["[Admin"] = 1,

Should these be:

["[Master]"] = 1,
["[Admin]"] = 1,


Yeah, i wrote those in there right b4 i posted them here, since i had only tested it with the [PG4E]