Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
help
Goto page Previous  1, 2
 
Post new topic   Reply to topic Printable version
 View previous topic  Anyone have a simple... Post :: Post The moron tramps on...  View next topic  
Author Message
SOS
Server Help Squatter


Joined: Dec 02 2002
Posts: 329
Offline

PostPosted: Sun Jan 19, 2003 11:41 pm    Post subject: Reply to topic Reply with quote

Rifle: You want !enable to toggle it?? Ewwww I hate toggling commands

Nikon: Why didn't they work? They all do. The last one doesn't work if the string is not an integer...
"5 to spec at 5" is why... you'll have to splice the string up to get the numbers.
You'll probably be better off with a different command syntax, since cutting up strings is always messy.
_________________
3y3 4m l33t h4x0r
j0! 3y3 4m t4lking to j00!
fux0red 5cr1pt k1dd13.
-"l33t h41ku"
Back to top
View users profile Send private message Add User to Ignore List Send email
Nikon F5
Newbie


Gender:Gender:Male
Joined: Jan 17 2003
Posts: 20
Offline

PostPosted: Mon Jan 20, 2003 8:39 am    Post subject: Reply to topic Reply with quote

well, i figured it out. now i have

Code: Show/Hide
   
                if(c->check("enable"))
{
   onoff= atoi(c->final);
   String s= "Removing players with";
   s += onoff;
   s += " deaths";
   sendPublic(s.msg);
}


that works, but now my bots not accepting any commands. bah, stupid bots. grav_bigger.gif
Back to top
View users profile Send private message Add User to Ignore List
Nikon F5
Newbie


Gender:Gender:Male
Joined: Jan 17 2003
Posts: 20
Offline

PostPosted: Mon Jan 27, 2003 9:31 pm    Post subject: Reply to topic Reply with quote

how do i do something, then wait 10 seconds and do something else? like if i want to the bot to say "*arena Game begins in 10 seconds..." and then 10 seconds later for it to say "*arena GO GO GO!!!" how would i do that?

edit:i figured out how, no thanks to any of you. sa_tongue.gif
_________________
clouds that thunder dont always rain
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 678 page(s) served in previous 5 minutes.

phpBB Created this page in 0.456545 seconds : 28 queries executed (95.4%): GZIP compression disabled