Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function main()
- {
- AddTrigger EQ1_OnLoggingEnabled "[@datetime@] Logging to 'eqlog.txt' is now *ON*."
- AddTrigger EQ1_AFKOn "[@datetime@] You are now A.F.K. (Away From Keyboard)."
- AddTrigger EQ1_AFKOff "[@datetime@] You are no longer A.F.K. (Away From Keyboard)."
- AddTrigger EQ1_AuctionMsg "[@datetime@] @ChannelFrom@ auctions,@IgnoreLanguage@ '@ChannelWhat@'"
- AddTrigger EQ1_ChannelMsg "[@datetime@] @ChannelFrom@ tells @chat@:@num@, '@ChannelWhat@'"
- AddTrigger EQ1_GroupMsg "[@datetime@] @ChannelFrom@ tells the group,@IgnoreLanguage@ '@ChannelWhat@'"
- AddTrigger EQ1_GuildMsg "[@trash@] @ChannelFrom@ tells the guild,@IgnoreLanguage@ '@ChannelWhat@'"
- AddTrigger EQ1_OOCMsg "[@trash@] @ChannelFrom@ says out of character,@IgnoreLanguage@ '@ChannelWhat@'"
- AddTrigger EQ1_RaidMsg "[@trash@] @ChannelFrom@ tells the raid, @extraspace@'@ChannelWhat@'"
- AddTrigger EQ1_SayMsg "[@trash@] @ChannelFrom@ says,@IgnoreLanguage@ '@ChannelWhat@'"
- AddTrigger EQ1_ShoutMsg "[@trash@] @ChannelFrom@ shouts,@IgnoreLanguage@ '@ChannelWhat@'"
- AddTrigger EQ1_TellMsg "[@trash@] @ChannelFrom@ @MerchantCheck@tells you,@IgnoreLanguage@ '@ChannelWhat@'"
- AddTrigger EQ1_TellMsg2 "[@trash@] @MerchantCheck@.@ChannelFrom@ told you, '@ChannelWhat@'"
- AddTrigger EQ1_YouSay "[@trash@] You say, '@ChannelWhat@'"
- LogReader:RegisterLog["logs/eqlog_*.txt","EQ1_ChatLog"]
- LavishScript:RegisterEvent[EQ1_ChatLog]
- Event[EQ1_ChatLog]:AttachAtom[OnEQ1ChatLog]
- while 1
- waitframe
- }
- atom EQ1_OnLoggingEnabled(string _Line, string _DateTime)
- {
- echo EQ1_OnLoggingEnabled[\"${_Line.Escape}\",\"${_DateTime.Escape}\"]"
- }
- atom EQ1_AFKOn(string _Line, string _DateTime)
- {
- echo EQ1_AFKOn()
- }
- atom EQ1_AFKOff(string _Line, string _DateTime)
- {
- echo EQ1_AFKOff()
- }
- atom EQ1_SayMsg(string _Line, string _DateTime, string _ChannelFrom, string _IgnoreLanguage, string text)
- {
- echo EQ1_SayMsg
- if ${InnerSpace.Build}>=5607
- {
- uplink speak "${_ChannelFrom.Escape} says, ${text.Escape}"
- }
- }
- atom EQ1_YouSay(string _Line, string _DateTime, string text)
- {
- echo EQ1_YouSay[\"${_Line.Escape}\",\"${_DateTime.Escape}\",\"${text.Escape}\"]
- if ${InnerSpace.Build}>=5607
- {
- uplink speak "You say, ${text.Escape}"
- }
- }
- atom OnEQ1ChatLog(string filename, string action, string text)
- {
- echo "OnEQ1ChatLog[\"${filename.Escape}\",\"${action.Escape}\",\"${text.Escape}\"]"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement