SphereCommunity
.telenextchar [for admins] :) - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Requests (/Forum-Script-Requests)
+--- Thread: .telenextchar [for admins] :) (/Thread-telenextchar-for-admins)



.telenextchar [for admins] :) - Lazarus - 08-16-2012 07:31 AM

Any can give to me something like .telenextchar
to go teleport between the people in .admin to control the people ^_^?

IM A F*** COP Tongue

thank you


wish you understand me what i want, i don't speak good enlgish.


RE: .telenextchar [for admins] :) - Gyros - 08-16-2012 10:07 AM

Code:
[plevel 6]
telenextchar


[function telenextchar]
if (<src.ctag.whichone> >= <serv.clients>)
src.ctag.whichone 00
return 1
endif
if (<src.ctag.whichone> == 0)
src.go <serv.client.0.p>
src.ctag.whichone 1
return 1
else
src.go <serv.client.<src.ctag.whichone>.p>
src.ctag.whichone += 1
return 1
endif



RE: .telenextchar [for admins] :) - Lazarus - 08-16-2012 12:53 PM

(08-16-2012 10:07 AM)Gyros Wrote:  
Code:
[plevel 6]
telenextchar


[function telenextchar]
if (<src.ctag.whichone> >= <serv.clients>)
src.ctag.whichone 00
return 1
endif
if (<src.ctag.whichone> == 0)
src.go <serv.client.0.p>
src.ctag.whichone 1
return 1
else
src.go <serv.client.<src.ctag.whichone>.p>
src.ctag.whichone += 1
return 1
endif


Thanks! rly! Smile


RE: .telenextchar [for admins] :) - Extreme - 08-16-2012 02:02 PM

Code:
[FUNCTION TELENEXTCHAR]
IF <EVAL <TAG.TELENEXTCHAR>+1> >= <SERV.CLIENTS>
TAG.TELENEXTCHAR 1
ELSE
TAG.TELENEXTCHAR ++
ENDIF
GO <SERV.CLIENT.<EVAL <dTAG.TELENEXTCHAR>-1>.P>
RETURN 1



RE: .telenextchar [for admins] :) - Lazarus - 08-16-2012 02:12 PM

(08-16-2012 02:02 PM)Extreme Wrote:  
Code:
[FUNCTION TELENEXTCHAR]
IF <EVAL <TAG.TELENEXTCHAR>+1> >= <SERV.CLIENTS>
TAG.TELENEXTCHAR 1
ELSE
TAG.TELENEXTCHAR ++
ENDIF
GO <SERV.CLIENT.<EVAL <dTAG.TELENEXTCHAR>-1>.P>
RETURN 1

Thanks to you too ^_ ^

rly