plz how can i do the command from the script
Ex:
`q <nick>
script owner the nick but i wrote the comand from the script
A TG007 community discussion started by samooh_2003.
plz how can i do the command from the script
Ex:
`q <nick>
script owner the nick but i wrote the comand from the script
Here someone set to admin list can whisper script `q (nick) or via main room `q (nick).
on *admin:text:*`q*:*: {
if ($me isowner $chan) {
mode $chan +q $2
}
}
"Diplomacy is the art of saying 'Nice doggie' until you can find a rock".-Will Rogers
thnx for answer but u got me wrong that if i added my self then i wanna use the command but i am asking how can i do it from inside da script like the nicklist popup i use it for own or host and so on but i wanna write command from the script and let script do it not user who say `q but me from inside
so no one got wt i saied or wt
thnx for answer but u got me wrong that if i added my self then i wanna use the command but i am asking how can i do it from inside da script like the nicklist popup i use it for own or host and so on but i wanna write command from the script and let script do it not user who say `q but me from inside
So you wanna +q ppl from inside the script using a comnmand instead of the nicklist? like "mode $chan +q $$1" Is so..
u can use This
Alias qup { mode # +q $1 }
Now u can type in ur script /qup <nick> and u will +q him
You mean you want to type the command through your script, i.e. `q Ryan0r
To do this your gonna have to do it through the input.
on *:INPUT:#: {
if ($left($1-,1) != /) {
if ($1 = `q) { var %nick $2 | mode $active +q %nick }
}
}
why var %nick $2 ?
why not just mode $active +q $2 directly ?
on me:*:join:#:hop #
on *:INPUT:#: {
if ($left($1,1) != /) {
if ($1 = `q) && ($2) { mode $active +q $2 }
}
}
My code does NOT have bugs. It just develops random features.
whatever works...
on *:INPUT:#: {
if ($left($1,1) != /) {
if ($1 = `q) && ($2) { mode $active +q $2 }
}
}
on *:INPUT:#: {
if ($left($1,1) != /) {
if ($1 = `o) && ($2) { mode $active +o $2 }
}
}
it is working alone good and if i changed it with +o it is working 2 but if there more than one with different mode doesnot work just 1st it is working and the all doesnot so how can i do it for more than one?
on *:INPUT:#: {
if ($left($1,1) != /) {
if ($1 = >own) && ($2) { mode $active +q $2 }
if ($1 = >host) && ($2) { mode $active +o $2 }
}
}
thnx this is the code for wt i asked now it is working ...thnx all
Sign in to reply or start a new topic where your account has permission.