Opened 5 years ago

Last modified 5 years ago

#4406 new Task

I realy need help for an applescript

Reported by: orkunkalay@… Owned by:
Component: Colloquy (Mac) Version: 2.4 (Mac)
Severity: Normal Keywords:
Cc:

Description

I need a script which will send message on channel if only there is no one voiced +v. This works well unless no one joins in channel but if there is already someone voiced in channel I dont want it to send the message. Guys I really need your help cuz I dont know how to deal with it :(. thx

property watchedChatRoomz : {"asd"}

using terms from application "Colloquy"
	
	on member joined whoArrived in whichChatRoom
		if watchedChatRoomz contains (whichChatRoom's name) then
			set n to (whoArrived's name)
			if (whoArrived's name) contains n then
				tell whichChatRoom
					send message ("Hi there " & n & " great to see you!")
				end tell
			end if
		end if
	end member joined
	
end using terms from

Change History (1)

comment:1 Changed 5 years ago by zach

  • Type changed from Defect to Task
Note: See TracTickets for help on using tickets.