PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Shurlock on 01 August, 2004, 01:13:21

Title: Parameters from within a UserCommand
Post by: Shurlock on 01 August, 2004, 01:13:21
Hi people,

I need to have a UserCommand ask me for parameters, like the 'Kick User' will ask me to enter a reason from the right-click menu in the UserList.

How do I get this kind of function activated?

Thanks in advance!

Regards,
Shurlock!
Title:
Post by: ??????Hawk?????? on 01 August, 2004, 02:32:12
try this

user:SendData("$UserCommand 1 3 Kick $<%[mynick]> !kick %[nick] %[line:Enter Reason]||")
Title:
Post by: Shurlock on 01 August, 2004, 12:10:46
Thanks Hawk, Works just fine!  :D