SphereCommunity
Region sysmessage - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Region sysmessage (/Thread-Region-sysmessage)



Region sysmessage - Vendetta - 01-15-2013 11:15 AM

Simple question
difficult to find solution


i wish to give a message to whol a region
this was a good idea
SERV.MAP(1400,1750,0).REGION.ALLCLIENTS sysmessage Hi Clients!

if i'm in that region and i use
REGION.ALLCLIENTS sysmessage Hi Clients!
it works

but using the serv.map doesnt.
is there a way to get a region a sysmessage even with the region defname?

Thank all


RE: Region sysmessage - Mordaunt - 01-15-2013 11:26 AM

Code:
IF (STRMATCH(*your_region*, <src.region>))
    src.sysmessage hello everyone in your_region
endif



RE: Region sysmessage - Vendetta - 01-15-2013 11:27 AM

too complex. thank you
already found
.serv.area.a_area_defname.ALLCLIENTS sysmessage Hi Clients!