#<none>
1 messages · Page 1 of 1 (latest)
if length of {_i} is between -1 and 4:
stop
if length of {_i} is between 3 and 7:
set {c} to "k"
if length of {_i} is between 6 and 10:
set {c} to "m"
if length of {_i} is between 9 and 13:
set {c} to "b"
if length of {_i} is between 12 and 16:
set {c} to "t"
return {c}
command /num <integer>:
trigger:
getCardinal(arg-1)
wait 1 second
message "%{c}%"
added return, gonna remove message but then it dosent send anything. still outpouts <none>
No, send “%functionWithReturn()%”
Wherever you call the function will be replaced with the return
Like this ```function example(n: number, v: number) :: number:
return {_n} * {_v}
on death:
if example(10, 5) = 50:
send “%example(4, 3)%” to victim```
i tried that, it still returns none
what