Page 1 of 1

Writing my Own Script

Posted: Sun Oct 29, 2006 3:51 pm
by lumberpat
Hi,

I am very naive about writing scripts and I have searched on the internet for a guide but found none (or at least none simple enough for me to use)

If someone knows of a site (or wants to tell me) I'd appreciate it!

Posted: Sun Oct 29, 2006 4:33 pm
by Wimpeh
http://velocity.lunarpages.com/scripting.html

that site is pretty handy but ofc im always willing to help out a little

Posted: Mon Oct 30, 2006 2:06 pm
by gobbo
a script <b>oh my gosh</b> pat wants to become a coder ...:P just like <font color=#FF33CC><b>teh pwnz0rer</b></font> ( with a H ) :P

Posted: Mon Oct 30, 2006 3:34 pm
by Wimpeh
oh su :<

Posted: Mon Oct 30, 2006 3:46 pm
by Klepto
Are we talking about ET scripts? I know a thing or two about ET scripts. What do u want to do with them?

Posted: Mon Oct 30, 2006 4:45 pm
by lumberpat
oh, all I basically want is customized vsays and binds and stuff :) Also, and I dunno if it's possible, but perhaps a way to have a set of binds for each name i have.

Posted: Mon Oct 30, 2006 5:34 pm
by Wimpeh
is possible

Posted: Mon Oct 30, 2006 8:50 pm
by Squee
lumberpat wrote: perhaps a way to have a set of binds for each name i have.
yeah thats what i wanted to do but i coudlnt figure it out.. so i gave up

Posted: Mon Oct 30, 2006 10:19 pm
by f@tal
Dont know too much about this but couldnt u just make a script for each name thats the same except whatever u want changed and just exec that one whenever u need to change names

Posted: Tue Oct 31, 2006 4:47 am
by m0pX
So you want multiple name styles, and a matching vsay style to go with each one? That's not too difficult, bit time consuming though.

Posted: Tue Oct 31, 2006 10:08 am
by Klepto
It's just like f@tal says, my script has binds that change according to map or class, it's the same principle for changing by name. Time for a trivial untested example...

Code: Select all

set name_1_chat "say I am called name1"
set name_2_chat "say I am called name2"
set use_name_1 "name name1; bind o vstr use_name_2; bind p vstr name_1_chat"
set use_name_2 "name name2; bind o vstr use_name_1; bind p vstr name_2_chat"
vstr use_name_1
O will toggle the name, P will say the message.

Posted: Tue Oct 31, 2006 1:11 pm
by Squee
oh your confused me.. ill just have to live with it.. its not like i play much anyways.. :P

Posted: Tue Oct 31, 2006 1:13 pm
by Wimpeh
i've wrote the script you both want once.., it changed all the vsays and anything, but i didnt back up my config and now its lost gg.

Posted: Tue Oct 31, 2006 1:16 pm
by Squee
awww that sucks.. thanks anyways.. :( :)

Posted: Tue Oct 31, 2006 5:33 pm
by -=[MC]=-SCREAMER
i got diff name scripts , i just made 2 configs with diff names but the same binds
then changed the colours to the corresponding name
change name , changes the colours , works well
i can do 1 like that if thats what u mean

Posted: Tue Oct 31, 2006 7:58 pm
by Squee
yeah where you can bind your name to a key.. and when you do that it changes all your binds to diffrent colors to match that name..