PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: [NL]trucker on 03 December, 2003, 18:02:29

Title: user immune script?
Post by: [NL]trucker on 03 December, 2003, 18:02:29
hello folks


is there a way to make a script where in i can add names that can only get removed by a me?

meaning a script that prevent users to get kicked or banned or tempbanned by other ops

and if someone tries to do one of these things gets a message back in pm.
something like this user isnt gonna be removed as he is a special guest from the hubowner.

and that sends a pm to hubowner with who tried to kick that user.


so in fact this script would be a kind of protectionscript.
where only i could add/remove names in.

tia peter.
Title:
Post by: [NL]trucker on 04 December, 2003, 00:11:09
a big PLEASE to the scripters here could someoone try to make me a bot like this ??????


tia peter.
Title:
Post by: plop on 04 December, 2003, 01:31:07
it's posible but again better 2 ask optimus as you are using his script.
that protection has 2 run before robocop can do the kick/ban otherwise it won't work.
so best is if robocop handles it.

plop
Title:
Post by: [NL]trucker on 04 December, 2003, 02:21:27
Quotethat protection has 2 run before robocop can do the kick/ban otherwise it won't work.it's posible but again better 2 ask optimus as you are using his script.
so best is if robocop handles it

i,m sorry to dissapoint you plop but i,m not using robocop

come into my hub and see what i,m using.

[02:15:21] <[GUARD]>

       Current script information:

      ? Script Name:   PzoZyZBoT?
      ? Script Version:   v3.7
      ? Script Author:   JenZen?


so .......
Title:
Post by: plop on 04 December, 2003, 02:46:14
ow my mistake.
i'll see what i can do but i'm a bit busy here so i hope some1 else can do it.
main this is that the imune script has 2 run before pzozy and has 2 return 1 incase of a kick/ban on those users.

plop
Title:
Post by: [NL]trucker on 05 December, 2003, 00:10:36
np plop

i just hope you can make time for it .


main this is that the imune script has 2 run before pzozy and has 2 return 1 incase of a kick/ban on those users.


why run before pzozzy perhaps an idear to let the script just block it.

i mean let the script detect of the username is in the list of the immune user and then if pzozzy gets the order to kick it blocks pzozzy to do so .

but as i said in another post i,m even far away of even beeing a noob.
Title:
Post by: plop on 05 December, 2003, 20:08:34
maby this flow chart can help you 2 see why and how the script should work.
data in
   |
check if it's a kick/ban ----------
   |                                            |
yes then                            no pass data 2 pzozy
check name                       return 0
   |
   |
is name imune-------------------
   |                                         |
yes stop data                    no pass data 2 pzozy
going out                           return 0
so user won't be
kicked/banned
return 1
plop
Title:
Post by: Guibs on 06 December, 2003, 04:21:06
Hi there,

That one could maybe help:
idea to how to make a immune script (http://board.univ-angers.fr/thread.php?threadid=681&boardid=15&styleid=1&sid=c8a37ef60ae4bf817fbeb486ba1e995d&page=1#1)

This is just an example to make some immuned users,... so you have to do also your own code, using this script-example,...

l8tr,, ;)