ChatChannel Script!
I have searched for this script like I do with all scripts Im looking for, but without any results.
Im currently creating a a server with different Races, and I got the brilliant idea to make each Race have their OWN ChatChannel, exactly like Rook have their own advertising channel for vocation "NONE".
I tryed to use that and add "ELF" as for example without results, I did ofcourse remove myself as a GM account as they can open all channels.
I would like Vocation 1-4 to only be able to open one channel and 5-7 Another.
One example to make it work is fine, I'll make the rest.
This is the top of rook advertising, Im open to use ANYTHING that works.
Kind Regards,
Eldin.
PS: Advertising Channel is old Trade Channel, right?
I have searched for this script like I do with all scripts Im looking for, but without any results.
Im currently creating a a server with different Races, and I got the brilliant idea to make each Race have their OWN ChatChannel, exactly like Rook have their own advertising channel for vocation "NONE".
I tryed to use that and add "ELF" as for example without results, I did ofcourse remove myself as a GM account as they can open all channels.
I would like Vocation 1-4 to only be able to open one channel and 5-7 Another.
One example to make it work is fine, I'll make the rest.
This is the top of rook advertising, Im open to use ANYTHING that works.
Code:
function canJoin(cid)
return getPlayerVocation(cid) == VOCATION_NONE or getPlayerAccountType(cid) >= ACCOUNT_TYPE_SENIORTUTOR
end
Kind Regards,
Eldin.
PS: Advertising Channel is old Trade Channel, right?