• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

GlobalEvent Tereporting all players to temple by command

Lua:
function onSay(cid, words, param, channel)
	local temple = getPlayerTown(cid)
	for _, cid in ipairs(getPlayersOnline()) do
		doTeleportThing(cid, temple)
		doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "All players have been teleported to the temple.")
		doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS)
	end
return TRUE
end

not tested
 
Back
Top