Skip to content
MSN

again plz

A TG007 community discussion started by samooh_2003.

Discussion 8 posts
Page 1 of 1
Open
Topic #2354 · 8 published posts · 911 views

hi again sorry i have another quez plz how can i own any one or host him by his gate?

type the following in mirc

 

/help then /auser in the search box

My code does NOT have bugs. It just develops random features.

nop i mean liek this on admim:TEXT:`own*:#:/mode # +q $nick this for own any one by his nick i wanna to owner him but with his gat like `own E75486a@gate

u'll have to code a 'while' loop that'll look all the user's gate in '$chan' then mode him +q in case the gate is matched. You probably will need to set $2- (the gate u'll command) in a variable.

on me:*:join:#:hop #

u mean if i make it on admin:TEXT:`own*:#:/mode # +q $2- will own the match gate ? if u meant that itisnot wroking this for nicks only

it'll be like ;

 

on admin:TEXT:`own*:#:/set %gate $2- (eg; `own 98HK4IGHO)

 

then a while loop that will check the gates in the $chan (channel wich the TEXT event is triggered in)

 

the matching thing will be like;

if (*%gate* iswm $ial($nick($chan,%i)).addr) { mode # +q $nick($chan,%i) }

 

That was the idea on general, u figure it out and build ur own code

on me:*:join:#:hop #

a better way is to do it via nick instead of gate. But only dis advantage with that is you may get the wrong nick. Here is a code

 

 on admin:TEXT:`own *: { /mode +q $2 } 

 

But the name that you do needs to be identical.

he said he want it by the gate, and incase he'd use it with nick, he'd rather use wildcard so he wudnt need to type the full exact nick

on me:*:join:#:hop #