Author Topic: Single user script  (Read 1897 times)

0 Members and 1 Guest are viewing this topic.

Offline chub

  • Member
  • ***
  • Posts: 38
  • Karma: +0/-0
Single user script
« 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.?

PtokaX forum

Single user script
« on: 28 November, 2003, 02:02:39 »

Offline plop

  • Forum God
  • ****
  • Posts: 2 464
  • Karma: +37/-0
(No subject)
« Reply #1 on: 28 November, 2003, 10:39:17 »
Quote
Originally 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
« Last Edit: 28 November, 2003, 10:39:32 by plop »
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

PtokaX forum

(No subject)
« Reply #1 on: 28 November, 2003, 10:39:17 »