User Tools

Site Tools


script:world_event:isextremitymode

For example:

–Judge whether it is extreme mode

local result=World:isExtremityMode()
if result==0 then--if it is extreme mode
	Chat:sendSystemMsg("Currently in extreme mode!")
else--if it is not extreme mode
	Chat:sendSystemMsg("This is not the extreme mode!")
end

If you have any questions about Developer Tools, feel free to join our official discord server Mini World Global DEV discord

script/world_event/isextremitymode.txt · Last modified: 2024/05/27 13:49 by don