d0s3 0 Posted December 6, 2015 Share Posted December 6, 2015 hello guys. i was wondering if that works with OC i need to have the PLAYERNAME in that place instead of %p currently its like that: someone activates a redstone signal, and that URL is beeing "loaded" buuut, i want to have the nickname of that person that is clicking the button! my current code so far: (line 18) http://pastebin.com/hrmP5fYQ Quote Link to post Share on other sites
0 Gangsir 14 Posted December 6, 2015 Share Posted December 6, 2015 The event returned from a screen touch has the players username as a returned value, unless it's been disabled in the config. Then, just replace %p with whatever variable you assigned it to when you pulled the event. From the wiki: http://ocdoc.cil.li/component:signals#screen Quote Link to post Share on other sites
hello guys. i was wondering if that works with OC
i need to have the PLAYERNAME in that place instead of %p
currently its like that: someone activates a redstone signal, and that URL is beeing "loaded"
buuut, i want to have the nickname of that person that is clicking the button!
my current code so far:
(line 18)
http://pastebin.com/hrmP5fYQ
Link to post
Share on other sites