What i mean by this is,
Does anyone have a script that does e.g
If i went in X-Chat and typed !nick <nick> the bot will change the nick to that
Thanks,
Adam
Moderator: GeekShed.Net Staff
on *:TEXT:!nick*:#: {
if ($nick != YOURNICK) { msg $chan Sorry $nick $+ , You may not change my nick. }
if (!$2) { msg $chan Sorry $nick $+ , Syntax is !nick <new nick here> }
elseif ($nick == YOURNICK) && ($2) {
nick $2
.timer 1 1 msg $chan Nick has been changed.
}
}
GrimReaper wrote:
- Code: Select all
on *:TEXT:!nick*:#: {
if ($nick != YOURNICK) { msg $chan Sorry $nick $+ , You may not change my nick. }
if (!$2) { msg $chan Sorry $nick $+ , Syntax is !nick <new nick here> }
elseif ($nick == YOURNICK) && ($2) {
nick $2
.timer 1 1 msg $chan Nick has been changed.
}
}
Try that AdamD i just kind of quickly put it together.
I hope it works.
On *:TEXT:!nick*:#:{
if (!$2) .notice $nick Syntax: !nick <new nickname>
elseif ($wildsite != $address($me,2)) .notice $nick Sorry, only my owner can change my nick.
else {
nick $2
.msg $chan Nick changed from $nick to $newnick $+ .
}
}
UncleJohn wrote:On *:TEXT:!nick *:#: {
if ($nick == YOURNICK) || ($address($nick,2) == @YOURHOST) && ($2) {
nick $2
}
elseif ($2 == $me) && ($nick == YOURNICK) || ($address($nick,2) == @YOURHOST) {
ns group MAINBOTNICK PASSWORD
}
}
if ($nick == YOURNICK) || ($address($nick,2) == @YOURHOST) && ($2)
if (($nick == YOURNICK) || ($address($nick,2) == @YOURHOST) && ($2))
Users browsing this forum: No registered users and 11 guests