Hello chaps.. as you seem to be friendly and helpfull people.. I have a request
I am working on a CS Pickup script (mixed pcws) So far I have the teams arrnaged in irc via !addme commands.. and the whole match process if perfectly controlled via amx mod
The only problem i have is a way of getting people to get add themselves to the bot with their wonid as extra information.. this way when they add themselves to a game (!addme) their wonid is pulled from that and then i can send to server from there the rest is easy. But I am not very good with TCL and lack the know-how. Help would be appreciated
pls PM or contact via email or #aon.pickup to get me
Can you not have them type their wonid as a parameter to !addme? Assuming you have a pub bind for !addme, the extra stuff they type is passed in the last parameter to the bind.
Still not sure if I understand what you want. But here is a guess.
1. The users are first added to your bot with a handle and the wonid is stored as XTRA information on the bot and the bots userfile.
2. Everytime the users does "!addme" (i.e. add that user to the game) and that user is recognised by a handle, the wonid is retrieved from the XTRA information.
Last edited by egghead on Thu Jun 19, 2003 10:39 am, edited 2 times in total.
Yah, I've noticed myself this a few hours ago. I've also sent a mail to slennox, but seems he is not around to fix it. I've also noticed that this happens only if you don't have the Notify on bla bla bla thing.. and sometimes it works normaly sometimes the error pops out.. weird..
Once the game is over, the king and the pawn go back in the same box.
1. The users are first added to your bot with a handle and the wonid is stored as XTRA information on the bot and the bots userfile.
2. Everytime the users does "!addme" (i.e. add that user to the game) and that user is recognised by a handle, the wonid is retrieved from the XTRA information.
Spot on from there the details of the game are sent to server (from there I know what im doing with amx scripting) ie.. the details are rcon'd to server via
set rcon [open "|$rcon_path/rcon $rcon_password1 $rcon_address1 $rcon_port1 \"changelevel $pwf_maptopic\"" r]
if I can have the xtra information sent like the $pwf_maptopic is that would be perfect.. that way the players teams can be controlled/forced and many other things from there.