SphereCommunity
yell to all clients? [SOLVED] - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Expired/Outdated Versions (/Forum-Expired-Outdated-Versions)
+--- Forum: Sphere 51a Help (/Forum-Sphere-51a-Help)
+--- Thread: yell to all clients? [SOLVED] (/Thread-yell-to-all-clients-SOLVED)



yell to all clients? [SOLVED] - x77x - 02-07-2014 04:25 AM

thought maybe this...


Code:
ONTRIGGER=DCLICK
SRC.PRIVSET 06
SERV.ALLCLIENTS SYSMESSAGE I am online!
SRC.PRIVSET 01
RETURN 1



obviously this is dangerous BUT you can only use serv.allclients at a high plevel...
the problem with the script, theres no TARGET SELF
how can apply without a target hand icon?


ideas anyone?


a way to use the default yell would be awesome!

! your yelling message here!

but it has no RANGE, only close by, hex edit the spheresrv.exe to inscrease the range perhaps? =P


RE: yell to all clients? - Runcuks - 02-07-2014 07:29 AM

serv.b Doesnt work ?


RE: yell to all clients? - x77x - 02-07-2014 07:55 AM

not with plevel 1


gotta be admin to use .serv command


no way around it, that i know of...


thats why im trying to force the plevel changes


RE: yell to all clients? - jdchixin - 07-17-2014 04:53 PM

ONTRIGGER=DCLICK
if <timer>=-1
timer=1
return 1

ONTRIGGER=TIMER
serv.allclients sayu I m online..
timer=-1
return 1

just put item on the ground.


RE: yell to all clients? - x77x - 09-28-2015 04:06 AM

Code:
[601f]
ID=1ae1
//skull
NAME=Shouting Skull
WEIGHT=5
COLOR=green_colors
ATTR=04

ONTRIGGER=DCLICK
if <timer>=-1
var.namex=<SRC.NAME>
src.sysmessage now drop the skull on the ground...
timer=1
return 1

ONTRIGGER=TIMER
serv.allclients SYSMESSAGE <VAR.NAMEX>: I am online..
timer=-1
return 1

CATEGORY=DRAGONS OF TIME ITEMS
SUBSECTION=Stuff
DESCRIPTION=Shouting Skull

too back this couldnt be done with a DCLICK somehow

dropping is a pain in the ass...

what would rule is a patch to make the default yell command work to a LARGE area

*in game*
! hey im yelling here


RE: yell to all clients? - x77x - 09-30-2015 02:06 AM

how can you autodrop this item?

also...

how can you announce your position like the .where command?

ONTRIGGER=DCLICK
if <timer>=-1
var.namex=<SRC.NAME>
var.regionx=<SRC.REGION>
src.sysmessage now drop the skull on the ground...
timer=1
return 1

ONTRIGGER=TIMER
serv.allclients SYSMESSAGE <VAR.NAMEX>: I am online at <VAR.REGIONX>
timer=-1
return 1

REGION??? SECTOR???GROUP???


RE: yell to all clients? - jdchixin - 09-29-2016 03:41 PM

[601f]
ID=1ae1
//skull
NAME=Shouting Skull
WEIGHT=5
COLOR=green_colors
ATTR=04

ONTRIGGER=DCLICK
src.newitem=06020
src.act.link=<src.uid>
src.act.timer=1
remove
return 1

[6020]
ID=0181D
ATTR=0B0

ONTIRGGER=TIMER
serv.allclients sysmessage <link.name> : I am online at <link.region.name>
remove
return 1


RE: yell to all clients? - x77x - 11-16-2016 07:36 AM

BAM!!!

Code:
[601f]
ID=1ae1
//skull %CLIENTLIST%
NAME=Shouting Skull
WEIGHT=5
COLOR=green_colors
ATTR=04
BUYVALUE=100

ONTRIGGER=DCLICK
if <timer>=-1
var.namex=<SRC.NAME>
var.sectorx=<SRC.REGION.NAME>//<SRC.GROUP>
src.sysmessage you drop the skull on the ground...
timer=1
DROP 0601f
SRC.SFX=0042
return 1

ONTRIGGER=TIMER
serv.allclients SYSMESSAGE #0032,3, <VAR.NAMEX>: I am online in <VAR.SECTORX>
timer=-1
return 1

CATEGORY=DRAGONS OF TIME ITEMS
SUBSECTION=Stuff
DESCRIPTION=Shouting Skull