T432 Earth Worm
Posts : 10 HWPoints : 141 Join date : 2011-03-04
| Subject: Simple Power Assigning Script Sat Mar 05, 2011 12:35 am | |
| One of first scripts I wrote, very very basic to advance programmers, but for someone new could help: - Code:
-
on op:TEXT:!*:#: { if ($1 == !op) { mode $chan +o $2 | auser op $2 } if ($1 == !hop) { mode $chan +h $2 } if ($1 == !voice) { mode $chan +v $2 } if ($1 == !deop) { mode $chan -o $2 } if ($1 == !dehop) { mode $chan -h $2 } if ($1 == !devoice) { mode $chan -v $2 } } Really simple script that if you don't have an autobot to do this stuff for you is really simple. | |
|