ok guys, to make the shop menu, i decided to use an identifier that is dynamic.
alias testone {
testtwo itworksifitusesthefirstone 1
}
alias testtwo {
var %x $2 ; <- here we say use the second one, should be a one.
var %combined $ $+ %x ; <- so that one directs it to the first one.
var %combined2 . [ [ %combined ] ]
echo %combined2 hi
}
and this works, unless, you take out the period. then the text is just oddly colored. ... why? ... anyways so the shop menu, im working on that. then invintory, then a way to keep track of progress through the singe player story arcs.
an option then i will keep in mind. for now i dont want to make them have picwins to see the map, so im just going to have "maps" you can pick up or buy in the game, and it shows a representation of everything. currently an example is at the bottom of the code.
as an unexpected side effect... reducing the number of ontext significantly increased the speed of the battle processing. that and i now turn off flood protection for the channel im using. using a designated channel. now works much better....
i cant have a flood protection, it sends too much stuff. i have flood protection on mirc option list set to 500 bytes though.... and like 20 lines. also strips color codes on incoming.
extremely useful for another reason, i needed to know how to check for aliasis. for a game script im working on... thanks much for using $isaliase so i could see how to use it.
its a game you play with a bot hosting the code, the picture needs to come through irc?? i dont think picwin (and i couldnt find it to get it anyways) can do that?
this game is like zork, only .. multiplayer... with action based battles... and co-op.... and online.... the map will have to show up in the channel.
actually i should probably group the like commands and aliases better to keep track... the exit / leave thing is just in there while im testing it so it doesnt matter much. its just so i can make it leave without going into mirc since my regular client is icechat. also im new to mirc script cause in icechat i used vbscript ... so im just using the easiest commands i can find.
the only thing i like about the variable, is when you connect, if the variable matches your nick, it means the script has been run in the past, and then it loads again unless you cleared it last time. also it checks a lot of stuff based on the variable set as the current nick to see if it should be messing with your nickname, in case it wasnt what changed it lol. but the $awaytime thing is great to know ill see if i can put it to use.
i dont understand /scon enough to try for that, so i guess the script will be a single connection script for the time being.
i was looking for a way to identify on return from nick|away nicks. this helped me figure out a way when i couldnt get mirc to do an action on a notice from nickserv for some reason.... so thanks.
now i just need to finish it with an on connect and ill be done...
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.