small and simple script (its my first script)
is very usefull for people who are new to IRC and poeple who spent most of there time on IRC..
it allows you to change youre nick quickly
you can choose 4nicks (mian,AFK,FOOD and GAME)
/setmain =sets youre main nick
/setafk =sets youre afk nick
/setfood =sets yourefood nick
/setgame =sets youre game nick
de with alot of help from Noutrious (tnx man :D )
;#### START ####;
on 1: load {
.echo -a QuickNick loaded. Thanks for using.
.echo -a made by hellflame(_tng) with alot of help from Noutrious
.echo -a Commands: /setnick /setafk /setfood /setgame
;Always try to get as short as you can.
.set %mainnick $??="Please enter you main nick:"
.set %AFKnick $??="Please enter you AFK nick:"
.set %FOODnick $??="Please enter you FOOD nick:"
.set %GAMEnick $??="Please enter you GAME nick:"
}
alias setnick {
/set %mainnick $?
/echo 4,1main nick set
}
alias setafk {
/set %AFKnick $?
/echo 4,1AFKnick set
}
alias setfood {
/set %FOODnick $?
/echo 4,1FOODnick set
}
alias setgame {
/set %GAMEnick $?
/echo 4,1GAMEnick set
}
menu * {
Change nick
.Normal:/nick %mainnick
.AFK:/nick %AFKnick
.Food:/nick %FOODnick
.Game:/nick %GAMEnick
}
If this is your first script, look at other codings, how others code, read manual /help /command and more, but as this is your first snippet, i will help.
;#### START ####;
on 1: load {
.echo -a QuickNick by hellflame loaded. Thanks for using.
.echo -a Commands: /setnick /setafk /setfood /setgame
;Always try to get as short as you can.
.set %mainnick $??=\"Please enter you main nick:\"
.set %AFKnick $??=\"Please enter you AFK nick:\"
.set %FOODnick $??=\"Please enter you FOOD nick:\"
.set %GAMEnick $??=\"Please enter you GAME nick:\"
}
alias setnick {
/set %mainnick $?
/echo 4,1main nick set
}
alias setafk {
/set %AFKnick $?
/echo 4,1AFKnick set
}
alias setfood {
/set %FOODnick $?
/echo 4,1FOODnick set
}
alias setgame {
/set %GAMEnick $?
/echo 4,1GAMEnick set
}
menu * {
Change nick
.Normal:/nick %mainnick
.AFK:/nick %AFKnick
.Food:/nick %FOODnick
.Game:/nick %GAMEnick
}
Second, easier way:
menu * {
Change nick
.AFK:/nick $me $+ [AFK]
.Food:/nick $me $+ [FOOD]
.Game:/nick $me $+ [GAMING]
}