Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This adds a command to the processCommand script.
- // argument0 = the command name
- // argument1 = the command
- my_plugin = 'else if string_array[0] == "'+argument0+'"{'+argument1+'}'
- a = string_pos("****", global.commandString)-4
- global.commandString = string_copy(global.commandString, 0, a)+my_plugin+string_copy(global.commandString, a+string_length(my_plugin), string_length(global.commandString)-a)
- object_event_clear(PluginBuffer, ev_user0, ev_user0)
- object_event_add(PluginBuffer, ev_user0, ev_user0, global.commandString)
- ds_list_add(global.commandList, argument0)
- show_message(my_plugin)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement