PtokaX forum

Archive => Archived 4.0 boards => Finished Lua 4 scripts => Topic started by: chub on 28 November, 2003, 02:02:39

Title: Single user script
Post by: chub on 28 November, 2003, 02:02:39
I am wondering if it is possible to assign a script/function to a single user/nickname. For instance the !kick function? User beeing plain userstatus without other privs.?
Title:
Post by: plop on 28 November, 2003, 10:39:17
QuoteOriginally posted by chub
I am wondering if it is possible to assign a script/function to a single user/nickname. For instance the !kick function? User beeing plain userstatus without other privs.?
ofcourse, a scripted kick witch checks for user level so op's can use it and make a or 2 also check if it is that 1 user you would like 2 be able 2 dom the kicking.
if cmd=="!kick" and (user.iProfile <=1 or user.sName == "kicking_nick") then

plop