- 28 Mar, 2000 4 commits
-
-
Unknown User authored
-
Finn Wilcox authored
Fixed another memory leak in the VAR_DESTROY macro (used by 'unset').
-
Chris Fry authored
More bug-fixes (mem leaks etc..) - added the 'strcatc' routine in strings.c with appends a char onto a string - beware - its *extemely* manky, but its only used once atm, and couldn't be bothered to fix it :) Fry
-
Chris Fry authored
Removed username tab-completion for now - may put a special flag in to toggle it, and put in a user command. It really buggers up pasting code with tabs in :/ More Tnargian etc.. Fry
-
- 24 Mar, 2000 4 commits
-
-
Chris Fry authored
So that Zod's are actually logged now any loginfo broadcasts made, using 'raw' mode are now logged as 'MsgBcast's in the log. For example: broadcast(1, "\03301%s has just entered the board.",user->name); will not log, but broadcast(0x101, "\03314You hear a boing in the distance"); will be logged... Fry
-
Chris Fry authored
Changed the 'changeinfo' stuff around. now only prints added/removed flags to screen. Use by calling new routine: show_change(oldstring, newstring, formatstring, ...); Fry
-
Chris Fry authored
Woohoo! more generic Tnargian! Fry
-
Chris Fry authored
Updated all the 'user edit' stuff to show the old status of flags where needed. Also removed the 'clear ignorelist' chatmode, as this was silly, and have now stuck it in as a user flag (!user clearignore <user>). More stuff in the tnarg filter - I have added the FIRST GENERIC RULE!! wow! Tnarg being consistent! :) Fry
-
- 22 Mar, 2000 5 commits
-
-
Chris Fry authored
Hmm.. actually added it :) Fry
-
Chris Fry authored
Updated Debates room with final decisions - even though no-one will look at it :) Fry
-
Chris Fry authored
Changed 'summon' to work in all rooms in mudmode - not many ppl have summon anyway. Fry
-
Chris Fry authored
Updated gag filters... Fry
-
Chris Fry authored
Bah. Fixed the bug in the helpfile Fry
-
- 20 Mar, 2000 6 commits
-
-
Chris Fry authored
God fed up of tab-complete usernames being all in lowercase, so put it back into normal case. This probably broke something, but it looks nicer... Fry
-
Chris Fry authored
A few slight changes to the gag stuff, and _fixed_ the username tab-completion now - did an snprintf wrong... talk mode tab-completion now tab-completes *all* users, rather than just those logged on... (be very wary of just hitting '<tab><tab>y' :) Fry
-
Steve Hill authored
Oops - I got a couple of the rules the wrong way around... And why does CVS claim I've changed alias.h?? - Steve
-
Steve Hill authored
new scripting function - UNIXTIME <variable> - sticks the current unixtime in the variable. removed crap buffy gag and replaced it with a cool Furby gag :) - Steve
-
Chris Fry authored
Fixed the secondary argument tab-completion permissions, eg, if you dont have su, before: !user <tab><tab> worked... however, now it wont! so tnarg can stop complaining :) Also, username tab-completion has now been implemented, so FireFury, *you* can now stop complaining... Fry
-
Chris Fry authored
Fixed all the snprintf bugs, so mw should now work properly on the new kernel... Fry
-
- 17 Mar, 2000 2 commits
- 15 Mar, 2000 4 commits
-
-
Finn Wilcox authored
Fixed a memory leak in the VAR_DESTROY macro (used for 'unset' instruction).
-
Chris Fry authored
Ermm... here's the correct fixed version :) Fry
-
Chris Fry authored
Now fixed the conflicts between versions :) Fry
-
Finn Wilcox authored
Moved script instructions into new file, script_inst.c, which is used for both the threaded and non-threaded versions. Added local variables to the threaded version. Prefixed the thread instructions with 'thread' e.g. to create a thread the code is now: "thread create <var> func arg..." Added new modules for the command table, and moved the definition of 'chattable' into script_inst.c
-
- 14 Mar, 2000 1 commit
-
-
Chris Fry authored
Sorry about the extra chnages finnw. You shouldn't need to make many changes. About the only thing I did that will effect you was to remove 'list_bind' from script.c and tscript.c - the changes I thought I'd committed earlier. The rest of the changes are some changes in the way alias' and binds work again, though _should_ be fairly transparent changes. Fry
-
- 13 Mar, 2000 4 commits
-
-
Chris Fry authored
Complete alias and bind rewrite.... New commands '.alias', and '.unalias' create and remove aliases for current session (got knows why, but to test I made them, and left them in) If you have the script priv, commands '.bind', and '.unbind' are also available, to do the same thing with binds as to aliases. If you '.load .mwrc' or whatever, and an alias is reloaded, rather than making another alias, will redefine like binds now. Moved most alias/bind stuff out to alias.c file to make it easier - and make seperate functions, for adding and removing, to drastically reduce reused code. Fry
-
Chris Fry authored
Fixed the random bug in scr_rand too ... Fry
-
Chris Fry authored
Fixed the random number generator - to actually generate random numbers! More on the warez filter - its about finished now! :) Fry
-
Chris Fry authored
Changed the gag structure, to remove an obsolete entry (ie, could be fixed elsewhere) - no easier to add gags Fry
-
- 10 Mar, 2000 6 commits
-
-
Finn Wilcox authored
Fixed a memory leak with local variables (names were never freed)
-
Finn Wilcox authored
Added 2 new variable-handling macros in script.h: VAR_SEARCH_2(op, local_list, global_list, name) searches the current local variable list for a variable, and if that fails, search the global variable list. Any variables created using `op' will be added to the global list. VAR_STR_PREPARE_2(op, local_list, global_list, name, default) search both local and global lists, like VAR_SEARCH_2, but ensure that a variable exists, creating one with the default value if necessary. This variable can then be set with VAR_STR_UPDATE. Added 'local' instruction, which takes one or more local variable names, and creates local variables. These variables are destroyed when the current function returns. The only new function is scr_local, although various others have been modified to use the new macros. These macros should be used for new script commands, so that local variables are searched when required. Fixed a dangling-pointer bug in scr_strcat() - strings created by strcat (ie when the variable did not exist) were immediately freed. Fixed various script debug messages which showed the wrong function names Fixed a bug in alarm.c which sometimes caused the alarm signal handler to revert to the default after handling a signal whose event had been cancelled. Modified the 'warez' messages slightly -
Chris Fry authored
A much more modified 'warez' filter :) Fry
-
Chris Fry authored
A really horrible warez kiddie gag :) Fry
-
Finn Wilcox authored
Added event instruction 'body' which strips prefixes added by timestamp, spy and global, from the message.
-
Chris Fry authored
I'm sure I've done _something_ to it - but its listing all the files again, rather than just modified ones :( Anyway, its probably only more tnargian... Fry
-
- 09 Mar, 2000 2 commits
-
-
Chris Fry authored
$^'s now have an optional argument that specifies the start argument. For example: $^ - $2..$n $^2 - $2..$n $^10 - $10..$n $^-3 - } $^Fish - } all invalid, as returned integer less than 2, so gives: $2..$n $^0 - } Fry
-
Chris Fry authored
Added colours to strfry - couldn't be bothered to store the colour for every character, then write my own strfry function - this _could_ make the string hidously long if someone (say firefury :) ran their 'colourful letters' script... ... so I just stuck the original colours back where they were, and left it at that - looks manky, but hey - at least you know colours are working! :) Fry
-
- 08 Mar, 2000 2 commits
-
-
Chris Fry authored
Woohoo!! 'swab' now has a colours in it. I had to strip out the colours, then merge the new string with the old one. manky huh :/ only works with string of the same length though (minus the colour chars). Eg, only suitable for swapping chars around - cant remove/add any :( May write a better one later... Just colours in strfry to go now - that'll be annoying :( Fry
-
Chris Fry authored
Right. For now tye strfry and swab gags have just had colours disabled. If anyone can find an easy (or maybe not so easy) way of keeping the colours in them, then please do it, or tell me :) Fry
-