User Tools

Site Tools



discordchat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
discordchat [2019/04/22 08:51]
mochi custom channels, listen, colors, custom commands, mention keywords
discordchat [2019/04/22 11:13] (current)
mochi [Custom Commands]
Line 152: Line 152:
  
 **Returns your current HP** **Returns your current HP**
-Prefix: hp + 
-Code: <code lua>​return Player.hp.current</​code>​+Prefix: hp 
 + 
 +Code: <code lua>​return Player.hp.current</​code>​
  
 **Returns your current map and position** **Returns your current map and position**
-Prefix: pos + 
-Code: <code lua>​return GetMapName(Player.localmapid)..":​ <"​..Player.pos.x..",​ "​..Player.pos.y..",​ "​..Player.pos.z..">"</​code>​+Prefix: pos 
 + 
 +Code: <code lua>​return GetMapName(Player.localmapid)..":​ <"​..Player.pos.x..",​ "​..Player.pos.y..",​ "​..Player.pos.z..">"</​code>​
  
 {{::​customcommands.png?​nolink&​400|}} {{::​customcommands.png?​nolink&​400|}}
discordchat.txt · Last modified: 2019/04/22 11:13 by mochi