Hy
Anywone can help me with a few commands?
I want to add topchaters, hideuser, unhideuser but i don't know lua?
Can u help me?
Thx
QuoteOriginally posted by htb222
Hy
Anywone can help me with a few commands?
I want to add topchaters, hideuser, unhideuser but i don't know lua?
Can u help me?
Thx
Do you want those scripts or just the rightclick?
Cheers
Scripts man! And if someone knows how to make right click menu for Thor i would be pleased. Thx again, you are the masters.
Cya
try clicking this,
Posting And You... (http://home.comcast.net/~benbrausen/Funny/Posting.swf)
as for the right click, sure well do it(if it doesnt already exist) just show us the commands
The commands are in thor 2.0. For that script i wanna to do right-click menu.
Thx
ill teach u how to do it and u can do the rest, heres an example :
-- right clicks command
function NewUserConnected(User)
User:SendData("$UserCommand 0 3 |")
User:SendData("$UserCommand 1 3 Thor\\help$<%[mynick]> !help ||")
User:SendData("$UserCommand 1 3 Thor\\Kick user$<%[mynick]> !kick %[nick] %[line:Reason]||")
User:SendData("$UserCommand 1 3 Thor\\Ban user$<%[mynick]> !ban %[nick] %[line:Reason]||")
User:SendData("$UserCommand 1 3 Thor\\Timeban User$<%[mynick]> !timeban %[nick] %[line:hr:mn] %[line:Reason] ||")
end
OpConnected = NewUserConnected
its simple u just edit what comes after the "UserCommand 1 3" the description of the command and the menu, u just edit whats between that and the "$<%[mynick]>"
then for the commands, u edit what comes after the "$<%[mynick]>" for example !help .
if the command has "arguments", u use %[line:type the description here], if the action is carried out on a nick, type %[nick]
check this link for reference ---> click here (http://dcplusplus.sourceforge.net/wiki/index.php/UserCommand%20command)
GOOD LUCK !!
K man thx
I will try.
cya
Man, a wrote that lines for all comands, but there is another problem. All users have same commands.
Can u help me?
yep, u dont want users to have those?, simple
put it like this :
-- right clicks command
-->>right clicks for users <<--
function NewUserConnected(User)
User:SendData("$UserCommand 1 3 Thor\\help$<%[mynick]> !help||")
end
--OpConnected=NewUserConnected
-->>> right click for ops <<<--
function OpConnected(User)
User:SendData("$UserCommand 0 3 |")
NewUserConnected(User)
User:SendData("$UserCommand 1 3 Thor\\Kick user$<%[mynick]> !kick %[nick] %[line:Reason]||")
User:SendData("$UserCommand 1 3 Thor\\Ban user$<%[mynick]> !ban %[nick] %[line:Reason]||")
User:SendData("$UserCommand 1 3 Thor\\Timeban User$<%[mynick]> !timeban %[nick] %[line:hr:mn] %[line:Reason]||")
end
Thx man! This is great!
C ya
yw, m8