Skip to content
MSN Addons

Add access in different way

A TG007 community discussion started by bonTy.

Discussion 23 posts
Page 1 of 2
Open
Topic #3451 · 23 published posts · 2,484 views

How do I make my script to add the gate like this *!*123456789@Gatek*

for $me as owner access I know this will add others

$left($address,-10) $+ * like this *!fullgate@Gatekeep*

I use

.sockwrite -tn msn.server. $+ $cid access $msn.get($cid,fullroom) ADD OWNER $left($address,-10) $+ *

so I want to it be like this *!*123456789@Gatek* for $me

 

 

Edited May 1, 2005 3:40 PM by bonTy
* $+ $remove($address($nick,1),eeperpassport) $+ *

added owner access: **!*C11D014A9@GateK*$* indefinitely

this how it add the gate there is 2 *

when I remove the 1st * from ur code it doesnt work and I get this error

* Couldn't add access, OWNER*!*C11D014A9@GateK* is not a valid level

and I figured out another way which is $left($address($nick,1),17) $+ *

but I'd like to know urs as well so let me know the fix please.

Edited May 3, 2005 9:43 AM by bonTy

i wouldnt add owner access to just gatek cus guests can clone ur gatekeeper, just not the passport form soloution add owner to passport

 

* $+ $remove($ial($me).addr,*!*,*,gatekeeperpassport) $+ @*passport

autobox,

am using ur code now

but I am wondering how to make it partial gate instead of the full digits ?

* $+ $remove($ial($me).addr,*!*,*,gatekeeperpassport) $+ @*passport $+ *

like *!*123465789@*Passport

 

Edited May 3, 2005 6:38 PM by bonTy

u can always add owner to * $+ $remove($address($me,5),GateKeeperPassport,*!*,@) $+ @*passport

thanks autobox it works pretty well

no problem, need any other help with anything, ill try and help havent used scripts in like 2 months lol but im still good at'em cus thats my hobby when i have nothing else to do

LOL yaa

I like to do the same things with new ways..

others may say why not adding access normal way $address(nick,1) or so..

but I always like new ways ..

and hard stuff lool..

I use /sockwrite in most of my code..like that

I add access with left and right ways..lool

crazy isnt it

It's good to experiment to see what different ways there are to do the same thing so you can learn what can be more efficient (or simpler more to your liking).

Personally, in this case, I don't think there's much point in removing half of a word then adding a wildcard instead as there aren't any alternatives. Whatever floats your boat I guess...

 

* $+ $replace($right($remove($ial($me).addr,-1),passport,*)

The above will work just the same as * $+ $ial($me).addr but which one is more efficient?

 

I believe both do the same intention lol and both are efficient,

its just the way how it looks like and as I mentioned be4 I like to know and change..

 

What about this way guys

*!*9A020970F@*.*..*$*

how I can do it and whats the dots in there lol

*!* $+ $left($gettok($address(nick,1),1,N),9) $+ @*.*..*$*

 

Nick is whatever you're using to identify the nickname (eg: $nick) and N is the $chr value for @ - I can't access mIRC atm to check the value as it's being a P.I.T.A. until I restart AGAIN

Edited May 10, 2005 6:21 PM by Cleric xtx

 

added owner access: *!*@*.*..*$* indefinitely

not write

I forgot $address adds the exclamation mark.

$gettok($address(nick,1),1,64) $+ @*.*..*$*

 

Bad Idea just adding access for *!*345WRDTDSGFG@Gatek

guests will be able to clone your gatekeeper then.

the same *!*@*.*..*$*

am in groups guests won't be able to join groups

 

Edited May 11, 2005 3:43 PM by bonTy

i thought we discussed this:\ lol

yea autobox we did lol

but am asking for another way

*!*9A020970F@*.*..*$*

 

try

$remove($address($me,1),GateKeeperPassport) $+ *.*..*$*

 

remember to change $me to $nick if you want it to work on other nicks too