i need script rightclicer and for profiles what i want to use him and i can add my commands and choise what command what profile can to see that command and use same one can to help me?
Try this
-- RightClicker by Rincewind
SendTo = { --> 1=on/0=off
- = 1, -- Masters
[1] = 1, -- Operators
[2] = 1, -- Vips
[3] = 0, -- Regs
[4] = 1, -- Moderator
[5] = 1, -- NetFounder
[-1] = 0, -- Users
}
NewUserConnected = function(user)
if SendTo[user.iProfile] == 1 then
if user.bUserCommand then
user:SendData("$UserCommand 1 3 Sub Menu\\Command $<%[mynick]> !command||")
end
end
end
OpConnected=NewUserConnected
If u want to send it to a certain profile add an if statment like this...
function OpConnected(user)
if user.iProfile == [COLOR=orangered]0[/COLOR] -- >number of the profile ( in this case master)
user:SendData("$UserCommand 1 3 Test\\!offline - Offline message$<%[mynick]> !offline %[Msg]|")
end
end
and if u want to send the right click the same cmds to a master or operator do this (4 example)
function OpConnected(user)
if user.iProfile == 0 or user.iProfile == 1 then
user:SendData("$UserCommand 1 3 Test\\!offline - Offline message$<%[mynick]> !offline %[Msg]|")
end
end
More info here (http://board.univ-angers.fr/thread.php?threadid=4495&boardid=30&styleid=1&sid=829d5a80ad4ddf5a493a08c5a9c4e383)
Cheers...
tnx bro !!