USAGE:
<~Download> !remove test
<&ultrAslan> test
<&ultrAslan> tes
<&ultrAslan> te
<&ultrAslan> t
Have Fun ;)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;!remove script by Download;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;FUN SCRIPT;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;ITS 100% MY OWN WORK;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
on *:TEXT:!remove *:#: {
if ($istok(%remove,ON,32)) {
set %remove $len($$2)
alias harr {
while (%remove >= 1) {
msg $chan $left($2,%remove)
dec %remove 1
}
}
}
}
on *:TEXT:!rem on:#: { set %remove on | msg $chan !remove is now on }
on *:TEXT:!rem off:#: { set %remove off | msg $chan !remove is now off }
=/
this made me laugh tho...
;;;ITS 100% MY OWN WORK;;;;;;;;;
there are so many diff ways of making something like this you can do it like this as well..
#rem on
on $*:TEXT:/^!remove\s(.+)/iS:#: {
if (!%f) {
inc -u4 %f
var %r $len($regml(1))
while (%r >= 1) {
msg # $left($regml(1),%r)
dec %r 1
}
}
}
#rem end
menu channel {
Turn Remove script $iif($group(#rem) = on,Off,On):{
$+(.,$iif($group(#rem) = on,dis,en),able) #rem
msg # !remove is now $group(#rem)
}
}
and you can add more then 1 word
<~napa182> !remove hello to you
<&Sick0> hello to you
<&Sick0> hello to yo
<&Sick0> hello to y
<&Sick0> hello to
<&Sick0> hello to
<&Sick0> hello t
<&Sick0> hello
<&Sick0> hello
<&Sick0> hell
<&Sick0> hel
<&Sick0> he
<&Sick0> h
or if you still only want it for only 1 word then change the (.+) in the text event to (\S+)