#Am i him?

3 messages · Page 1 of 1 (latest)

hexed olive
#

checks if your the targeted player
credit to .index for kode

#

#DEFINE name "dot" ; target player
#DEFINE length name.length ; length of target player name

LABEL start

; init variables

SET Player.SelId Player.LocalId

; check if player name is target name

LABEL is player target
SET Player.Control 0 ; reset name

#FOR i 0 length-1 ; loop over the name
#DEFINE ch name[i]

EQUAL R6 Player.Name '#ch' ; if name matches
NOT R6 R6               ; *if name doesnt match
END

SET Player.Control 2 ; step name to next character

#END

EQUAL R6 Player.Name 0 ; if we reached the end
IF R6 player is target

END

LABEL player is target

; your code gets put here

ornate field
#

no bro you just stole index’s code