10 Oct 10, 04:47AM
(28 Sep 10, 09:17PM)Luc@s Wrote: Auto ignore script
Auto-ignore players specified in the list (ignored)
/ignoredisable : disable auto ignoring and unignore players
/ignoreenable : enable auto ignoring
In autoexec.cfg
[SELECT ALL] Code:// list of players you wanna ignore, separated by space
ignored = "unarmed |oNe|Undead Undead|oNe| etc."
enable_ignore = 1 // by default, auto ignoring is enabled
// this ignore all players
ignorelist = [
loop i (listlen $ignored) [
echo (concat "Ignoring" (at $ignored $i));
ignore (findcn (at $ignored $i));
]
]
// disable
ignoredisable = [
enable_ignore = 0;
clearignored;
echo "Auto ignore disabled.";
]
// enable
ignoreenable = [
enable_ignore = 1;
ignorelookup;
echo "Auto ignore enabled.";
]
// lookup alias (called automatically each minute)
ignorelookup = [
if (= $enable_ignore 1) [ ignorelist; ]
sleep 60000 [ignorelookup];
]
// make it working automatically
mapstartalways = [
ignorelookup;
]
/where's-the-love proof
EDIT sorry I wanted to post it in scripts, wrong topic :s
what the fucks your problem stop with the subtle shit. if you have something to say to me say it.