SphereCommunity
No move - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: No move (/Thread-No-move)



No move - djazraell - 02-26-2021 10:50 PM

I use Sphere 56b-Nightly
what I want her to do Sphere_region, If there is kill's it won't switch and send back but won't send
src.move 6 ?
[regiontype r_cove_graveyard_1]
On=@Enter
if (<src.kills> > 0)
src.sysmessage @0790 <src.name> <region.name> mezarlikigina giris yapabilmeniz icin Kill'e sahip olmamaniz gerekir ! [<src.kills>]
src.go 2442,1121,8
return 1
else
src.sysmessage @054 Bu alanda
src.sysmessage @030 RECALL & MARK yasaklanmistir.
src.sysmessage @0790 <region.name> mezarligina hosgeldiniz.
endif


RE: No move - golfin - 02-27-2021 12:30 PM

Enter the coordinates to move. x, y.z.
PHP Code:
src.move 6,0,
Or use the go command on a fixed coordinate.


RE: No move - djazraell - 02-27-2021 05:38 PM

(02-27-2021 12:30 PM)golfin Wrote:  Enter the coordinates to move. x, y.z.
PHP Code:
src.move 6,0,
Or use the go command on a fixed coordinate.

Here the correct message appears, but if the player won't enter (kill 1 +), it won't go back (src.move 6.0,0)
PHP Code:
[regiontype r_cove_graveyard_1]
On=@Enter
if (<src.kills> > 0)
src.sysmessage @0790 <src.name> <region.namemezarlikigina giris yapabilmeniz icin Kill'e sahip olmamaniz gerekir ! [<src.kills>]
src.move 6,0,0
return 1
else
src.sysmessage @054 Bu alanda
src.sysmessage @030 RECALL & MARK yasaklanmistir.
src.sysmessage @0790 <region.name> mezarligina hosgeldiniz.
endif

On=@Exit
src.sysmessage @0790 <region.name> mezarlikigindan Cikis Yaptiniz.. 



RE: No move - Kanibal - 03-05-2021 03:39 AM

On=@Enter
if (<src.kills> > 0)
src.sysmessage @0790 <src.name> <region.name> mezarlikigina giris yapabilmeniz icin Kill'e sahip olmamaniz gerekir ! [<src.kills>]
src.move 6,0,0
return 1 <<<<<<<<<<<<<<<<<<<<<<<<<<<?????????
else
src.sysmessage @054 Bu alanda
src.sysmessage @030 RECALL & MARK yasaklanmistir.
src.sysmessage @0790 <region.name> mezarligina hosgeldiniz.
endif

Overriding Hardcoded Commands <<<< Read this wiki