PtokaX forum

PtokaX => Support => Topic started by: m4xx on 06 August, 2007, 15:05:07

Title: Help with linking pls
Post by: m4xx on 06 August, 2007, 15:05:07
Okay so im still trying to figure out this lua language, i want to write a simple script that puts some commands in the right-click hub menu in the order Features\\Links and the Links command must be linked to some info in a text file. in other words if i type !links in MC it brings up this info, i just want to make a shortcut. I also want all users to see these commands not just registered users, so i tried the following script just to see if i can get the "Links" option in the menu, but obviously it wont work, what am i doing wrong?  :-X

function NewUserConnected(user)
user:SendData("$UserCommand 1 3 "..Features.."\\Links")
end